/

CVE-2026-124488

Severity:

HIGH RISK

(8.1)

Authorization Bypass (CWE-862) in OpenEMR Clinical Forms

CVE-2026-124488

Analyzed

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-862

Impact:

Unauthorized access to and modification of clinical records

Severity:

HIGH RISK

(8.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

OpenEMR contains an authorization bypass that can let authenticated clinicians without high-sensitivity permission access and modify encounter-bound forms. The issue becomes risky when the direct form-loading and saving paths do not enforce the required permission checks.

Affected context

The vulnerability affects OpenEMR versions before 8.3.0 in the encounter-bound form handling paths involving load_form.php and save.php. It concerns direct loaders for Clinical Notes and Care Plan forms, where access may not be properly restricted for authenticated clinicians who lack high-sensitivity permission.

Exploit preconditions

  • Attack surface: OpenEMR's web-based encounter form loading and saving functionality
  • Required access: An authenticated account with clinician access but without the relevant high-sensitivity permission
  • Trigger point: Requests to the direct form loader and subsequent form-save handling
  • Why exploitation is possible: The affected paths may allow form access and changes without adequately enforcing the required authorization policy

Why this happens

The underlying issue is a failure to enforce authorization consistently on sensitive form operations. Under CWE-862: Missing Authorization, an application permits an action without verifying that the requesting user has the required permission. Direct-loading and saving paths must each apply the appropriate access checks rather than relying on permissions enforced elsewhere.

Potential impact

  • An authenticated user without the required permission may read restricted clinical content.
  • Clinical notes or care-plan records may be altered without appropriate authorization.
  • Unauthorized changes could affect the confidentiality and integrity of encounter records.
  • Improper access to clinical information could undermine auditability and trust in patient records.

General mitigation guidance

Mitigation generally focuses on applying consistent, server-side authorization checks to every sensitive read and write operation.

Common defensive patterns include:

  • Enforcing permission checks at each form-loading and saving endpoint
  • Denying access by default when authorization cannot be verified
  • Deriving access decisions from trusted server-side identity and encounter context
  • Applying least privilege to clinician roles and sensitive record operations
  • Recording and reviewing access to, and changes in, sensitive clinical records

How teams detect issues like this

High-level detection approaches include:

  • Reviewing direct loaders and save handlers for missing or inconsistent authorization checks
  • Using static analysis or code review rules to flag sensitive routes that lack permission enforcement
  • Testing that users without high-sensitivity permission cannot read or change restricted encounter forms
  • Monitoring audit logs for unexpected access or modifications to Clinical Notes and Care Plan records
  • Enforcing application policies that require server-side authorization for every sensitive operation

Sources

SourceLink
github.comgithub.com/openemr/openemr/security/advisories/GHSA-v58f-jcq4-pc4w
vulncheck.comvulncheck.com/advisories/openemr-before-8.3.0-authorization-bypass-via-load-form-php-high-sensitivity-encounters

Frequently asked

questions

An authenticated clinician account that lacks the required high-sensitivity permission may be able to access or modify affected encounter-bound forms.

Yes. The described vulnerability involves authenticated application users; the relevant prerequisite is an account with access to the affected functionality but insufficient permission for the sensitive forms.

Enforce server-side authorization checks on every form-loading and saving operation, using the user's verified permissions and encounter context.

Apply deny-by-default access policies, test authorization boundaries for direct endpoints, and review sensitive read and write paths for consistent permission enforcement.

Find out what's already
exploitable in your codebase.