{"id":"CVE-2026-111312","summary":"OpenHealth through 0.2.0 Missing Authentication via /api/health-data/[id] Route","details":"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.","modified":"2026-10-20T11:16:54.216096319Z","published":"2026-10-15T21:43:28.153Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-306"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111312.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111312.json"},{"type":"ADVISORY","url":"https://hackmd.io/@hieuPenguinnn/open-health-health-data-id-missing-auth-idor"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111312"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openhealth-through-0.2.0-missing-authentication-via-api-health-data-id-route"},{"type":"PACKAGE","url":"https://github.com/OpenHealthForAll/open-health"},{"type":"ARTICLE","url":"https://github.com/OpenHealthForAll/open-health/blob/v0.2.0/src/app/api/health-data/%5Bid%5D/route.ts#L13-L43"},{"type":"ARTICLE","url":"https://github.com/OpenHealthForAll/open-health/blob/v0.2.0/src/middleware.ts#L20"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openhealthforall/open-health","events":[{"introduced":"0"},{"last_affected":"8d8a583dc953cdba1f587481d38f047a9958b244"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"0.2.0"},{"range":[{"introduced":"0"},{"last_affected":"0.2.0"}],"source":"DESCRIPTION"}]}}],"versions":["v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111312.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}