CVE-2026-129838rsyslog Improper Output Neutralization for Logs
NVD
Vulnerability Summary
Summary When imuxsock plain trusted-property annotation is enabled, a local process can inject additional fields into the appended trusted-property block through its process name or executable path. A downstream consumer may consequently interpret attacker-controlled values as kernel-derived sender identity. Affected configuration The issue requires all of the following: - rsyslog running on Linux with imuxsock credential collection available; - `Annotate="on"` on an imuxsock input, or `SysSock.Annotate="on"` on the system socket; - plain trusted-property annotation through `ParseTrusted="off"`; and - a local process able to write to the affected Unix log socket. Annotation is disabled by default. `ParseTrusted="off"` is the default when annotation is explicitly enabled. The JSON trusted-property mode used with `ParseTrusted="on"` is not affected. Details In plain annotation mode, imuxsock appends sender information to the message in a block similar to: ```text @[_PID=... _UID=... _GID=... _COMM=... _EXE=... _CMDLINE="..."] ``` `_CMDLINE` is quoted and escaped, but `_COMM` and `_EXE` are copied without an unambiguous encoding. A local process controls its process name and can choose an executable path containing field delimiters. For example, a process with the genuine UID 1000 can set its process name so that the resulting annotation contains: ```text _UID=1000 _GID=1000 _COMM=x _UID=0 ``` The genuine UID remains present, but the duplicate attacker-controlled field makes the plain annotation ambiguous. Consumers that select the later value or otherwise treat every token as trusted may misattribute the sender. The fix quotes and escapes `_COMM` and `_EXE`, handles control characters, and sizes the annotation buffer for the encoded representation. Impact The vulnerability affects the integrity of trusted sender attribution in deployments using the affected non-default annotation mode. It does not provide remote access, disclose data, or cause a memory-safety violation. Affected versions The affected plain annotation format was introduced in rsyslog 5.9.4. Later releases remain affected until the fixed daily-stable build identified by this advisory. Workarounds Disable imuxsock annotation if it is not required. Where operationally compatible, enabling `ParseTrusted="on"` stores the properties as JSON fields and avoids the affected plain annotation format. Credit Discovered by Rainer Gerhards during an internal AI-assisted review of imuxsock using Claude Code.
CVSS v3.1 Base Metrics — Score 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NAttack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityNone
Affected & Patched Versions
- rsyslog >= 5.9.4
- rsyslog 2026-11-17 daily stable
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run rsyslog and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 17, 2026Published
- Nov 17, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new rsyslog CVEsYou are reading CVE-2026-129838. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 23, 2026 17:00 UTC