Remote File Inclusion Vulnerability in LibreNMS Network Monitoring Tool
CVE-2025-54138

7.5HIGH

Key Information:

Vendor

Librenms

Status
Vendor
CVE Published:
22 July 2025

What is CVE-2025-54138?

LibreNMS, an auto-discovering PHP/MySQL/SNMP-based network monitoring tool, contains an architectural flaw in the ajax_form.php endpoint. This vulnerability allows for Remote File Inclusion via unvalidated user POST input, specifically through the type parameter. Because this parameter is used directly to include .inc.php files from a designated trusted path, an attacker may exploit this weakness to perform Remote Code Execution if they can manipulate files in the inclusion path. This risk emerges from potential misconfigurations or through symlink exploitation. The issue has been addressed in version 25.7.0.

Affected Version(s)

librenms < 25.7.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.