/

CVE-2026-49994

Severity:

CRITICAL RISK

(9.1)

Missing Authentication (CWE-306) in Bluehood API Endpoints

CVE-2026-49994

Deferred

Vulnerability type

Category:

Missing Authentication

CWE:

CWE-306, CWE-862

Impact:

Unauthorized Data Access and Application State Modification

Severity:

CRITICAL RISK

(9.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Bluehood's API handlers did not enforce authentication when dashboard authentication was enabled, allowing network-reachable attackers to access protected Bluetooth monitoring functionality without a session cookie. An attacker could read tracking data and modify application settings, device groups, and per-device notes.

Affected context

The issue occurs in Bluehood deployments where authentication is enabled but the dashboard's /api/* handlers do not apply the same session validation as the HTML page handlers. The affected surface includes settings, devices, groups, and per-device endpoints, including device notes, when the dashboard port is reachable by an unauthorized network user.

Exploit preconditions

  • Attack surface: Bluehood dashboard API endpoints
  • Required access: Network connectivity to the dashboard port; no valid session cookie is required
  • Trigger point: Requests to unauthenticated /api/* handlers
  • Why exploitation is possible: API routes omit the authentication checks applied to the corresponding HTML handlers, allowing requests to be processed without verifying the caller's identity

Why this happens

The underlying flaw is inconsistent access-control enforcement between related web routes. Authentication was applied to page handlers but omitted from API handlers, allowing sensitive operations to be reached without a valid session.

This maps primarily to CWE-306: Missing Authentication for Critical Function and also relates to CWE-862: Missing Authorization, because protected data and state-changing operations were exposed without an effective identity and permission check.

Potential impact

  • An attacker may read Bluetooth tracking and device data
  • An attacker could modify application settings such as heartbeat URLs and retention values
  • Device groups and per-device notes may be altered without authorization
  • Monitoring integrity could be reduced or data could be manipulated
  • A broader compromise could occur if modified settings influence trusted downstream systems

General mitigation guidance

Mitigation generally focuses on enforcing authentication and authorization consistently across every route, including API handlers and per-resource operations.

Common defensive patterns include:

  • Applying centralized session validation middleware to all protected API routes
  • Enforcing authorization checks for each requested resource and state-changing action
  • Using secure-by-default behavior when authentication configuration is enabled
  • Limiting dashboard exposure to trusted networks and administrative interfaces
  • Separating read and write permissions and applying least privilege to management functions
  • Preventing sensitive configuration changes unless the caller has an explicit administrative role

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis and route audits that identify API handlers lacking authentication middleware
  • Code review checks comparing access controls across HTML and API implementations
  • Integration tests that send unauthenticated requests to every protected endpoint
  • Policy enforcement requiring authentication and authorization annotations for sensitive routes
  • Monitoring logs for API requests that access or modify protected resources without an authenticated identity

Automated application-security and API-testing tools may help identify inconsistent route protection.

Sources

SourceLink
github.comgithub.com/dannymcc/bluehood/commit/401479938c0deb1f6f6847d442f98a2d03efca68
github.comgithub.com/dannymcc/bluehood/releases/tag/v0.7.1
github.comgithub.com/dannymcc/bluehood/security/advisories/GHSA-qj2j-wcg3-74jw

Frequently asked

questions

Yes, when the dashboard port is reachable by an attacker over the network. The attacker does not need a session cookie if the affected API routes remain accessible.

Network connectivity to the Bluehood dashboard is the primary prerequisite. A valid Bluehood session is not required for the affected API requests.

Apply centralized authentication and authorization checks to every protected API endpoint, including read operations and per-device state-changing actions.

Maintain an explicit protected-route inventory, test unauthenticated and unauthorized access in CI, and avoid implementing separate page and API access-control logic without shared enforcement.

Find out what's already
exploitable in your codebase.