Skip to main content

OpenEMR EUVDEUVD-2026-119536

| CVE-2026-124481 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-08 VulnCheck GHSA-r67g-7xmv-5q36
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to patient portal
  2. Exploit
    Tamper payment JSON (patientId, encounter, amount)
  3. Execution
    Submit nominal Rainforest payin with valid CSRF token
  4. Impact
    payin.authorized webhook writes forged cross-patient ar_activity credit

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires a valid authenticated patient-portal account (PR:L) on an OpenEMR instance before 8.4.0 that has the Rainforest payment gateway enabled (payment_gateway === 'Rainforest' with a patient_portal_onsite_two session), plus a valid 'rainforest' CSRF token which the legitimate portal flow supplies. The attacker then edits the JSON sent to portal_payment.rainforest.php to supply arbitrary patientId, encounter id, and amount values. Limiting factors: the Rainforest integration must be configured and in use (non-default for many deployments), the attacker must already hold portal credentials, and impact is confined to receivables/ar_activity integrity - there is no confidentiality (VC:N) or availability (VA:N) impact, no code execution, and no cross-system scope change (SC:N/SI:N/SA:N).

Impact

Signals are consistent and point to a real but bounded priority. The supplied CVSS 4.0 vector (AV:N/AC:L/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N, score 7.1 High) shows a network-reachable, low-complexity flaw any authenticated portal patient (PR:L, no user interaction) can trigger, with integrity-only impact (VI:H) on billing records and no confidentiality or availability effect (VC:N/VA:N). It is NOT listed in CISA KEV and no EPSS score was provided, so there is no evidence of confirmed active or widespread exploitation. Counterbalancing that, the vendor GHSA advisory (reported by VulnCheck) contains full source-code analysis and documents an executed PoC that credited victim pid=5 / encounter 602001 with $9999.00 from a $1.00 payment, so exploitability is well established. The vuln.today decision label is this_week, not emergency. Net: a genuine priority for OpenEMR deployments that have the Rainforest payment gateway enabled, but the impact is financial-record falsification rather than system or account compromise, and it is gated behind a valid portal login and the Rainforest configuration, making it a high-but-bounded issue to patch this week rather than a drop-everything emergency.

Exploit ScenarioDerived

An authenticated OpenEMR patient-portal user begins a Rainforest payment and modifies the JSON body POSTed to portal_payment.rainforest.php, substituting another patient's patientId and encounter id with an inflated dollar/encounter value while paying only a nominal amount. Because the server trusts the browser-supplied values instead of deriving them from the portal session, the signed payin.authorized webhook writes a forged ar_activity credit against the victim's encounter (the advisory's executed PoC turned a $1.00 payment into a $9999.00 credit for another patient). AV:N/AC:L/PR:L means any logged-in portal patient can do this remotely with low complexity and no user interaction.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 08, 2026

Authenticated patient-portal users on OpenEMR before 8.4.0 can forge receivables credits against other patients' encounters through the Rainforest payment flow: the reporter's proof of concept turned a $1.00 payment into a $9,999.00 credit posted to a different patient's encounter while the actual session total stayed at $1.00. The flaw is an integrity-only authorization failure (CVSS 4.0 7.1, VC:N/VI:H/VA:N, PR:L) that requires the instance to have the Rainforest gateway configured and in use, plus a valid portal session and the 'rainforest' CSRF token that the normal portal page supplies. A proof-of-concept was demonstrated by the reporting researcher; there is no KEV listing or confirmed release of working public exploit code, and the vendor has shipped a fix in 8.4.0.

RemediationAI

Vendor-released patch: OpenEMR 8.4.0 - upgrade all instances below that version, per the advisory at https://github.com/openemr/openemr/security/advisories/GHSA-525m-fch5-vqqm and the VulnCheck advisory. Because the vulnerable path exists only when the Rainforest gateway is active, an interim control for sites that cannot upgrade immediately is to switch payment_gateway away from Rainforest (or leave it unconfigured) so portal_payment.rainforest.php is not reachable, accepting that patient-portal card payments through Rainforest stop working until the upgrade lands; this does not remediate the underlying trust defect in the setup endpoint, it only removes the exposed code path. Complement the upgrade by reviewing recently posted patient payments for ar_activity rows whose pay_amount exceeds the corresponding ar_session.pay_total, or whose metadata patientId/encounter does not match the paying patient - the advisory's demonstrated case credited a victim encounter with $9,999.00 against a $1.00 session total - and reverse any forged credits found. Rotating portal credentials is not a mitigation, since the attacker in this scenario is a legitimately authenticated portal patient holding a valid 'rainforest' CSRF token.

Affected VersionsENISA

OpenEMR 0 <8.4.0

Affected Packages

euvd openemr fix: 8.4.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key) in OpenEMR's PHP patient-portal payment pipeline. When payment_gateway is set to 'Rainforest' and the session carries patient_portal_onsite_two, portal/portal_payment.php injects the Rainforest client script, which reads patientId from the hidden_patient_code DOM field and per-encounter allocations (id, code, codeType, value) from mutable input.amount_field elements and POSTs them as JSON to portal_payment.rainforest.php. That endpoint verifies only the 'rainforest' CSRF token and then hands the raw body to GetPayinComponentParameters::parseRawRequest, which json_decodes dollars, patientId and encounters and passes them unchanged into Rainforest\Api::getPaymentComponentParameters. The API wrapper splits the payload: 'amount' carries the real authorized amount, while the attacker-controlled patient and encounter allocation are stored separately in the payin_config metadata object. Because the metadata is echoed back in the signed payin.authorized webhook and treated as billing truth, Webhooks\RecordPayment writes ar_activity.pay_amount from the metadata amount and ar_activity.patientId from the metadata patientId, while ar_session.pay_total is populated from the genuine webhook amount. The trust boundary that is missing is a rebinding of patientId, encounter identifiers and allocation values to the authenticated portal session; the trigger is documented in the advisory's code path (tampering with the JSON body of the setup request), and the CSRF token is not a barrier because the legitimate portal flow supplies it. The CPE cpe:2.3:a:openemr:openemr:* confirms all builds below 8.4.0 are in scope; the 'Authentication Bypass' feed tag is imprecise, as the issue is post-authentication authorization, not credential bypass. Not affected in the assessed vector: confidentiality (VC:N), availability (VA:N) and any scope change (SC:N/SI:N/SA:N) - there is no code execution and no cross-system impact.

Know when Openemr gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Any authenticated portal patient can tamper the request remotely with low complexity (PR:L, AC:L, UI:N); impact is integrity-only falsification of billing data (I:H, C:N, A:N) with no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 08, 2026 - 14:01 EUVD
CVE Published
Nov 08, 2026 - 13:16 cve.org
HIGH 7.1

DescriptionCVE.org

OpenEMR before 8.4.0 contains an improper authorization vulnerability in Rainforest patient portal payments that trusts browser-supplied patientId, encounter, and amount values instead of deriving them from the portal session. Authenticated portal patients can tamper with JSON sent to portal_payment.rainforest.php so the payin.authorized webhook writes forged ar_activity credits to other patients' encounters exceeding the amount actually paid.

Technical POC Analysis

CWE-639 (Authorization Bypass Through User-Controlled Key), in OpenEMR's Rainforest patient-portal payment path.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

OpenEMR versions before 8.4.0 contain a high-severity authorization flaw in the Rainforest payment workflow that lets authenticated patient-portal users post fraudulent credits to other patients' encounters, manipulating receivables and financial records. Any healthcare organization running an affected OpenEMR instance with the Rainforest gateway enabled is exposed to billing fraud, inaccurate patient financial records, and potential compliance and audit risk. Leadership should prioritize remediation because the integrity of patient payment data and revenue cycle reporting is directly at stake.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
most popular open-source EHR but healthcare-specific; Rainforest gateway must be enabled
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2013-10044 HIGH POC
8.7 Aug 01

An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to

CVE-2026-24898 CRITICAL POC
10.0 Mar 03

Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.

CVE-2026-24848 CRITICAL POC
9.9 Mar 03

Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.

CVE-2026-24849 CRITICAL POC
9.9 Feb 25

Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the

CVE-2026-24908 CRITICAL POC
9.9 Feb 25

SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the

CVE-2024-22611 CRITICAL POC
9.8 Apr 03

OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl

CVE-2024-37734 CRITICAL POC
9.8 Jun 26

An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par

CVE-2026-25146 CRITICAL POC
9.6 Mar 03

Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.

CVE-2026-39932 CRITICAL POC
9.4 Aug 03

Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so

CVE-2012-0992 HIGH POC
8.5 Feb 07

interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel

CVE-2026-124450 CRITICAL POC
9.3 Nov 08

Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms

CVE-2015-4453 MEDIUM
5.0 Jul 05

interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy