Vulnerability details

CVE-2026-39879

syslog-ng syslog-ng

SQL injection in syslog-ng SQL destionation driver

CVSS 3.1
7.1High

Official description

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. Fixes are in syslog-ng 4.12, syslog-ng Premium Edition 8.2 and syslog-ng Store Box 7.8

CVSS scores

ScoreVersionSourceVector
7.1High 3.1 CVEProject cvelistV5 (CNA) (GitHub_M) CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Affected products

VendorProductVersionsSource
syslog-ng syslog-ng < 4.12 CVEProject cvelistV5 (CNA)

References and advisories

1
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-07-20
Last updated
2026-07-21
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

0.27%
Probability of exploitation in 30 days
19.2%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Partial

Weaknesses (CWE)

  • CWE-150
    Improper Neutralization of Escape, Meta, or Control Sequences