CVE-2026-25929

OpenEMR Patient Picture Context Allows Arbitrary Patient Photo Retrieval

Published Feb 25, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, the document controller’s `patient_picture` context serves the patient’s photo by document ID or patient ID without verifying that the current user is authorized to access that patient. An authenticated user with document ACL can supply another patient’s ID and retrieve their photo. Version 8.0.0 fixes the issue.

Analysis

AI-generated

Technical impact

The OpenEMR document controller’s patient_picture context served patient photos by document or patient ID without confirming that the requester was authorized to view that patient. This missing authorization check allows an authenticated user who has basic document ACL permissions to supply any patient identifier and retrieve another patient’s photo, exposing private medical data. The weakness is an access control flaw identified as CWE-639, leading to information disclosure that could compromise patient confidentiality.

Affected Systems

OpenEMR OpenEMR versions prior to 8.0.0 are affected. The vulnerability applies to all installations of the document controller’s patient_picture route where the application is running a version older than 8.0.0.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium severity vulnerability. EPSS is less than 1%, showing a very low likelihood of exploitation at the time of this assessment. The issue is not listed in the CISA KEV catalog. Exploitation requires a legitimate authenticated user who already has document ACL permissions; no additional privilege escalation is needed to request another patient's photo. Once authorized, the attacker can retrieve the photo directly through the patient_picture endpoint.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to OpenEMR 8.0.0 or newer, which adds proper authorization checks before serving patient photos.
  • After upgrading, audit and tighten document ACLs to enforce least‑privilege access for patient pictures, ensuring only authorized roles can request them.
  • If an immediate upgrade is not feasible, temporarily disable the patient_picture route or controller mapping to block unauthenticated access until the patch is applied.

Generated by OpenCVE AI on April 17, 2026 at 15:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Open-emr
Open-emr openemr
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openemr
Openemr openemr
Vendors & Products Openemr
Openemr openemr
Type Values Removed Values Added
Description OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, the document controller’s `patient_picture` context serves the patient’s photo by document ID or patient ID without verifying that the current user is authorized to access that patient. An authenticated user with document ACL can supply another patient’s ID and retrieve their photo. Version 8.0.0 fixes the issue.
Title OpenEMR Patient Picture Context Allows Arbitrary Patient Photo Retrieval
Weaknesses CWE-639
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 3, 2026, 10:13 PM
Reserved
Feb 9, 2026, 4:22 PM
Status
Analyzed
Published
Feb 25, 2026, 7:43 PM
Modified
Nov 3, 2026, 11:17 PM