Nixpkgs Security Tracker

Login with GitHub

Details of issue NIXPKGS-2026-0330

NIXPKGS-2026-0330
published on 26 Feb 2026
updated 3 weeks, 4 days ago by @LeSuisse Activity log
  • Created automatic suggestion
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
LibreNMS: SQL Injection in ajax_table.php spreads through a covert data stream

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.

Affected products

librenms
  • ==< 26.2.0

Matching in nixpkgs

Package maintainers

Upstream advisory: https://github.com/librenms/librenms/security/advisories/GHSA-h3rv-q4rq-pqcv
Upstream patch: https://github.com/librenms/librenms/commit/15429580baba03ed1dd377bada1bde4b7a1175a1