PT-2026-115276 · Openhealthforall · Openhealth
CVSS v3.1
7.7
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
Name of the Vulnerable Software and Affected Versions
OpenHealth versions prior to 0.2.1
Description
Missing authentication and authorization in the '/api/health-data/[id]' GET, PATCH, and DELETE handlers allow unauthenticated attackers to access medical records. By knowing a HealthData record
id, an attacker can read another user's medical record data and file metadata, overwrite it with arbitrary JSON, or delete the record. This occurs because the system queries records by id without performing session or authorId checks.Recommendations
Update OpenHealth to version 0.2.1 or later.
As a temporary workaround, restrict access to the '/api/health-data/[id]' endpoint to minimize the risk of exploitation.
Fix
Missing Authentication
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Openhealth