LDAP injection in LibreNMS - CVE-2026-109357
Published: November 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass authentication and gain full administrative access to LibreNMS, disclose sensitive credentials, modify monitoring settings, and execute arbitrary commands.
The vulnerability exists due to improper neutralization of LDAP filter metacharacters in LibreNMS external authorization components when processing usernames supplied through the HTTP Authorization header. A remote attacker can send Authorization: Basic Kjoq to supply the wildcard username *, producing filters such as (uid=*) and (memberUid=*) that match directory users and configured groups, bypass the search-only authentication check without a password bind, and obtain administrative roles.
Exploitation requires auth_mechanism to be set to ldap-authorization or ad-authorization and the web server not to properly forward REMOTE_USER, causing a fallback to attacker-controlled PHP_AUTH_USER.