/

CVE-2026-126455

Severity:

HIGH RISK

(8.1)

Missing Authorization (CWE-862) in OpenEMR Components

CVE-2026-126455

Analyzed

Vulnerability type

Category:

Broken Access Control and SQL Injection

CWE:

CWE-862

Impact:

Sensitive data exposure, patient portal identity compromise, and clinical record integrity violations

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 authorization gaps and SQL injection defects across report, portal, transaction, and immunization components. A low-privileged Front Office clerk may be able to chain these issues to access sensitive database contents, hijack patient portal identities, or forge approved clinical records.

Affected context

The reported defects affect OpenEMR versions before 8.5.0 and span report, portal, transaction, and immunization functionality. Risk depends on deployment and access controls, particularly where low-privileged users can reach affected features and authorization checks or database query handling are insufficient.

Exploit preconditions

  • Attack surface: OpenEMR report, portal, transaction, and immunization components
  • Required access: A low-privileged Front Office clerk account is reported as sufficient
  • Trigger point: Requests that exercise affected component workflows
  • Why exploitation is possible: Authorization gaps and SQL injection defects may be chained to access data or perform actions beyond the account's intended permissions

Why this happens

The primary weakness is CWE-862: Missing Authorization: affected operations do not consistently verify that a user is permitted to access the requested data or perform the requested action. The description also reports SQL injection defects, which can arise when queries are constructed unsafely from input. Together, these weaknesses may allow a low-privileged user to cross data and action boundaries.

Potential impact

  • Attackers may read arbitrary database tables, including users_secure password hashes
  • Patient portal identities could be hijacked
  • Approved clinical records could be forged
  • Sensitive patient and account information could be exposed

General mitigation guidance

Common defensive patterns include:

  • Enforcing authorization checks on the server for every sensitive object, operation, and workflow transition
  • Applying deny-by-default access rules and validating ownership or role permissions at the point of use
  • Using parameterized queries and avoiding query construction that treats input as executable SQL
  • Limiting database account privileges to only the data and operations required
  • Separating sensitive clinical and account operations behind explicit, auditable permissions

How teams detect issues like this

Review sensitive routes and workflows for consistent server-side authorization, including checks for object ownership and role boundaries. Use static analysis to flag unsafe SQL construction and code review to trace user-controlled input into database queries. Test access-control policies with low-privilege accounts and enforce automated checks that reject unparameterized queries or sensitive operations lacking authorization controls.

Sources

SourceLink
github.comgithub.com/openemr/openemr/commit/71da6605dc3bcc1405ee9a65cb9f579ecbc8a1c6
github.comgithub.com/openemr/openemr/security/advisories/GHSA-vr7f-7c3w-49g7
vulncheck.comvulncheck.com/advisories/openemr-before-8.5.0-privilege-escalation-via-missing-authorization-and-sql-injection

Frequently asked

questions

Yes. The report describes chaining the defects with a low-privileged Front Office clerk account.

The reported outcomes include reading database tables such as users_secure hashes, hijacking patient portal identities, and forging approved clinical records.

Enforce server-side authorization for each sensitive operation and use parameterized queries for database access.

Apply deny-by-default permissions, review sensitive workflows for authorization gaps, limit database privileges, and test access controls using low-privilege accounts.

Find out what's already
exploitable in your codebase.