← back
CVE-2026-26988

LibreNMS: SQL Injection in ajax_table.php spreads through a covert data stream

CVSS 9.3 CRITICALEPSS 7.4%CWE-89
In short

LibreNMS has a SQL Injection flaw in its search feature that lets attackers insert malicious SQL commands through IPv6 address input, potentially stealing or modifying database contents. This happens because user input isn't properly checked before being used in database queries.

Technical detail

SQL Injection vulnerability in ajax_table.php endpoint where the IPv6 prefix parameter is concatenated directly into SQL queries without parameterization or sanitization. Unauthenticated or low-privileged attackers can inject arbitrary SQL to exfiltrate sensitive data or modify database records by crafting malicious IPv6 addresses in search requests. Fixed in version 26.2.0.

Summary generated and translated by AI from the official description.
LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. Versions 25.12.0 and below contain an SQL Injection vulnerability in the ajax_table.php endpoint. The application fails to properly sanitize or parameterize user input when processing IPv6 address searches. Specifically, the address parameter is split into an address and a prefix, and the prefix portion is directly concatenated into the SQL query string without validation. This allows an attacker to inject arbitrary SQL commands, potentially leading to unauthorized data access or database manipulation. This issue has been fixed in version 26.2.0.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Affected products
librenms · librenms

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →