Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-54138

7.5 · HIGH
Published Jul 22, 2025 librenms CWE-98 EPSS 1.03% (61th pctl)

Overview

CVE-2025-54138 is a high-severity vulnerability affecting librenms librenms. It was published on July 22, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring which includes support for a wide range of network hardware and operating systems. LibreNMS versions 25.6.0 and below contain an architectural vulnerability in the ajax_form.php endpoint that permits Remote File Inclusion based on user-controlled POST input. The application directly uses the type parameter to dynamically include .inc.php files from the trusted path includes/html/forms/, without validation or allowlisting. This pattern introduces a latent Remote Code Execution (RCE) vector if an attacker can stage a file in this include path — for example, via symlink, development misconfiguration, or chained vulnerabilities. This is fixed in version 25.7.0.

Remediation

Check the references section for vendor advisories and patches from librenms. Update librenms to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
librenms librenms >= 0, < 25.7.0 Affected

Frequently Asked Questions

What is CVE-2025-54138?

CVE-2025-54138 is a high-severity vulnerability affecting librenms librenms. It was published on July 22, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2025-54138?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-54138?

Check the references section for vendor advisories and patches from librenms. Update librenms to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-54138?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-54138 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.