Security mailing lists by PureSourceCode

CVE-2025-54138

HIGH 7.5CVSS 3.1

LibreNMS has Authenticated Remote File Inclusion in ajax_form.php that Allows RCE

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.

Published
22 Jul 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-98
Also known as
GHSA-gq96-8w38-hhj2
Sources
NVDJSONOSV GHSA-gq96-8w38-hhj2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD librenms librenms
cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*
< 25.7.0 25.7.0
OSV Packagist librenms/librenms < 25.7.0 25.7.0

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 22 Jul 2025)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 Jul 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.