CVE-2026-40509 OpenEMR < 8.3.0 CSRF via DICOM Viewer web_path Parameter

Medium 5.3 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-40509?

CVE-2026-40509 is a medium-severity vulnerability in openemr, published on 19 Aug 2026.

Official description

OpenEMR before 8.3.0 contains a cross-site request forgery vulnerability in the DICOM viewer. The web_path GET parameter in the DICOM viewer page is embedded unsanitized as a URL without validation against expected path formats. An attacker can craft a URL that causes an authenticated user with Patients - Documents permissions to make authenticated requests to arbitrary OpenEMR endpoints, enabling forced logout and other state-changing actions.

Weakness: CWE-352

Which versions are affected by CVE-2026-40509?

How do I fix CVE-2026-40509?

No fix has been published for CVE-2026-40509 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-40509 being exploited?

There is no known exploitation of CVE-2026-40509 in the wild and no public exploit code.

Sources

Also known as GHSA-c2ph-gr8x-j747, GHSA-wffp-pj5h-xqwp.

Is CVE-2026-40509 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free