CVE-2026-126472: OpenEMR before 8.5.0 Missing Authorization in ccdaservice/ccda_gateway.php C-CDA Disclosure
OpenEMR before 8.5.0 contains a missing authorization vulnerability in ccdaservice/ccdagateway.php that allows any authenticated low-privilege staff user to retrieve other patients' C-CDA documents. Attackers can request the view or dl action with sequential pid values and their own CSRF token to enumerate and exfiltrate medications, problems, allergies, and immunizations.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any authenticated low-privilege staff user can exploit it. The attacker does not need elevated administrative or clinical privileges.
What does an attacker need to retrieve other patients' documents?
The attacker needs an authenticated session, their own CSRF token, and patient IDs to request through the view or dl action. Sequential pid values can be used to enumerate patient records.
What information may be exposed?
Exposed C-CDA documents may include medications, problems, allergies, and immunizations for other patients.
Which OpenEMR versions are affected?
OpenEMR versions before 8.5.0 are affected.