---
id: "CVE-2026-124467"
page: "https://infrastack.ai/live/CVE-2026-124467"
kind: "vulnerability"
aliases: ["CVE-2026-124467"]
title: "OpenEMR: authenticated upload and file inclusion lets attackers run code"
severity: "high"
cvss: 8.8
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "other", "php", "self-hosted"]
not_affected_if: ["no-authenticated-users", "openemr-8.4.0-or-later"]
published_at: "2026-11-08T14:18:14+00:00"
first_seen_at: "2026-11-08T14:48:40+00:00"
updated_at: "2026-11-08T14:49:01+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124467", "first_seen_at": "2026-11-08T14:48:40+00:00"}]
exploit_sources: []
---

# OpenEMR: authenticated upload and file inclusion lets attackers run code

Link for people: https://infrastack.ai/live/CVE-2026-124467 (this .md is for agents)

OpenEMR before 8.4.0 passes an unsanitized module parameter into a require_once in its ESign router, so an attacker can include a file they uploaded. Because the fax upload path writes attacker-named files without extension checks, an authenticated user can upload a PHP file and execute arbitrary code on the server.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed OpenEMR version against the fixed release in the product ranges (unknown in the sources)
- Look for an `interface/esign/index.php` route and `library/ESign/Router.php` in the install

## Fix

- OpenEMR: move to `8.4.0` or later (per the NVD description: before 8.4.0 is affected)

## Timeline

- 2026-11-08T14:48:40+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124467

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-p4v7-crwp-qq7q
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.4.0-remote-code-execution-via-esign-lfi-and-fax-upload

## From the sources

OpenEMR before 8.4.0 contains a local file inclusion in the ESign router (library/ESign/Router.php), which passes the unsanitized module parameter into a require_once of '<module>/Controller.php', and the fax module's faxProcessUploads writes attacker-named files to a predictable temp path without extension checks. Authenticated attackers can upload a PHP file named Controller.php, then request interface/esign/index.php with a traversing module parameter to include it and execute arbitrary code.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
