Unauthenticated API access via numeric token coercion
Published Sep 7, 2026 · Updated Sep 8, 2026
Authentication bypass in LibreNMS before 26.8.0 allows remote attackers to access protected REST API endpoints without a valid token. The ApiTokenGuard preserves the JSON type of api_token, and ApiToken::isValid compares an attacker-supplied integer with the text token_hash column, causing MySQL to coerce token hashes to small numbers. At least one enabled API token must exist; a match grants that token owner's API access, which can expose device credentials and, for an administrator token, enable code execution through alert templates.
Summary
What happened
Authentication bypass in LibreNMS before 26.8.0 allows remote attackers to access protected REST API endpoints without a valid token. The ApiTokenGuard preserves the JSON type of api_token, and ApiToken::isValid compares an attacker-supplied integer with the text token_hash column, causing MySQL to coerce token hashes to small numbers. At least one enabled API token must exist; a match grants that token owner's API access, which can expose device credentials and, for an administrator token, enable code execution through alert templates.
The record
- CVE
- CVE-2026-86426
- Published
- Sep 7, 2026
- Updated
- Sep 8, 2026
- Vendor
- LibreNMS
- Product
- LibreNMS
- Classifications
- CWE-287, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 7, 2026CVE publishedPublication date reported by the CVE source.
- Sep 8, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <26.8.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- GHSA numeric-token bypass and alert-template exploitfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo