Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-798h-hpph-m24j: Linuxfabrik Monitoring Plugins have local privilege escalation using embedded command

0
High
Published: 07/06/2026 (07/06/2026, 21:13:38 UTC)
Source: GCVE Database
Product: linuxfabrik-lib

Description

Linuxfabrik Monitoring Plugins contain a local privilege escalation vulnerability due to unsafe use of shell_exec with user input. Specifically, user-supplied arguments are embedded directly into shell commands without proper escaping, allowing command injection. This is especially critical for plugins run with sudo privileges, enabling attackers controlling the nagios user to execute arbitrary commands as root. The vulnerability is fixed by changing the command execution to use argument arrays without shell interpretation, preventing injection. Versions prior to 5.0.0 of linuxfabrik-lib are affected.

CVSS v3.1

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

PyPIghsa
linuxfabrik-lib
Affected versions
<5.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/06/2026, 23:11:25 UTC

Technical Analysis

The vulnerability arises from the use of shell_exec in Linuxfabrik Monitoring Plugins where user input is directly embedded into shell command strings. For example, the restic-check plugin places the --repo argument inside a shell_exec command string, allowing an attacker to inject additional commands separated by pipe characters. This enables local privilege escalation when the plugin is run with elevated privileges, such as via sudo for the nagios user. The fix involves removing the pipe-based command splitting and requiring commands to be passed as argument arrays to shell_exec, which disables shell interpretation and injection. Additional safeguards include escaping positional arguments and building argument lists to prevent option injection. The vulnerability is tracked as CVE-2026-55426 and affects linuxfabrik-lib versions before 5.0.0, with fixes included in linuxfabrik-lib 5.0.0 and Monitoring Plugins releases after v5.2.0.

Potential Impact

This vulnerability allows a local attacker with control over the nagios user to escalate privileges to root by injecting arbitrary commands into plugin arguments that are executed with elevated privileges. The impact includes full system compromise due to root access. The CVSS 3.1 vector rates this as AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local attack vector, low attack complexity, required privileges as low (nagios user), no user interaction, unchanged scope, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

A fix is available in linuxfabrik-lib version 5.0.0 and Linuxfabrik Monitoring Plugins releases after v5.2.0. These versions remove the vulnerable pipe-based command splitting and require commands to be passed as argument arrays to shell_exec, eliminating shell injection risks. Users should upgrade to these fixed versions. The vendor advisory does not indicate any alternative mitigations or temporary workarounds. Patch status is confirmed by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-798h-hpph-m24j
Osv Schema Version
1.4.0
Aliases
["CVE-2026-55426"]
Ecosystems
["PyPI"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a4c340227e9c797195f5e57

Added to database: 07/06/2026, 23:02:26 UTC

Last enriched: 07/06/2026, 23:11:25 UTC

Last updated: 07/06/2026, 23:11:25 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses