linuxfabrik-lib: Local privilege escalation using embedded command
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linuxfabrik | monitoring-plugins | before 6.0.0 | 6.0.0 | Patch available | CNA |
| Linuxfabrik | lib | before 5.0.0 | 5.0.0 | Patch available | CNA |
| — | linuxfabrik-lib (PyPI) | before 5.0.0 | 5.0.0 | Patch available | GHSA-798h-hpph-m24j |
- monitoring-plugins VendorLinuxfabrik Affected before 6.0.0 Fixed in 6.0.0 Patch available CNA
- lib VendorLinuxfabrik Affected before 5.0.0 Fixed in 5.0.0 Patch available CNA
- linuxfabrik-lib (PyPI) Vendor— Affected before 5.0.0 Fixed in 5.0.0 Patch available GHSA-798h-hpph-m24j
Remediation
- Fix · CNA monitoring-plugins (Linuxfabrik) Fixed in 6.0.0
- Fix · CNA lib (Linuxfabrik) Fixed in 5.0.0
- Fix · GHSA-798h-hpph-m24j linuxfabrik-lib (PyPI) Fixed in 5.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-55426
- 2026-10-03 Alias added: GHSA-798h-hpph-m24j
References
Other 7
- 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://github.com/Linuxfabrik/monitoring-plugins
More Linuxfabrik vulnerabilities
- TI-2026-37926 Linuxfabrik Monitoring Plugins Sudoers: /usr/bin/apt-get arguments allow privilege escalation CVSS 4.0HIGH 7.0
- TI-2026-51979 linuxfabrik-lib: Arbitrary root file read via live --test argument (lib.lftest) across sudoers-whitelisted plugins (LPE) CVSS 3.1MEDIUM 5.5
- TI-2026-51978 Linuxfabrik Monitoring Plugins: Arbitrary root file disclosure via unconfined --filename in logfile plugin (sudoers LPE) CVSS 3.1MEDIUM 5.5
- TI-2026-38766 linuxfabrik-lib: Insecure creation of SQLite databases CVSS 4.0LOW 2.0
- TI-2026-47716 Linuxfabrik monitoring-plugins: SSRF and auth-token disclosure via unvalidated @odata.id link in redfish-* plugins CVSS 4.0HIGH 8.3
- TI-2026-47715 linuxfabrik-lib: fetch() forwards credential headers across a cross-origin redirect CVSS 4.0MEDIUM 6.0
Sources
- CVE-2026-55426 · CVE Program
- CVE-2026-55426 · NVD
- FIRST EPSS
- GHSA-798h-hpph-m24j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences