/

CVE-2026-126449

Severity:

HIGH RISK

(7.1)

Missing Authorization (CWE-862) in OpenEMR Workflows

CVE-2026-126449

Analyzed

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Unauthorized modification of immunization and billing records, and unauthorized billing operations

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 contains missing authorization checks in several workflows, allowing authenticated Front Office users to perform actions beyond their assigned permissions. If they can access the affected endpoints and reuse their session CSRF token, they may change immunizations or encounter billing data and invoke the billing processor.

Affected context

The vulnerability affects OpenEMR versions before 8.5.0 in immunizations.php, diagnosis_full.php, and billing_process.php. In affected deployments, ACL checks are missing or insufficient for actions that authenticated Front Office users can reach through these workflows.

Exploit preconditions

  • Attack surface: The affected OpenEMR endpoints and workflows
  • Required access: An authenticated Front Office account with a valid session
  • Trigger point: Requests to add or delete immunizations, write encounter billing codes, or invoke the billing processor
  • Why exploitation is possible: The relevant actions do not consistently enforce ACL permissions; an authenticated user can reuse their session CSRF token when making requests

Why this happens

The underlying issue is missing or incomplete server-side authorization enforcement. CWE-862 describes cases where an application fails to verify that a user is permitted to perform a requested action. Authentication and possession of a valid session token do not establish authorization for every operation; each sensitive action must be checked against the user's permissions.

Potential impact

  • Users may add or delete immunization records without the required permissions.
  • Users may write encounter billing codes outside their authorized role.
  • Users may invoke billing processing without appropriate authorization.
  • Clinical and financial records may be altered, potentially affecting downstream workflows.

General mitigation guidance

Defensive approaches focus on enforcing authorization at the server for every sensitive action, regardless of how a request is initiated.

  • Apply centralized, deny-by-default permission checks to each affected operation.
  • Derive authorization decisions from the authenticated user's role and the specific resource or action.
  • Treat CSRF protections as separate from authorization; a valid CSRF token should not grant access to an otherwise restricted action.
  • Minimize account privileges and limit access to clinical and billing functions by role.
  • Keep authorization logic consistent across user interfaces, handlers, and background processing paths.

How teams detect issues like this

Review endpoint handlers and related service methods for sensitive operations that do not perform server-side ACL checks. Static analysis and code review can look for state-changing routes whose authorization checks are absent, inconsistent, or applied only in the user interface. Test role-based access policies by verifying that low-privileged accounts are denied restricted actions, and monitor audit logs for unexpected immunization or billing changes. Automated review tools may help identify routes that lack explicit authorization enforcement.

Sources

SourceLink
github.comgithub.com/openemr/openemr/security/advisories/GHSA-xp7w-8fx3-642x
vulncheck.comvulncheck.com/advisories/openemr-before-8.5.0-missing-authorization-in-immunizations-php-diagnosis-full-php-billing-process-php

Frequently asked

questions

It can be triggered through requests to the affected application endpoints, but exploitation requires an authenticated session and access to the relevant workflows.

The described scenario involves an authenticated Front Office user who can reuse their session CSRF token. The account does not need to have the intended permissions for the affected actions.

Enforce server-side, deny-by-default authorization checks for every sensitive operation, based on the user's permissions and the requested action.

Apply consistent authorization policies across endpoints, test restricted actions with low-privileged roles, and audit state-changing routes for missing permission checks.

Find out what's already
exploitable in your codebase.