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-8w6w-23mq-h8rg: Linuxfabrik Monitoring Plugins: Sudoers may be able to obtain privilege escalation via /usr/bin/apt-get arguments

0
High
Published: 07/02/2026 (07/02/2026, 20:23:56 UTC)
Source: GCVE Database
Product: linuxfabrik-lib

Description

A local privilege escalation vulnerability exists in the Linuxfabrik Monitoring Plugins sudoers configuration. The nagios user is allowed to run /usr/bin/apt-get via sudo without restrictions on command arguments, enabling arbitrary argument injection. This can lead to obtaining a root shell by exploiting apt-get's ability to execute commands before updates. The vulnerability requires prior compromise of the nagios user account. A fix involves restricting allowed apt-get arguments in the sudoers file to only those necessary for intended operations.

CVSS v4.0

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

Affected software

PyPIghsa
linuxfabrik-lib
Affected versions
<5.1.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/02/2026, 23:08:21 UTC

Technical Analysis

The vulnerability arises from the Debian.sudoers file in Linuxfabrik Monitoring Plugins, where the nagios user is permitted to run /usr/bin/apt-get with unrestricted arguments via sudo. This lack of argument enforcement allows an attacker with access to the nagios user to execute arbitrary commands as root by passing crafted apt-get arguments, such as using the Pre-Invoke option to spawn a root shell. The issue is a local privilege escalation requiring prior access to the nagios account. The recommended remediation is to restrict the sudoers entry to only allow specific apt-get arguments used by the monitoring plugin, preventing arbitrary command execution.

Potential Impact

This vulnerability allows a local attacker who has already compromised the nagios user account to escalate privileges to root by exploiting the unrestricted apt-get command execution via sudo. The impact is a full root shell on the affected system. However, exploitation requires prior access to the nagios user, which is a significant precondition.

Mitigation Recommendations

No official patch is currently available. The recommended mitigation is to modify the sudoers file to restrict the apt-get command to only the specific arguments required by the monitoring plugin, for example, allowing only 'apt-get update --quiet 2'. This prevents arbitrary argument injection and privilege escalation. Users should review and tighten sudoers permissions accordingly.

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-8w6w-23mq-h8rg
Osv Schema Version
1.4.0
Aliases
["CVE-2026-52817"]
Ecosystems
["PyPI"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a46ecb227e9c7971943c593

Added to database: 07/02/2026, 22:56:50 UTC

Last enriched: 07/02/2026, 23:08:21 UTC

Last updated: 07/03/2026, 02:07:45 UTC

Views: 3

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