CVE-2025-65093 LibreNMS is vulnerable to SQL Injection (Boolean-Based Blind) in hostname parameter in ajax_output.php endpoint

Medium 5.5 Published Updated

An attacker can perform boolean-based blind SQL injection via the hostname parameter to read database contents in LibreNMS.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-65093?

CVE-2025-65093 is a medium-severity SQL injection vulnerability in Librenms Librenms, published on 18 Nov 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. Prior to version 25.11.0, a boolean-based blind SQL injection vulnerability was identified in the LibreNMS application at the /ajax_output.php endpoint. The hostname parameter is interpolated directly into an SQL query without proper sanitization or parameter binding, allowing an attacker to manipulate the query logic and infer data from the database through conditional responses. This issue has been patched in version 25.11.0.

Weakness: CWE-89

Which versions are affected by CVE-2025-65093?

2 open source packages ship an affected version, including librenms/librenms. It affects 1 product.

PackageAffectedFixed in
librenms/librenms PackagistAll versions25.11.0
librenms/librenms PackagistAll versions25.11.0

Products include Librenms Librenms.

How do I fix CVE-2025-65093?

Upgrade librenms/librenms to 25.11.0 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-65093 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65093 exists.

All Librenms Librenms vulnerabilities

Sources

Also known as GHSA-6pmj-xjxp-p8g9.

Is CVE-2025-65093 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free