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

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-07-06T21:13:38.000Z
- Modified: 2026-09-09T21:13:25.910Z
- Also known as: GHSA-798h-hpph-m24j, PYSEC-2026-2594
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Linuxfabrik monitoring-plugins: < 6.0.0
- Linuxfabrik lib: < 5.0.0
- linuxfabrik-lib (PyPI): before 5.0.0

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Linuxfabrik/monitoring-plugins/security/advisories/GHSA-798h-hpph-m24j> (web)
- <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> (package)
- <https://pypi.org/project/linuxfabrik-lib> (package)
- <https://github.com/advisories/GHSA-798h-hpph-m24j> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55426> (advisory)

## Sources

- CVE List: [CVE-2026-55426](https://www.cve.org/CVERecord?id=CVE-2026-55426), CVE Terms of Use, modified 2026-08-20
- GitHub Advisory Database: [GHSA-798h-hpph-m24j](https://github.com/advisories/GHSA-798h-hpph-m24j), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-55426](https://nvd.nist.gov/vuln/detail/CVE-2026-55426), Public domain, modified 2026-09-09
- PyPA Advisory Database: [PYSEC-2026-2594](https://osv.dev/vulnerability/PYSEC-2026-2594), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-55426 · Whole record: https://cve.day/CVE-2026-55426.json · Rebuilt by cve.day 2026-11-25T22:59:33.589Z
