{"id":"CVE-2026-39879","published":"2026-07-20T16:57:32Z","modified":"2026-07-21T16:11:18Z","title":"SQL injection in syslog-ng SQL destionation driver","vendor":"syslog-ng","product":"syslog-ng","tier":"tail","description":{"text":"Due to a missing sanitization call in [`afsql_dd_run_query`](https://github.com/syslog-ng/syslog-ng/blob/649e6e18e3459fb4467000a88dfb12fa97f9719c/modules/afsql/afsql.c#L219), syslog-ng before 4.12 are vulnerable to SQL injection from an untrusted source. This is not part of the default configuration, the SQL driver has to be manually configured.\n\nFixes are in syslog-ng 4.12, syslog-ng Premium Edition 8.2 and syslog-ng Store Box 7.8","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0027,"percentile":0.19573,"provenance":"source"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"references":[{"url":"https://github.com/syslog-ng/syslog-ng/security/advisories/GHSA-qwf9-6222-m24m","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":3.91},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"syslog-ng","affectedVersions":[{"vendor":"syslog-ng","product":"syslog-ng","versions":["< 4.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-21T16:08:55.745841Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-46031","exploited":false,"provenance":"source"}}