CVE-2026-55182: Command Injection

Published Aug 18, 2026
·
Updated

Summary A vulnerability has been identified that allows an authenticated administrator to execute arbitrary code on the host server. By adding an alert transport entry, an attacker with administrative privileges can execute malicious commands.

Details The vulnerability is caused by an unsafe exec call in deliverAlert function of LibreNMS/Alert/Transport/Signal.php. Escapes for the path of signal-cli and the Recipient field are insufficient to prevent command-line injection.

The composerwrapper.php under scripts is also vulnerable to command injection (unsafe exec calls) by passing the injected command as an argument, and it is accepting arguments passed by deliverAlert.

By chaining these unsafe exec calls, malicious admin user can execute any executables in the server's filesystem.

PoC

1. Under Dashboard -> Alert -> Alert Transports

<img width="282" height="273" alt="image" src="https://github.com/user-attachments/assets/b72f55b0-b782-47d0-b4f7-75f498019345" />

2. Create a new Alert Transport entry. a. Select Signal as Transport type. b. Put ../scripts/composerwrapper.php into Path. c. Put the command to execute under Recipient with ; at the start and the end of string.

<img width="767" height="391" alt="image" src="https://github.com/user-attachments/assets/5e34bfa8-4bd5-40cb-9624-0d40e40ccdc5" />

3. . Click Save Transport, and after the popup closed, click Test Transport button under Action of the created Alert Transport entry.

<img width="172" height="90" alt="image" src="https://github.com/user-attachments/assets/7f83db07-fbf9-4be6-b247-533a6d7b9828" />

4. The command is executed. <img width="532" height="216" alt="image" src="https://github.com/user-attachments/assets/d595b0fe-10cc-4050-b4b9-d290b658689d" />

Impact This vulnerability allows a malicious actor to achieve Remote Code Execution (RCE), potentially leading to complete system compromise, data exfiltration, or lateral movement within the network.

Remediation Advice Escape user inputs, and avoid passing them directly into exec function. (scripts/composerwrapper.php) Avoid setting executable paths directly in web interface. Instead, use a config value, and only allow setting executable paths by command line interface. (LibreNMS/Alert/Transport/Signal.php)

Affected Software

1 affected componentFixes available
composer/librenms/librenms>=21.6.0<26.5.0
26.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/librenms/librenms to a version that resolves this vulnerability.

    Fixed in 26.5.0

Event History

Aug 18, 2026
Advisory Published
via GitHub·05:59 PM
Data Sourced
via GitHub·05:59 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

What level of access does an attacker need?

An attacker must already have authenticated administrative access to the LibreNMS interface. The documented exploitation path requires creating an Alert Transport entry and selecting the Signal transport type.

2

How is code execution triggered?

The attacker sets the Signal transport Path to ../scripts/composer_wrapper.php and places a command, using a semicolon, in the Recipient field. The Signal transport's unsafe exec call and composer_wrapper.php's handling of passed arguments can be chained to execute executables available on the host filesystem.

3

How can administrators look for signs of attempted exploitation?

Review Signal Alert Transport entries, particularly for a Path value of ../scripts/composer_wrapper.php or unexpected values, and inspect Recipient values for command-like content or semicolons. These fields are part of the described attack path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203