{"id":"CVE-2026-39879","aliases":["CVE-2026-39879"],"related":[],"kind":"vulnerability","state":"published","title":"SQL injection in syslog-ng SQL destionation driver","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","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","source":"cvelist"}],"published":"2026-07-20T16:57:32.019Z","modified":"2026-07-23T16:04:11.740Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-150"],"affected":[{"ranges":[{"version":"< 4.12","status":"affected"}],"vendor":"syslog-ng","product":"syslog-ng","source":"cvelist"}],"references":[{"url":"https://github.com/syslog-ng/syslog-ng/security/advisories/GHSA-qwf9-6222-m24m","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-21T16:08:55.745Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-39879","url":"https://www.cve.org/CVERecord?id=CVE-2026-39879","licence":"CVE Terms of Use","modified":"2026-07-21T16:11:18.899Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-39879","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39879","licence":"Public domain","modified":"2026-07-23T16:04:11.740Z"}],"updatedAt":"2026-11-25T22:59:29.248Z","epss":{"score":0.00172,"percentile":0.06862,"date":"2026-12-01T12:00:22.000Z"}}