CVE-2026-111312
CVE-2026-111312 · OpenHealth through 0.2.0 Missing Authentication via /api/health-data/[id] Route
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.2 · Critical · EPSS 0.6%
- Published
- Updated
Affected products and versions
openhealth
- Versions
- ≥ 0, ≤ 0.2.0: Affected (semver)
No fix published
Original sources
- https://hackmd.io/@hieuPenguinnn/open-health-health-data-id-missing-auth-idor
- https://github.com/OpenHealthForAll/open-health/blob/v0.2.0/src/app/api/health-data/%5Bid%5D/route.ts#L13-L43
- https://github.com/OpenHealthForAll/open-health/blob/v0.2.0/src/middleware.ts#L20
- https://github.com/OpenHealthForAll/open-health
- https://www.vulncheck.com/advisories/openhealth-through-0.2.0-missing-authentication-via-api-health-data-id-route
- https://nvd.nist.gov/vuln/detail/CVE-2026-111312