CVE Explorer
CVE-2026-39879
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"syslog-ng","vendor":"syslog-ng","versions":[{"status":"affected","version":"< 4.12"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:bcb675edfb67e1f5f3546e27d3167243090fb4c0ad3173f3f251c6ae193a5bd8 · sha256:f9bd967289955ea1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"ADJACENT_NETWORK","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:bcb675edfb67e1f5f3546e27d3167243090fb4c0ad3173f3f251c6ae193a5bd8 · sha256:f9bd967289955ea1… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-150","description":"CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:bcb675edfb67e1f5f3546e27d3167243090fb4c0ad3173f3f251c6ae193a5bd8 · sha256:f9bd967289955ea1… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/syslog-ng/syslog-ng/security/advisories/GHSA-qwf9-6222-m24m","tags":["x_refsource_CONFIRM"],"url":"https://github.com/syslog-ng/syslog-ng/security/advisories/GHSA-qwf9-6222-m24m"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:bcb675edfb67e1f5f3546e27d3167243090fb4c0ad3173f3f251c6ae193a5bd8 · sha256:f9bd967289955ea1… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.