Description
OpenHealth through 0.2.0 contains a missing authentication and authorization vulnerability in the /api/health-data/[id] GET, PATCH and DELETE handlers that query records by id without session or authorId checks. Unauthenticated attackers who know a HealthData record id can read another user's medical record data and file metadata, overwrite it with arbitrary JSON, or delete it.
Published: 2026-10-15
Score: 9.2 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized access to user medical data
Action: Immediate Patch
AI Analysis

Impact

A flaw in OpenHealth before version 0.2.0 allows unauthenticated users to invoke the /api/health-data/[id] GET, PATCH and DELETE endpoints. The application fails to verify a session or the owning authorId for the requested record, so knowledge of a record identifier gives an attacker the ability to read, overwrite with arbitrary content, or delete another person's health data and associated file metadata. The vulnerability is a classic Missing Authentication weakness (CWE-306).

Affected Systems

Vulnerable deployments of the OpenHealthForAll OpenHealth application running any release up through 0.2.0 are impacted. The issue resides in the route handling code located under src/app/api/health-data/[id]/route.ts and the middleware that is currently insufficient to enforce authentication. Users should verify that their instance is not using a 0.2.0 build or any earlier release that has not been patched.

Risk and Exploitability

The CVSS score of 9.2 indicates a critical severity, and the lack of authentication enables attackers to compromise confidentiality, integrity, and availability of protected health information. The EPSS score of 0.00451 indicates a very low but nonzero probability of exploitation, yet the publicly available references and the nature of the vulnerability suggest that exploitation is feasible with minimal effort once a record ID is known. The application is not listed in the CISA KEV catalog at present. The likely attack vector is through an attacker who can guess or obtain a valid record identifier, then directly request the vulnerable endpoint without any authentication headers.

Generated by OpenCVE AI on October 16, 2026 at 16:04 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenHealth to a version that includes authentication checks for the /api/health-data/[id] endpoints
  • If upgrading is not immediately possible, modify the middleware to enforce session validation and authorId verification for all routes under /api/health-data
  • As a temporary measure, restrict access to the /api/health-data routes using a reverse‑proxy firewall rule that only allows traffic from authenticated sources
  • Regularly scan application logs for requests to the /api/health-data endpoints that lack proper authentication headers

Generated by OpenCVE AI on October 16, 2026 at 16:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 22:00:00 +0000

Type Values Removed Values Added
Description OpenHealth through 0.2.0 contains a missing authentication and authorization vulnerability in the /api/health-data/[id] GET, PATCH and DELETE handlers that query records by id without session or authorId checks. Unauthenticated attackers who know a HealthData record id can read another user's medical record data and file metadata, overwrite it with arbitrary JSON, or delete it.
Title OpenHealth through 0.2.0 Missing Authentication via /api/health-data/[id] Route
Weaknesses CWE-306
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-15T21:43:28.153Z

Reserved: 2026-10-15T20:11:18.414Z

Link: CVE-2026-111312

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-15T22:19:30.053

Modified: 2026-10-16T18:25:45.343

Link: CVE-2026-111312

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T16:15:07Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function