CVE Catalog

CVE-2026-39879

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

Summary

Missing sanitization in afsql_dd_run_query in syslog-ng before 4.12 leads to SQL injection from an untrusted source. Not in default configuration, requires manual SQL driver setup. Fixed in syslog-ng 4.12, Premium Edition 8.2, and Store Box 7.8.

Risk Assessment

Risk involves potential unauthorized SQL queries by an attacker, which could lead to data leakage or manipulation in the database.

Recommendation

Upgrade syslog-ng to version 4.12 or later and restrict SQL driver access to trusted sources only.

Related vulnerabilities

Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS