CVE-2026-129838 in Red Hat
Summary
by MITRE • 11/26/2026
A flaw was found in rsyslog. This vulnerability allows a local user to spoof sender identity and cause downstream log consumers to misattribute event origins. When the imuxsock module is configured with plain trusted-property annotation, it fails to properly escape process names and executable paths in log metadata. A local attacker can exploit this issue by sending log messages through the local log socket with crafted process names to inject forged identity attributes.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The vulnerability identified within rsyslog represents a significant integrity risk for centralized logging infrastructures, specifically affecting systems that utilize the imuxsock input module under specific configuration settings. This flaw stems from an improper handling of metadata fields associated with log messages received via Unix domain sockets. When the plain trusted-property annotation is enabled in the rsyslog configuration, the system operates under a trust model where it assumes incoming data from local processes is authentic and unmodified. However, this assumption fails to account for malicious actors who can manipulate process names or executable paths before they are embedded into log metadata. The core technical flaw lies in the failure of the imuxsock module to properly escape these identifiers during processing. Instead of sanitizing special characters or validating the source against a whitelist of trusted entities, rsyslog directly incorporates the provided process name and path into the structured data fields of the syslog message. This lack of input validation allows for the injection of arbitrary strings that are then treated as legitimate identity attributes by downstream log consumers.
From an operational perspective, this vulnerability enables local privilege escalation in terms of trust boundaries rather than system control privileges. A local user with access to write to the rsyslog socket can craft specific log messages containing forged process names or executable paths. These crafted entries are accepted by rsyslog and forwarded to downstream systems such as SIEM platforms, log aggregation servers, or audit trails without detection. The primary impact is the spoofing of sender identity, which leads to misattribution of event origins. This distortion compromises the integrity of security monitoring efforts because analysts may attribute malicious activities to legitimate system processes or users based on the forged metadata. For instance, an attacker could make a log entry appear as if it originated from a critical service like sshd or sudo, thereby obscuring their actual actions and complicating forensic investigations. The ability to inject false identity attributes undermines the reliability of audit logs, which are essential for compliance with standards such as PCI DSS and HIPAA that require accurate tracking of user activities.
This vulnerability aligns closely with CWE-20 Improper Input Validation, specifically regarding the failure to sanitize special elements in data received from an upstream component. It also relates to CWE-781 improper privilege assignment if the forged identity grants unauthorized access or trust levels within downstream applications that rely on syslog metadata for authorization decisions. In terms of offensive security frameworks, this technique corresponds to ATT&CK Tactic TA0005 Defense Evasion and specifically Technique T1070 Indicator Removal on Host, as attackers use log manipulation to hide their tracks. Furthermore, it touches upon T1620 Reflective Code Loading if the forged paths are used to mislead automated analysis tools into loading malicious libraries or scripts based on false path information. The exploitation requires local access and typically does not require elevated privileges initially, making it a viable vector for initial persistence or cover-up in environments where multiple users share system accounts or have shell access.
Mitigation strategies must focus on hardening the rsyslog configuration to prevent reliance on untrusted input properties. Administrators should disable the plain trusted-property annotation unless absolutely necessary and instead rely on more robust authentication mechanisms such as TLS-based encryption with client certificates for remote logging, although this does not fully address local socket risks. For local logging, it is recommended to restrict write access to the rsyslog socket using strict file system permissions so that only authorized daemons can send logs directly. Additionally, implementing log integrity verification through digital signatures or hash chains at the ingestion point of downstream consumers can help detect tampered metadata. Regular auditing of syslog configurations and monitoring for anomalous patterns in process names within logs are also essential defensive measures to identify potential exploitation attempts early.