Summary
A flaw in librelp (the RELP protocol library used by rsyslog) involves improper certificate validation (CWE-295). When TLS with certificate validation (certvalid mode) and the GnuTLS driver is configured, the library fails to verify the peer certificate chain.
Per the CVSS vector (7.5, high), the attack is network-based, low complexity, and requires no authentication or user interaction. An attacker presents an invalid or self-signed certificate to bypass authentication.
The attacker can then act as a trusted log source or collector, compromising log integrity (e.g., injecting forged log entries). No confidentiality or availability impact is listed in the vector. The vulnerability is not in the CISA KEV catalog.
Who is affected
Organizations running rsyslog/librelp on Red Hat Enterprise Linux 6, 7, 8, 9 or 10 that forward logs over RELP with TLS in certvalid mode using GnuTLS.
What to do
- No fixed version is listed in the record; monitor Red Hat's official advisory (access.redhat.com/security/cve/CVE-2026-132888) and install the updated librelp package when available.
- Check exposure: review /etc/rsyslog.conf and /etc/rsyslog.d/ for imrelp/omrelp modules using TLS with the certvalid authentication mode.
- As a workaround, restrict the RELP port (default 20514/tcp) to authorized IPs via firewall (e.g., firewalld trusted zone with allowed sources, remove the general port rule, then firewall-cmd --reload). Note: this does not prevent spoofing from hosts within the trusted range.
- Alternatively, switch to the "fingerprint" or "name" authentication mode on all participating systems.
- If RELP is not essential, disable the imrelp/omrelp configuration and restart rsyslog (systemctl restart rsyslog); expect a brief interruption in log handling.
Vendor workaround
Restrict network reachability to the RELP service port using firewall rules so that only authorized systems can establish connections, or switch to an alternate authentication mode such as "fingerprint" or "name".
To restrict the RELP port (default 20514/tcp) to authorized IP addresses using firewalld:
firewall-cmd --permanent --zone=trusted --add-source=<TRUSTED_IP_OR_SUBNET>
firewall-cmd --permanent --zone=trusted --add-port=20514/tcp
firewall-cmd --permanent --remove-port=20514/tcp
firewall-cmd --reload
Alternatively, if RELP network logging is not essential, disable the imrelp or omrelp configuration in /etc/rsyslog.conf or /etc/rsyslog.d/ and restart rsyslog:
systemctl restart rsyslog
Caveats:
Restricting access via firewall rules prevents connections from untrusted networks but does not prevent spoofing from hosts residing within the trusted IP range. Disabling RELP modules or changing authentication modes prevents log forwarding until all participating systems are reconfigured.
Warning: Modifying firewall configurations requires reloading firewalld, and changing rsyslog settings requires restarting the rsyslog daemon, which will cause a brief interruption in log handling.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- High impact
- Availability
- None
Weakness type (CWE)
- CWE-295 Improper Certificate Validation
References
- access.redhat.com/security/cve/CVE-2026-132888
- bugzilla.redhat.com/show_bug.cgi?id=2576326
- github.com/rsyslog/librelp/commit/b4a66f3a349e5e6a09ec638f81fe901f696c9f34
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.