{"id":"CVE-2026-55426","published":"2026-08-18T20:57:59Z","modified":"2026-08-20T18:26:01Z","title":"linuxfabrik-lib: Local privilege escalation using embedded command","vendor":"Linuxfabrik","product":"monitoring-plugins","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00211,"percentile":0.06494,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/Linuxfabrik/monitoring-plugins/security/advisories/GHSA-798h-hpph-m24j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Linuxfabrik/monitoring-plugins/commit/23bb570f41fc8d9caf30b30074bba0e3db1b357a","tags":["x_refsource_MISC"]},{"url":"https://github.com/Linuxfabrik/lib/blob/main/CHANGELOG.md","tags":["x_refsource_MISC"]},{"url":"https://github.com/Linuxfabrik/lib/releases/tag/v5.0.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/Linuxfabrik/monitoring-plugins/blob/main/CHANGELOG.md","tags":["x_refsource_MISC"]},{"url":"https://github.com/Linuxfabrik/monitoring-plugins/releases/tag/v6.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":1.3},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linuxfabrik","affectedVersions":[{"vendor":"Linuxfabrik","product":"monitoring-plugins","versions":["< 6.0.0"]},{"vendor":"Linuxfabrik","product":"lib","versions":["< 5.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-19T20:31:18.922121Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"linuxfabrik-lib","vulnerableRanges":["<5.0.0"],"patched":["5.0.0"],"from":["GHSA-798h-hpph-m24j","PYSEC-2026-2594"],"provenance":"source"}],"summary":{"text":"A flaw in the linuxfabrik-lib shared Python library, used by Linuxfabrik Monitoring Plugins, lets user-controlled values such as the --repo parameter of the restic-check plugin be embedded in command strings that the library splits at pipe characters and executes. An attacker with local access and a compromised nagios or icinga account, able to run the plugin via sudo and without any user interaction, can inject a pipe-delimited command that runs as root.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:14Z"},"euvd":{"id":"EUVD-2026-61493","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-53759","published":"2026-08-18","fixed":"4.2.0","kev":false},{"cve":"CVE-2026-55426","published":"2026-08-18","fixed":"5.0.0","kev":false},{"cve":"CVE-2026-52817","published":"2026-08-18","fixed":"5.1.0","kev":false,"link":{"from":"CVE-2026-55426","to":"CVE-2026-52817","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:linuxfabrik-lib","fromFixed":"5.0.0","toFixed":"5.1.0","daysApart":0}]}},{"cve":"CVE-2026-67435","published":"2026-07-29","fixed":"6.0.0","kev":false},{"cve":"CVE-2026-73974","published":"2026-08-18","fixed":"6.1.0","kev":false}],"package":"PyPI:linuxfabrik-lib"}}