/

CVE-2026-124477

Severity:

HIGH RISK

(8.8)

Missing Authorization (CWE-862) in OpenEMR Recall Deletion

CVE-2026-124477

Analyzed

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Unauthorized deletion of patient recall records

Severity:

HIGH RISK

(8.8)

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 a missing authorization check in the delete_Recall action, allowing a low-privileged authenticated user to delete patient recall records. The issue becomes risky when the action accepts a patient ID and recall ID without verifying the user's permissions or relationship to those records.

Affected context

The vulnerability affects OpenEMR installations before 8.3.0 where the delete_Recall action is available through /interface/main/messages/save.php. The action may permit deletion based on supplied patient and recall identifiers without enforcing an appropriate access-control or record-ownership check.

Exploit preconditions

  • Attack surface: The authenticated POST action at /interface/main/messages/save.php
  • Required access: A valid account with low privileges
  • Trigger point: A request invoking delete_Recall with a target pid and r_ID
  • Why exploitation is possible: The action does not adequately check whether the authenticated user is authorized to delete the specified patient recall record

Why this happens

The underlying issue is a missing authorization check, mapped to CWE-862: Missing Authorization. The application processes a record-deletion request using caller-supplied identifiers without confirming that the user has the required permission or is authorized for the targeted patient and recall record.

Potential impact

  • Patient recall records may be deleted without appropriate authorization
  • Care teams could lose information needed for follow-up
  • The integrity and completeness of patient records may be affected
  • Repeated or targeted deletion could disrupt clinical workflows

General mitigation guidance

Mitigation generally centers on enforcing authorization at the point where a record-changing action is performed.

Common defensive patterns include:

  • Checking the user's permissions and patient-level access for every deletion request
  • Deriving record access from the authenticated session rather than trusting client-supplied identifiers
  • Applying consistent access-control checks across all endpoints that modify records
  • Using least-privilege roles and narrowly scoped permissions
  • Recording and reviewing audit events for sensitive record changes

How teams detect issues like this

High-level approaches for identifying similar issues include:

  • Reviewing record deletion handlers for authorization checks performed before changes are applied
  • Using static analysis to flag sensitive operations that rely on request parameters without access-control enforcement
  • Testing whether users with different roles can access or modify records outside their permitted scope
  • Enforcing policy checks in code review and security testing workflows

Sources

SourceLink
github.comgithub.com/openemr/openemr/security/advisories/GHSA-776r-c638-hw6j
vulncheck.comvulncheck.com/advisories/openemr-before-8.3.0-missing-authorization-via-delete-recall-in-save-php

Frequently asked

questions

An attacker needs a valid, low-privileged OpenEMR account and access to the affected action.

The described weakness allows requests to target patient recall records without adequate ACL or ownership checks; the scope depends on the deployment and the records reachable through the action.

Enforce server-side authorization for each deletion, including checks that the user may act on the specified patient and recall record.

Apply centralized access-control policies to sensitive operations, avoid trusting client-supplied record identifiers as proof of access, and test authorization across roles and patient boundaries.

Find out what's already
exploitable in your codebase.