cve.bz

CVE-2026-129839 Rsyslog: rsyslog: improper json escaping in option.json="on" template path for quote-only and backslash-only values

5.3 medium

Medium (5.3) in red hat.

On this page
A flaw was found in rsyslog. When processing log entries using certain JSON (JavaScript Object Notation) formatting templates, the service fails to properly escape input composed entirely of quotation marks or backslashes. An attacker who can supply logged input can exploit this issue to generate malformed JSON output, which may cause downstream log ingestion systems and parsers to reject log records.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CWE
CWE-116 Improper Encoding or Escaping of Output
OWASP Top 10
A05:2025 Injection
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-129839 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-129839?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-129839?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-129839 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14rsyslogno fix listedDEBIAN-CVE-2026-129839
Ubuntu14.04:LTS, 22.04:LTS, 24.04:LTS and 5 morersyslogno fix listedUBUNTU-CVE-2026-129839
openSUSETumbleweedrsyslog8.2608.0-6.1openSUSE-SU-2026:12620-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate because exploitation requires a non-default configuration and only leads to malformed JSON log output without enabling code execution or privilege escalation. In standard Red Hat Enterprise Linux deployments, rsyslog default templates do not utilize the affected JSON escaping option. The issue only manifests when custom list or string templates are configured with the specific JSON escaping option and process fields composed solely of quotes or backslashes. Consequently, standard system logging remains unaffected unless specialized custom JSON forwarding pipelines are actively defined.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10rsyslogFix deferred
Red Hat Enterprise Linux 6rsyslogNot affected
Red Hat Enterprise Linux 6rsyslog7Not affected
Red Hat Enterprise Linux 7rsyslogFix deferred
Red Hat Enterprise Linux 8rsyslogFix deferred
Red Hat Enterprise Linux 9rsyslogFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-129839.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON