CVE-2026-39879
SQL injection in syslog-ng SQL destionation driver
Due to a missing sanitization call in afsql_dd_run_query, 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
Attack profile
How easy it is to exploit
- Attack vector
- Adjacent network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.1
SQL injection in syslog-ng SQL destionation driver
Due to a missing sanitization call in afsql_dd_run_query, 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
- Record
CVE-2026-39879- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Weakness
- CWE-150
- Updated
- 2026-11-02
EUVDEUVD-2026-46031
7.1
Due to a missing sanitization call in afsql_dd_run_query, 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
- Record
EUVD-2026-46031- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
NVD
7.1
Due to a missing sanitization call in afsql_dd_run_query, 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
- Record
CVE-2026-39879- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Weakness
- CWE-150
- Updated
- 2026-11-02
OSVBELL-CVE-2026-39879
7.1
- Record
BELL-CVE-2026-39879- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
OSV
7.1
SQL injection in syslog-ng SQL destionation driver
Due to a missing sanitization call in afsql_dd_run_query, 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
- Record
CVE-2026-39879- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Weakness
- CWE-150
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-39879
7.1
Due to a missing sanitization call in afsql_dd_run_query, 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
- Record
DEBIAN-CVE-2026-39879- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-39879
7.1
Due to a missing sanitization call in afsql_dd_run_query, 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
- Record
UBUNTU-CVE-2026-39879- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
syslog-ngAlpaquita:23 |
4.1.1-r0 up to 4.1.1-r1 | 4.1.1-r1 |
syslog-ngAlpaquita:25 |
4.8.3-r1 up to 4.8.3-r2 | 4.8.3-r2 |
syslog-ngAlpaquita:stream |
4.1.1-r0 up to 4.12.0-r0 | 4.12.0-r0 |
syslog-ngDebian:12 |
All versions, plus listed versions 3.38.1-53.38.1-5+deb12u14.12.0-14.12.0-24.3.1-1 Show 11 moreShow less4.3.1-24.4.0-14.4.0-24.4.0-34.8.1-14.8.1-24.8.1-34.8.1-44.8.1-54.8.1-64.8.1-7 |
None known |
syslog-ngDebian:13 |
All versions, plus listed versions 4.12.0-14.12.0-24.8.1-54.8.1-5+deb13u14.8.1-64.8.1-7 |
None known |
syslog-ngDebian:14 |
before 4.12.0-1, plus listed versions 4.8.1-54.8.1-64.8.1-7 |
4.12.0-1 |
syslog-ngUbuntu:14.04:LTS |
All versions, plus listed versions 3.3.9-1ubuntu13.5.1-13.5.2-13.5.3-1 |
None known |
syslog-ngUbuntu:16.04:LTS |
All versions, plus listed versions 3.5.6-2build13.5.6-2.1 |
None known |
syslog-ngUbuntu:18.04:LTS |
All versions, plus listed versions 3.11.1-1ubuntu13.11.1-2ubuntu13.13.2-3 |
None known |
syslog-ngUbuntu:20.04:LTS |
All versions, plus listed versions 3.19.1-6build13.19.1-6build23.25.1-13.25.1-1ubuntu13.25.1-3 |
None known |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
syslog-ngUbuntu:22.04:LTS |
All versions, plus listed versions 3.28.1-2build33.28.1-43.35.1-1 |
None known |
syslog-ngUbuntu:24.04:LTS |
All versions, plus listed versions 3.38.1-54.3.1-24.3.1-2build14.3.1-2build44.3.1-2build5 |
None known |
syslog-ngUbuntu:26.10 |
All versions, plus listed versions 4.8.1-7build24.8.1-7ubuntu14.8.1-7ubuntu2 |
None known |
syslog-ngUbuntu:26.04:LTS |
All versions, plus listed versions 4.8.1-64.8.1-7build14.8.1-7build2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-39879 is a high vulnerability (CVSS 7.1) in Syslog-ng, published July 20, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.27%, the 19th percentile. Fixed in syslog-ng 4.1.1-r1.
References
github.com/syslog-ng/syslog-ng/security/advisories/GHSA-qwf9-6222-m24m
docs.bell-sw.com/security/cves/CVE-2026-39879
github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39879.json
nvd.nist.gov/vuln/detail/CVE-2026-39879
security-tracker.debian.org/tracker/CVE-2026-39879
ubuntu.com/security/CVE-2026-39879
Show 5 moreShow less
cve.org/CVERecord?id=CVE-2026-39879
github.com/syslog-ng/syslog-ng/commit/1e872e301436efa5d3fcd54e7628ac82c57698d2
github.com/syslog-ng/syslog-ng/commit/1aba7537f0c406090f98a649475acbf517440220
github.com/syslog-ng/syslog-ng/commit/4b61a0b1dad69368bc3b93b607141708d0036830
github.com/syslog-ng/syslog-ng/commit/4c0aebf7a1c0a8177bdf4fb67803e19dddc3dbf2