/

CVE-2026-126416

Severity:

HIGH RISK

(7.1)

Broken Authorization (CWE-285) in OpenEMR Patient Tracker

CVE-2026-126416

Analyzed

Vulnerability type

Category:

Improper Authorization

CWE:

CWE-285

Impact:

Unauthorized modification of patient-tracker and appointment data

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 patient tracker endpoint may allow a low-privilege authenticated user to change tracker entries belonging to other patients by supplying a tracker ID they are not authorized to access. With a valid CSRF token, the request could alter patient-flow status, room assignments, and linked appointment state.

Affected context

The issue occurs in patient_tracker_status.php when a request updates a tracker entry based on a supplied tracker_id. Deployments are at risk when the endpoint does not verify that the authenticated user is authorized to modify the specific patient record associated with that ID.

Exploit preconditions

  • Attack surface: The patient tracker status update endpoint
  • Required access: A low-privilege authenticated account and a valid CSRF token
  • Trigger point: A request containing statustype, roomnum, and a tracker_id
  • Why exploitation is possible: The supplied identifier may be accepted without an adequate authorization check for the corresponding patient or tracker entry

Why this happens

The endpoint's authorization logic may not bind the requested tracker entry to the user's permitted patient records. Trusting a caller-supplied tracker_id without checking access to the associated object is an improper authorization pattern, mapping to CWE-285: Improper Authorization.

Potential impact

  • An attacker could change another patient's flow status or room assignment.
  • Linked calendar appointment state may be altered.
  • Staff could be presented with inaccurate patient-tracking information.
  • Changes could disrupt clinical workflows or undermine data integrity.

General mitigation guidance

Defensive patterns include enforcing authorization on every tracker update and checking access to the specific patient-linked object, rather than relying on the supplied identifier or the user's general access to the application. Treat request parameters as untrusted, use secure-by-default access-control checks, and limit account privileges to the minimum required. CSRF protection can help prevent cross-site request forgery, but it does not replace object-level authorization.

How teams detect issues like this

Review tracker update handlers for authorization checks that bind the authenticated user to the requested patient and tracker record. Static analysis and code review can flag direct use of request-supplied object identifiers in data updates without nearby access-control enforcement. Runtime policies and audit monitoring can identify updates to records outside a user's permitted scope; automated review tools may help surface missing authorization checks.

Sources

SourceLink
github.comgithub.com/openemr/openemr/security/advisories/GHSA-cxjf-fmpw-qc34
vulncheck.comvulncheck.com/advisories/openemr-before-8.5.0-improper-authorization-via-patient-tracker-status-php

Frequently asked

questions

The endpoint is web-accessible, but exploitation requires an authenticated account and a valid CSRF token; it is not an unauthenticated attack.

A low-privilege authenticated user who can reach the endpoint may be able to target tracker entries beyond their authorized scope.

Check authorization for the specific patient and tracker entry on every update, regardless of the identifier supplied by the client.

Apply object-level access controls consistently, treat client-provided identifiers as untrusted, and test that users cannot read or modify records outside their permitted scope.

Find out what's already
exploitable in your codebase.