Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

OpenEMR before 8.3.0 contains a cross-site request forgery vulnerability in the DICOM viewer. (CVE-2026-40509)

0
Medium
Published: 08/19/2026 (08/19/2026, 15:32:38 UTC)
Source: GCVE Database

Description

OpenEMR versions prior to 8.3.0 contain a cross-site request forgery (CSRF) vulnerability in the DICOM viewer component. This vulnerability arises because the web_path GET parameter is embedded directly as a URL without proper validation or sanitization. An attacker can exploit this by crafting a malicious URL that causes an authenticated user with Patients - Documents permissions to perform unintended authenticated requests, such as forced logout or other state-changing actions.

CVSS v3.1

Score 4.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Affected software

GitHub Actionsmore threats →ai
openemr/openemr
pkg:github/openemr/openemr
Affected versions
<8.3.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 18:10:48 UTC

Technical Analysis

The vulnerability identified as CVE-2026-40509 affects OpenEMR versions before 8.3.0. It is a cross-site request forgery (CWE-352) in the DICOM viewer page, where the web_path GET parameter is embedded unsanitized as a URL without validation against expected path formats. This flaw allows an attacker to craft a URL that, when visited by an authenticated user with Patients - Documents permissions, triggers authenticated requests to arbitrary OpenEMR endpoints. The impact includes forced logout and other state-changing actions performed without the user's consent.

Potential Impact

The vulnerability enables attackers to induce authenticated users to perform unintended actions within OpenEMR, potentially disrupting user sessions (e.g., forced logout) or modifying application state. There is no direct confidentiality or availability impact reported. The CVSS 3.1 base score is 4.3 (medium severity), reflecting limited impact primarily on integrity via forced actions.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should exercise caution when clicking on untrusted links while authenticated in OpenEMR. Implementing CSRF protections or input validation on the web_path parameter may mitigate the risk. Monitor vendor channels for updates and apply official patches once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-c2ph-gr8x-j747
Osv Schema Version
1.4.0
Aliases
["CVE-2026-40509"]
Ecosystems
[]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a85ee14acd9273b4969a278

Added to database: 08/19/2026, 17:55:32 UTC

Last enriched: 08/19/2026, 18:10:48 UTC

Last updated: 08/19/2026, 18:52:09 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses