---
id: CVE-2026-111312
title: >-
  OpenHealth through 0.2.0 Missing Authentication via /api/health-data/[id]
  Route
summary: >-
  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…
severity: high
cvss: 7.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L'
cvssSource: cna
cwe:
  - CWE-306
vendor: OpenHealthForAll
product: OpenHealth
affected:
  - OpenHealth <= 0.2.0
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T21:43:28.153Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111312'
references:
  - url: >-
      https://hackmd.io/@hieuPenguinnn/open-health-health-data-id-missing-auth-idor
  - url: >-
      https://github.com/OpenHealthForAll/open-health/blob/v0.2.0/src/app/api/health-data/%5Bid%5D/route.ts#L13-L43
  - url: >-
      https://github.com/OpenHealthForAll/open-health/blob/v0.2.0/src/middleware.ts#L20
  - url: 'https://github.com/OpenHealthForAll/open-health'
  - url: >-
      https://www.vulncheck.com/advisories/openhealth-through-0.2.0-missing-authentication-via-api-health-data-id-route
    label: >-
      VulnCheck Advisory: OpenHealth through 0.2.0 Missing Authentication via
      /api/health-data/[id] Route
tags:
  - cve.org
ingestedAt: '2026-10-15T22:48:25.450Z'
---

## Overview

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.

## Affected

- `OpenHealth <= 0.2.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
