GHSA-7549-ggpq-22w8: Duplicate Advisory Remote Code Execution Vulnerability

HIGH
CWE-78
Published
Advisory Summary

GHSA-7549-ggpq-22w8 is a HIGH remote code execution vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Duplicate Advisory libraries in the Packagist ecosystem. The issue involves librenms is vulnerable to remote code execution by arbitrary file write. Remediation is available by upgrading affected packages to version 26.3.0.

GHSA-7549-ggpq-22w8 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-7549-ggpq-22w8
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product Duplicate Advisory
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-7549-ggpq-22w8

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

librenms/librenms fixed: 26.3.0
Upgrade librenms/librenms to 26.3.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for librenms/librenms

How to Check if You Are Affected

To determine whether your application is affected by GHSA-7549-ggpq-22w8, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for librenms/librenms

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 26.3.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-pr3g-phhr-h8fh. This link is maintained to preserve external references. ## Original Description LibreNMS versions before 26.3.0 are affected by an authenticated remote code execution vulnerability by abusing the Binary Locations config and the Netcommand feature. Successful exploitation requires administrative privileges. Exploitation could result in compromise of the underlying web server.

GHSA-7549-ggpq-22w8 Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
26.3.0
Product / Package Ecosystem Affected Versions Fixed Version
librenms/librenms
Packagist
< 26.3.0
26.3.0

References

Frequently Asked Questions

What is GHSA-7549-ggpq-22w8?
GHSA-7549-ggpq-22w8 is a security vulnerability in Duplicate Advisory involving LibreNMS is Vulnerable to Remote Code Execution by Arbitrary File Write under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 26.3.0 across affected packages: librenms/librenms.
What version fixes GHSA-7549-ggpq-22w8?
Upgrading to 26.3.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is librenms/librenms affected?
Yes, librenms/librenms is affected in releases prior to 26.3.0. Upgrade your dependency to 26.3.0 or later.
What CWE is associated with GHSA-7549-ggpq-22w8?
GHSA-7549-ggpq-22w8 is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.).
How can I check Packagist dependencies for GHSA-7549-ggpq-22w8?
Run the dependency tree command: 'inspect dependencies for librenms/librenms'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7549-ggpq-22w8",
  "modified" : "2026-04-14T22:51:57Z",
  "published" : "2026-04-13T12:31:15Z",
  "withdrawn" : "2026-04-14T22:51:57Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: LibreNMS is Vulnerable to Remote Code Execution by Arbitrary File Write",
  "details" : "## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-pr3g-phhr-h8fh. This link is maintained to preserve external references.\n\n## Original Description\nLibreNMS versions before 26.3.0 are affected by an authenticated remote code execution vulnerability by abusing the Binary Locations config and the Netcommand feature. Successful exploitation requires administrative privileges. Exploitation could result in compromise of the underlying web server.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "librenms/librenms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "26.3.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/librenms/librenms/security/advisories/GHSA-pr3g-phhr-h8fh"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-6204"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/librenms/librenms"
  }, {
    "type" : "WEB",
    "url" : "https://projectblack.io/blog/librenms-authenticated-rce-and-xss/#binary-path-rce-poc"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-78" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-14T22:51:57Z",
    "nvd_published_at" : "2026-04-13T11:16:06Z"
  }
}