Every CVE Search/ Get API key

CVE-2026-39879

SQL injection in syslog-ng SQL destionation driver

7.1 HighFix available

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

0.27%Up 0.1 points since Jul 21, 2026
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
syslog-ng
Alpaquita:23
4.1.1-r0 up to 4.1.1-r1
4.1.1-r1
syslog-ng
Alpaquita:25
4.8.3-r1 up to 4.8.3-r2
4.8.3-r2
syslog-ng
Alpaquita:stream
4.1.1-r0 up to 4.12.0-r0
4.12.0-r0
syslog-ng
Debian: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 less
4.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-ng
Debian: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-ng
Debian:14
before 4.12.0-1, plus listed versions
4.8.1-54.8.1-64.8.1-7
4.12.0-1
syslog-ng
Ubuntu:14.04:LTS
All versions, plus listed versions
3.3.9-1ubuntu13.5.1-13.5.2-13.5.3-1
None known
syslog-ng
Ubuntu:16.04:LTS
All versions, plus listed versions
3.5.6-2build13.5.6-2.1
None known
syslog-ng
Ubuntu:18.04:LTS
All versions, plus listed versions
3.11.1-1ubuntu13.11.1-2ubuntu13.13.2-3
None known
syslog-ng
Ubuntu: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
Affected packages
PackageAffectedFixed
syslog-ng
Ubuntu:22.04:LTS
All versions, plus listed versions
3.28.1-2build33.28.1-43.35.1-1
None known
syslog-ng
Ubuntu: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-ng
Ubuntu:26.10
All versions, plus listed versions
4.8.1-7build24.8.1-7ubuntu14.8.1-7ubuntu2
None known
syslog-ng
Ubuntu:26.04:LTS
All versions, plus listed versions
4.8.1-64.8.1-7build14.8.1-7build2
None known

History

History
RecordedChangedSources
first indexedCVE 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

Show 5 moreShow less
MoveEnter Open