CVE-2026-55426
CVE-2026-55426 · linuxfabrik-lib: Local privilege escalation using embedded command
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
linuxfabrik-lib provides Python modules for database access, caching, shell execution, and API integrations, and Linuxfabrik Monitoring Plugins uses those modules to run external monitoring commands. From the earliest affected releases until linuxfabrik-lib 5.0.0 and Linuxfabrik Monitoring Plugins 6.0.0, check plugins embedded user-controlled values in command strings passed to lib.shell.shell_exec(), which split strings at pipe characters and executed the resulting commands. In check-plugins/restic-check/restic-check, the --repo parameter could inject a pipe-delimited command into a constructed restic invocation, and sudo-authorized execution allowed a compromised nagios or icinga account to run that command as root. The shared library also accepted command strings and a shell parameter, while numerous plugins constructed external commands from attacker-influenced arguments. The fixes require argv lists, always use shell=False, remove pipe splitting, and reject option-like positional values through lib.shell.safe_cli_value(). These issues are fixed in linuxfabrik-lib 5.0.0 and Linuxfabrik Monitoring Plugins 6.0.0.
CVSS 7.8 · Élevée · EPSS 0,2% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: python
Produits et versions concernés
monitoring-plugins
- Versions du logiciel
- < 6.0.0: Concernée
Aucun correctif publié
lib
- Versions du logiciel
- < 5.0.0: Concernée
Aucun correctif publié
linuxfabrik-lib PyPI
- Versions du logiciel
- 2.0.0.0
- 2.0.0.7
- 2.1.0.0
- 2.1.0.4
- 2.1.1.15
- 2.1.1.5
- 2.1.1.7
- 2.2.0
- 2.2.1
- 2.3.0
- 2.4.0
- 3.0.0
- 3.1.0
- 3.1.1
- 3.2.0
- 3.3.0
- 3.4.0
- 3.4.1
- 4.0.0
- 4.0.1
- 4.0.2
- 4.1.0
- 4.2.0
- 4.3.0
- 4.4.0
- Plages de versions concernées
- ECOSYSTEM: < 5.0.0
Mettez à jour vers 5.0.0
Sources originales
- https://github.com/Linuxfabrik/monitoring-plugins/security/advisories/GHSA-798h-hpph-m24j
- https://github.com/Linuxfabrik/monitoring-plugins/commit/23bb570f41fc8d9caf30b30074bba0e3db1b357a
- https://github.com/Linuxfabrik/lib/blob/main/CHANGELOG.md
- https://github.com/Linuxfabrik/lib/releases/tag/v5.0.0
- https://github.com/Linuxfabrik/monitoring-plugins/blob/main/CHANGELOG.md
- https://github.com/Linuxfabrik/monitoring-plugins/releases/tag/v6.0.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-55426