/

CVE-2026-126479

Severity:

HIGH RISK

(7.6)

Missing Authorization (CWE-862) in OpenEMR Module Manager

CVE-2026-126479

Analyzed

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Unauthorized module configuration changes and hook deletion

Severity:

HIGH RISK

(7.6)

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 Module Manager has installer actions that lack authorization checks and CSRF validation. A low-privilege authenticated user may be able to change module configuration, alter CCDA or HIE settings, or delete module hooks by sending requests to those actions.

Affected context

The issue affects OpenEMR versions before 8.5.0 in five Module Manager InstallerController actions. The described actions include saveConfig and SaveHooks; they lack the admin/manage_modules ACL check and CSRF validation, allowing requests from users without the required administrative permission to reach sensitive changes.

Exploit preconditions

  • Attack surface: OpenEMR's web application and Module Manager installer actions
  • Required access: A low-privilege authenticated account, such as a Front Office account
  • Trigger point: POST requests to affected actions, including saveConfig or SaveHooks
  • Why exploitation is possible: The actions do not enforce the required admin/manage_modules authorization check or validate CSRF tokens before performing changes

Why this happens

The affected actions perform privileged module-management operations without consistently verifying that the requester has the required authorization. This is a CWE-862: Missing Authorization pattern: access to an application action is not restricted according to the caller's privileges. The lack of CSRF validation also leaves these actions without a defense against forged requests in applicable browser-session scenarios.

Potential impact

  • An unauthorized user may overwrite module configuration
  • CCDA or HIE settings could be retargeted
  • Module hooks could be deleted, potentially disrupting integrations or workflows
  • Forged requests may cause changes when an authorized user's browser session is exposed to a suitable CSRF scenario

General mitigation guidance

Defensive patterns include enforcing authorization on the server for every sensitive action, using deny-by-default access controls, and requiring the appropriate module-management permission before changing configuration or hooks. Validate CSRF tokens for state-changing requests, validate configuration values against expected schemas, and limit application privileges to what the deployment requires.

How teams detect issues like this

  • Review controller actions that modify module configuration or hooks for consistent server-side permission checks.
  • Use static analysis or code review rules to flag state-changing actions without authorization or CSRF validation.
  • Audit access-control policies to ensure sensitive operations require the intended role or permission.
  • Monitor logs for configuration changes or hook deletions initiated by low-privilege accounts.
  • Automated code review tools may help identify inconsistent authorization patterns across controller actions.

Sources

SourceLink
github.comgithub.com/openemr/openemr/security/advisories/GHSA-gpcx-xcp2-2rhx
vulncheck.comvulncheck.com/advisories/openemr-before-8.5.0-missing-authorization-in-module-manager-installer-actions

Frequently asked

questions

The described risk applies to authenticated low-privilege users who can reach the affected Module Manager actions.

No. The issue is that affected actions do not enforce the required admin/manage_modules ACL check, so a low-privilege account may be able to make changes.

Enforce server-side authorization on every sensitive action and validate CSRF tokens for state-changing requests.

Use deny-by-default access controls, review all state-changing routes for permission and CSRF checks, and test those controls across user roles.

Find out what's already
exploitable in your codebase.