Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach LDAP-mode LibreNMS web endpoint
-
DeliverySend Basic Auth header with wildcard username
-
ExploitWildcard matches all LDAP users/groups
-
ExecutionAuthentication accepts as existing admin
-
ImpactGain full administrative access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization LDAP query parameterization
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the LibreNMS server to be configured in 'ldap-authorization' or 'ad-authorization' authentication mode AND for the REMOTE_USER variable to not be forwarded (i.e., no upstream authenticating proxy/SSO populating it). Under those conditions, an unauthenticated remote attacker simply supplies a wildcard username via the HTTP Basic Authorization header (PHP_AUTH_USER), which is injected unescaped into the LDAP search filter (CWE-90); because authentication only verifies that a matching entry exists, the wildcard matches all users/groups and yields admin. LIMITING FACTORS: installations using other auth backends (e.g., mysql/local), or those where a front-end proxy correctly sets REMOTE_USER, are not exploitable via this path - this is why the CVSS 4.0 vector carries AT:P. No user interaction or prior authentication is needed once the vulnerable mode is in use. |
| Impact | This is a genuine high-priority issue rather than an inflated CVSS score. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated flaw with full high impact to confidentiality, integrity and availability (VC:H/VI:H/VA:H), and the authentication-bypass-to-admin outcome in the description corroborates that triad. The one tempering signal is AT:P (attack requirements present), which reflects the real preconditions: the server must run in ldap-authorization or ad-authorization mode and REMOTE_USER must not be forwarded. No EPSS score, no KEV listing, and no public exploit were provided in the input, so exploitation status is 'no public exploit identified at time of analysis' - exploitability here is inferred from the CVSS vector and description, not from an observed exploit. The absence of EPSS/KEV data is a gap, not evidence of low risk; given a trivially crafted wildcard-username request yielding admin, real-world risk for exposed, LDAP-backed LibreNMS instances is high, but defenders should confirm exploitation telemetry independently since none was supplied. |
| Exploit ScenarioDerived | An attacker reaches an internet- or network-exposed LibreNMS instance configured for LDAP/AD authorization where no upstream SSO populates REMOTE_USER. They send an HTTP request with a Basic Authorization header carrying a wildcard username (e.g. '*') in PHP_AUTH_USER; because usernames are inserted unescaped into the LDAP search filter and only existence is checked, the wildcard matches all users and groups and the attacker is granted administrative access. No public exploit code is referenced, but the technique is straightforward to reproduce from the advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 12, 2026
Authentication bypass in LibreNMS before 26.9.0 allows unauthenticated remote attackers to gain administrative access when the system is configured for LDAP or Active Directory authorization and the REMOTE_USER server variable is not forwarded by an upstream proxy. The flaw arises because usernames are inserted unescaped into LDAP search filters, and authentication only verifies that a matching entry exists; an attacker can supply a wildcard username via the HTTP Basic Authorization header (PHP_AUTH_USER) to match all users and groups, resulting in admin privileges. Exploitation requires the vulnerable authorization mode to be active and REMOTE_USER to be absent; installations using other auth backends or a correctly configured front-end proxy are not exploitable via this path. No public exploit code has been identified at time of analysis, and there is no confirmed active exploitation (CISA KEV).
RemediationAI
Apply the vendor-released patch by upgrading LibreNMS to version 26.9.0 or later, which fixes the unescaped LDAP filter construction in the affected authorization modes. Consult the vendor advisories for exact patch details: GitHub Security Advisory GHSA-7cmx-65c5-8h8v (https://github.com/librenms/librenms/security/advisories/GHSA-7cmx-65c5-8h8v) and the VulnCheck advisory (https://www.vulncheck.com/advisories/librenms-before-26.9.0-ldap-filter-injection-authentication-bypass-via-authorization-header). If immediate upgrade is not possible, consider disabling LDAP/AD authorization modes and switching to an alternative backend such as MySQL or local authentication; this removes the vulnerable code path but may reduce functionality and require user migration. Alternatively, ensure that a trusted front-end proxy or SSO layer always populates the REMOTE_USER variable, which prevents the attack from reaching the vulnerable logic; this requires careful configuration and proper trust boundaries. Both workarounds carry trade-offs and should be followed by upgrading as soon as feasible.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic LDAP filter injection (CWE-90) in LibreNMS's ldap-authorization and ad-authorization authentication modes. In these modes, the application builds LDAP search filters by concatenating the supplied username without proper escaping of special characters such as the asterisk wildcard. Because the authentication logic only checks for the existence of a matching directory entry (rather than verifying a password or binding as the user), an attacker who can reach the login endpoint and provide a crafted username can bypass authentication entirely. The attack vector is remote and unauthenticated (PR:N in both the CVSS 4.0 and CVSS 3.1 vectors), but it is gated by specific deployment prerequisites: the server must be configured to use LDAP or AD authorization, and the REMOTE_USER variable must not be populated by a trusted front-end proxy or SSO layer. This is reflected in the CVSS 4.0 vector's Attack Requirements (AT:P) and the assessed CVSS 3.1 AC:H (High complexity). The affected product is identified by the CPE cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*, covering all versions before 26.9.0. The root cause class is improper neutralization of special elements used in an LDAP query, which allows an attacker to alter the intended query semantics.
Know when Librenms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable and unauthenticated (AV:N/PR:N/UI:N); AC:H reflects the required ldap/ad-authorization mode plus unforwarded REMOTE_USER precondition; admin access yields full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
LibreNMS before 26.9.0 contains an LDAP filter injection in ldap-authorization and ad-authorization modes because usernames are inserted unescaped into LDAP search filters and authentication only checks user existence. When REMOTE_USER is not forwarded, unauthenticated attackers can send a wildcard username via HTTP Basic Authorization (PHP_AUTH_USER) to match all users and groups and gain admin access.
Technical POC Analysis
This is CWE-90: LDAP filter injection in LibreNMS external authentication code.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
LibreNMS, a widely used network monitoring platform, contains a critical authentication bypass (CVE-2026-109357) that can grant attackers administrative control when the system uses LDAP or Active Directory authorization and the upstream proxy fails to forward the REMOTE_USER variable. This exposes organizations to unauthorized access to network infrastructure data, configuration changes, and potential lateral movement. No vendor-released patch identified at time of analysis, so leadership must act quickly to mitigate risk on affected deployments.
Enable REMOTE_USER forwarding on upstream proxy, disable LDAP/AD authorization in favor of local or other auth backends, restrict network access to trusted IPs, and deploy WAF rules to block wildcard usernames in Authorization headers.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
An issue was discovered in LibreNMS through 1.47. Rated high severity (CVSS 7.2), this vulnerability is remotely exploit
Librenms 21.11.0 is affected by a path manipulation vulnerability in includes/html/pages/device/showconfig.inc.php. Rate
An issue was discovered in LibreNMS through 1.47. Rated critical severity (CVSS 9.8), this vulnerability is remotely exp
Authentication bypass in the LibreNMS REST API (all versions before 26.8.0) lets unauthenticated remote attackers reach
SQL injection in LibreNMS 25.12.0 and below. PoC and patch available.
An issue was discovered in LibreNMS through 1.47. Rated critical severity (CVSS 9.1), this vulnerability is remotely exp
SQL injection in LibreNMS versions 25.12.0 and below allows authenticated users to extract sensitive database informatio
LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. Rated high severity (CVSS 8.8), this vulnera
An issue was discovered in LibreNMS before 1.65.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploi
An issue was discovered in LibreNMS 1.50.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,
An issue was discovered in LibreNMS through 1.47. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit
Command injection in LibreNMS's Virtualization Discovery module enables authenticated administrator-level users to execu
EUVD-2026-97659
GHSA-rx4g-rhf6-xw5x
NVD
CVE.org
EPSS
Exploit-DB