OpenEMR before 8.5.0 contains an authenticated SQL injection vulnerability in the Syndromic Surveillance module that allows users with Clinician-level privileges to read and modify arbitrary database contents by submitting crafted values in the form_icd_codes[] POST parameter to the syndromicsurveillance/index endpoint. Attackers can inject an unquoted numeric IN() clause and UNION DISTINCT SELECT statement using hex-encoded literals to abuse MySQL extractvalue() for error-based exfiltration of bcrypt password hashes and execute stacked queries that reset passwords, resulting in full administrative account takeover.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-89"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49142.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "8.5.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v8_5_0",
"range": [
{
"fixed": "c1b2b8bcbe91aa81858f7ba8b25c31d9a82639a5"
}
],
"source": "REFERENCES_TAG"
}
]
}