{"vuln_id":"CVE-2026-126491","aliases":["GHSA-pc2q-9pcw-v899"],"description":"OpenEMR before 8.5.0 contains a stored SQL injection vulnerability in getByPatientDemographics() where layout_options field_id values are concatenated into the patient search WHERE clause. Attackers with Layout Editor access can plant a malicious field_id, allowing any authenticated low-privilege user to exfiltrate data from patient_data and users_secure tables.","published_at":"2026-11-13T10:17:59.600000Z","modified_at":"2026-11-17T14:17:35.040000Z","first_seen_at":"2026-11-21T19:15:48.596745Z","severity":"high","severity_source":"nvd","cvss_score":8.3,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-89"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00302,"epss_percentile":0.23285,"nvd_status":"Modified","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-126491"},"matched_alias":null,"items":[{"id":5514,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-126491: OpenEMR before 8.5.0 contains a stored SQL injection vulnerability in getByPatientDemographics() where layout_options field_id values are concatenated into the…","summary":"OpenEMR before 8.5.0 contains a stored SQL injection vulnerability in getByPatientDemographics() where layout_options field_id values are concatenated into the patient search WHERE clause. Attackers with Layout Editor access can plant a malicious field_id, allowing any authenticated low-privilege user to exfiltrate data from patient_data and users_secure tables.\n\nReferences:\nhttps://github.com/openemr/openemr/security/advisories/GHSA-pc2q-9pcw-v899\nhttps://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-getbypatientdemographics-in-patient-inc-php\nhttps://github.com/openemr/openemr/security/advisories/GHSA-pc2q-9pcw-v899","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126491","published_at":"2026-11-13T10:17:59.600000Z","updated_at":"2026-11-17T14:17:35.040000Z","fetched_at":"2026-11-21T19:15:31.481039Z","severity":"high","cvss_score":8.3,"epss":0.00302,"is_kev":false,"has_exploit":true,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-126491","vuln_ids":["CVE-2026-126491","GHSA-PC2Q-9PCW-V899"],"tags":["CWE-89"],"cluster_id":6005,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/5514","html":"https://vulnwatch.ve1ve2.com/item/5514"}}]}