๐Ÿ” CVE Alert

CVE-2026-39879

HIGH 7.1

SQL injection in syslog-ng SQL destionation driver

CVSS Score
7.1
EPSS Score
0.0%
EPSS Percentile
0th

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

CWE CWE-150
Vendor syslog-ng
Product syslog-ng
Published Jul 20, 2026
Stay Ahead of the Next One

Get instant alerts for syslog-ng syslog-ng

Be the first to know when new high vulnerabilities affecting syslog-ng syslog-ng are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

Affected Versions

syslog-ng / syslog-ng
< 4.12

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/syslog-ng/syslog-ng/security/advisories/GHSA-qwf9-6222-m24m