rsyslog gtls certificate name check bypass
A log server may accept fake log entries from an impostor sender.
Mitigation
There is no fix yet. A fix is in the 2026-12-01 daily stable build and will be in the next scheduled stable release. Until then, use x509/fingerprint authentication, or make sure your CA does not let requesters set OU, O or other subject attributes.
Can't update yet?
Add this line to the config file:
x509/fingerprint
A wrong setting can stop the service or lock you out. Check the source links below first.
Summary
rsyslog's gtls driver name check can accept a certificate with no real Common Name by reading CN= text inside other subject attributes. A peer holding a certificate from a trusted CA that lets requesters pick subject values can inject log messages as a trusted sender.
Affected when
- gtls driver with StreamDriver.AuthMode x509/name
- rsyslog 8.2610.0 and older
15 other Incidents of this product in the last 30 days
Incidents by product: rsyslog
Other recent Incidents of rsyslog
Read the discussion · seclists.org (opens in a new tab)
- Discussion: rsyslog: gtls driver: x509/name check can accept a certificate that has no matching Common Name (GHSA-2j6x-gq6h-q426) (opens in a new tab)
- Discussion: Re: rsyslog: gtls driver: x509/name check can accept a certificate that has no matching Common Name (GHSA-2j6x-gq6h-q426) (opens in a new tab)