CVE-2026-86426
largeAuthentication Bypass in LibreNMS REST API Enables Unauthenticated Access
LibreNMS before 26.8.0 contains an authentication bypass (CWE-287) in its REST API that lets unauthenticated attackers reach protected endpoints. The flaw stems from MySQL type coercion: when an attacker sends small integers such as 0 through 9 in place of a string API token, the database matches the numeric value against stored token hashes, bypassing token validation. Successful exploitation grants access to API functionality, including retrieval of device credentials and administrative features that can be leveraged for remote code execution through alert templates. Any LibreNMS deployment running a version prior to 26.8.0 is affected, particularly instances whose REST API is reachable by untrusted clients. No public proof-of-concept, KEV listing, or confirmed in-the-wild exploitation is known; EPSS currently estimates a 0.6% probability of exploitation within 30 days.
What to do: Upgrade to LibreNMS 26.8.0 or later. Until patched, restrict access to the REST API to trusted source addresses via firewall or reverse-proxy rules and review API logs for requests using numeric token values. Because the bypass can expose stored device credentials and enable RCE via alert templates, consider rotating device credentials (such as SNMP communities) on exposed instances if compromise is suspected.
| LibreNMS | all versions before 26.8.0 (< 26.8.0) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
LibreNMS before 26.8.0 contains an authentication bypass vulnerability in the REST API that allows unauthenticated attackers to access protected endpoints by sending numeric values instead of string tokens. Attackers can exploit MySQL type coercion by sending small integers like 0 through 9 to match token hashes, gaining access to API functionality including device credentials and administrative features that enable remote code execution through alert templates.
- Weakness
- CWE-287
- Vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.