LibreNMS before 26.8.0 Authentication Bypass via API Token Type Confusion
Fix:the vendor lists fixed versions See versions ↓
librenms · librenms
LibreNMS before 26.8.0 has an authentication bypass in its REST API, where numeric values sent in place of string API tokens are coerced by MySQL and can match stored token hashes. A remote, unauthenticated attacker with network access to the API needs no credentials or user interaction and can use small integers such as 0 through 9 to reach protected endpoints, including device credentials and administrative features that can lead to remote code execution through alert templates.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Public exploit code (PoC-in-GitHub) appeared 48 days after disclosure. No confirmed exploitation is recorded.
- Disclosedday 0
- Public exploit codePoC-in-GitHub+48 days
Affected versions and fixes
as published in the CVE recordlibrenms librenms
Affected: < 26.8.0
Not affected: 26.8.0