/

CVE-2026-124456

Severity:

HIGH RISK

(7.1)

Missing Authorization (CWE-862) in OpenEMR Prior Auth

CVE-2026-124456

Analyzed

Vulnerability type

Category:

Missing Authorization / Insecure Direct Object Reference

CWE:

CWE-862

Impact:

Unauthorized disclosure and modification of patient records

Severity:

HIGH RISK

(7.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's prior-authorization module has authorization checks that may not adequately restrict access to patient records. An authenticated low-privilege user could use the affected report and record-handling functions to view or modify other patients' prior-authorization information.

Affected context

The issue is in the oe-module-prior-authorizations module of OpenEMR. The described exposure involves public/reports/list_report.php, which may return patient and insurance details, and public/index.php, where record identifiers may be accepted without sufficient authorization checks. Risk depends on whether an authenticated user can reach these functions and whether access is properly scoped to the user's permissions and patient context.

Exploit preconditions

  • Attack surface: The prior-authorizations module's report and record-handling endpoints
  • Required access: An authenticated account with low privileges
  • Trigger point: Requesting the report or submitting a patient or authorization record identifier
  • Why exploitation is possible: Authorization checks may not verify that the requested record is within the user's permitted scope

Why this happens

The underlying issue is missing or insufficient authorization enforcement, mapped to CWE-862. Insecure direct object reference behavior can occur when an application uses a caller-supplied identifier to select a record but does not independently confirm that the caller is authorized to access or change it. Authentication alone does not establish permission to view or modify every patient's data.

Potential impact

  • Patient names, MRNs, insurance details, and prior-authorization information could be disclosed
  • A low-privilege user could modify prior-authorization records belonging to other patients
  • Unauthorized changes could affect the accuracy and integrity of patient or insurance workflows
  • Exposure or alteration of sensitive health information could create privacy and compliance consequences

General mitigation guidance

Common defensive patterns focus on enforcing authorization at every data access and modification boundary:

  • Apply server-side, deny-by-default authorization checks to reports and record operations
  • Scope queries to the authenticated user's permitted patients and roles rather than trusting submitted identifiers
  • Use secure-by-default data-access abstractions that require an authorization context
  • Minimize the amount of sensitive information returned by reports
  • Keep application accounts and service permissions limited to the access they need

How teams detect issues like this

  • Review report and update handlers for authorization checks performed before data is returned or changed
  • Use static analysis and code review to identify direct database lookups based on request-supplied identifiers
  • Test access-control policies with users of different roles and with records outside their authorized scope
  • Enforce policies requiring object-level authorization for sensitive patient data in API and web endpoints
  • Monitor for unusual report access and record changes across patient boundaries; automated security review tools may help identify relevant patterns

Sources

SourceLink
github.comgithub.com/openemr/openemr/security/advisories/GHSA-9cgf-m88m-9cvx
vulncheck.comvulncheck.com/advisories/openemr-before-8.3.0-missing-authorization-and-idor-in-prior-authorizations-module

Frequently asked

questions

The described risk applies to authenticated low-privilege users who can reach the affected module functions. The access needed depends on deployment configuration and endpoint exposure.

The report function is described as potentially exposing information for all patients. The record-modification risk involves submitting identifiers for records the user should not be able to change.

Enforce server-side, object-level authorization for every report, read, and update operation. Do not treat authentication or possession of a record identifier as proof of access permission.

Use deny-by-default access policies, scope data operations to the caller's authorized records, and test authorization boundaries across roles and patient records.

Find out what's already
exploitable in your codebase.