librelp GnuTLS certvalid mode accepts any certificate (CVE-2026-132888)
librelp with GnuTLS and tls.authmode certvalid does not validate peer certificates, allowing spoofing of RELP peers.
Reported by oss-security
First reported Summary updated
- Public PoC
- Not known
- Exploited
- Not known
- CVSS
- 7.5 High
What happened
librelp built with GnuTLS and using TLS authentication mode certvalid does not validate the peer certificate, accepting any certificate including self-signed ones and those from unrelated CAs.1
On a RELP server, any reachable host can connect and inject log messages that appear to come from a trusted sender.1
On a RELP client, an attacker able to intercept the connection can impersonate the log server and receive forwarded logs.1
Who is affected
- librelp, 1.2.18 up to and including 1.13.01
Is there a public exploit?
Not known None of the sources mentions public exploit code yet.
Exploited in the wild?
Not known None of the sources reports attacks using it so far.
What to do
- Update librelp to 1.14.0 and restart rsyslog.1
- Switch to tls.authmode fingerprint or name with permitted peers, as both verify the certificate.1
- Use the OpenSSL driver via the tls.tlslib module parameter of imrelp or omrelp.1
- Restrict access to the RELP port, often 2514/tcp, with a firewall to known senders, though this does not stop spoofing from within the allowed range.1
For bug hunters
The underlying issue is a certificate validation bypass in a TLS authentication mode, a class of access-control flaw. In bounty programmes, look at services that offer certificate-based authentication or mutual TLS, especially where a library or driver choice changes validation behaviour. Test whether self-signed or unrelated CA certificates are accepted when the documented mode requires validation, and check client and server roles separately.
What to test
- Connect with a self-signed certificate to a service configured for certificate validation.
- Connect with a certificate from an unrelated CA to the same service.
- Test both client and server roles where mutual TLS is offered.
- Compare validation behaviour across TLS library or driver options.
Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.
Coverage
The article this story is based on. Each headline opens the outlet's own article.
-
1
oss-security
librelp: 2 security advisories published 2026-11-26“Fix: https://github.com/rsyslog/librelp/commit/87a447e3f656d3e4d6e5f9d1f0e72a16527d342d”