{"schemaVersion":4,"id":"CVE-2026-112341","aliases":[],"status":"published","duplicateOf":null,"title":"Wazuh before 4.14.9 SQL Injection via WazuhDBBackend _substitute_params","description":"Wazuh versions from 4.0.0 before 4.14.9 contain a sql injection vulnerability in WazuhDBBackend._substitute_params due to sequential regex placeholder cross-contamination. Authenticated users with agent:read on one agent can inject UNION SELECT via the q and search parameters to extract every agent's internal_key through a blind boolean oracle on total_affected_items.","dates":{"published":"2026-11-06T15:00:47.296Z","modified":"2026-11-09T22:45:59.658Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00317,"percentile":0.26491,"severity":"low","asOf":"2026-12-05T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-07T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00317,"percentile":0.26491}],"last30":[{"date":"2026-11-07T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00317,"percentile":0.26491}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"wazuh","product":"wazuh","name":"wazuh","label":"wazuh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.14.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"4.14.9","endInclusive":false}}],"versionsText":"≥ 4.0.0, < 4.14.9","eol":null,"hubHref":"/vendor/wazuh/wazuh"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-qj88-7rr2-4chx","label":"github.com/wazuh/wazuh/security/advisories/GHSA-qj88-7rr2-4chx","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v4.14.9","label":"github.com/wazuh/wazuh/releases/tag/v4.14.9","hostname":"github.com","tags":["Release Notes"]},{"url":"https://www.vulncheck.com/advisories/wazuh-before-4.14.9-sql-injection-via-wazuhdbbackend-substitute-params","label":"www.vulncheck.com/advisories/wazuh-before-4.14.9-sql-injection-via-wazuhdbbackend-substitute-params","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-06T15:00:47.296Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-09T22:45:59.658Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,71],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-05T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00317,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-09T22:45:59.658Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-09T22:45:59.658Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-09T22:45:59.658Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-09T22:45:59.658Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-09T22:34:34.723Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00317,"date":"2026-12-05T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T18:02:24.413Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T18:02:24.914Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T18:02:25.108Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T18:01:03.617Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T18:02:22.672Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T18:02:22.204Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T18:39:21.983Z","stale":false,"partial":false}}