Authentication and Authorization Bypass in OpenHealth
OpenHealth versions 0.2.0 and earlier are vulnerable to unauthenticated access within the /api/health-data/ endpoint, allowing remote attackers to read, modify, or delete sensitive medical records.
CVE search metadata
CVE search record: CVE-2026-111312. Severity: high. CVSS: 7.7. KEV: no. Product: OpenHealth (<= 0.2.0). Brief: Authentication and Authorization Bypass in OpenHealth. Brief link: https://feed.craftedsignal.io/briefs/2026-10-openhealth-auth-bypass/
OpenHealth versions 0.2.0 and earlier contain a critical missing authentication and authorization vulnerability in the /api/health-data/[id] endpoint. The affected handlers for GET, PATCH, and DELETE operations fail to validate user sessions or verify that the requested HealthData record belongs to the requester. An unauthenticated attacker who discovers or enumerates a valid record identifier can bypass security controls to access, alter, or destroy sensitive patient information. This vulnerability poses a significant risk to the confidentiality and integrity of medical data handled by the application. Because the flaw exists within the core API logic, it is trivial to exploit via standard HTTP requests once a valid record ID is identified.
Impact
Successful exploitation allows unauthenticated attackers to exfiltrate private medical record data and metadata, overwrite existing patient records with arbitrary JSON payloads, or delete critical records entirely. This exposes patient health information to unauthorized parties and disrupts the availability of medical records, which may have legal, compliance, and clinical safety implications depending on the deployment environment.
Recommendation
- Upgrade the OpenHealth application to a version released after 0.2.0 that includes patches for authentication enforcement.
- Audit access logs for high volumes of 200 OK responses to GET, PATCH, or DELETE requests targeting /api/health-data/* from unauthenticated or unexpected IP sources.
- Implement strict ingress filtering or network-level authentication (e.g., mTLS or API gateway validation) as a compensating control until the application can be patched.
- Use the webserver logs to monitor for excessive enumerative requests against the /api/health-data/ endpoint, which may indicate an attacker attempting to discover valid record IDs.
Immediate actions
Upgrade OpenHealth to a patched version beyond 0.2.0.
Threat Hunt
Search logs for multiple 200 OK responses from unique source IPs targeting /api/health-data/* followed by PATCH or DELETE operations.
Data: Web server access logs
Mitigations
Implement network-level restrictions or WAF rules to block unauthorized access to /api/health-data/.
CVE-2026-111312
Detection coverage 1
Detect CVE-2026-111312 Exploitation - Unauthorized API Access
highDetects potential exploitation of CVE-2026-111312 by monitoring for API requests to the /api/health-data/ endpoint associated with DELETE or PATCH methods.
Detection queries are available on the platform. Get full rules →