LDAP injection in LibreNMS - CVE-2026-109357

 

LDAP injection in LibreNMS - CVE-2026-109357

Published: November 2, 2026


Vulnerability identifier: #VU158689
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-109357
CWE-ID: CWE-90
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

LibreNMS

How to mitigate CVE-2026-109357

Install security update from vendor's website.

LibreNMS - update to 26.9.0

External References

Related Security Bulletins