Skip to main content

yggdrasil-worker-package-manager CVE-2026-18157

| EUVDEUVD-2026-51380 HIGH
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-07-31 redhat GHSA-f9rr-qg3x-wq4m
7.8
CVSS 3.1 · Vendor: redhat
Share

Severity by source

Vendor (redhat) PRIMARY
7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.8 HIGH

Local vector with low-privilege access to submit a package name (AV:L/PR:L/AC:L), no scope change, but root-level execution yields full C/I/A impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat
7.8 HIGH
qualitative

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Patch available
Jul 31, 2026 - 04:17 EUVD
Source Code Evidence Fetched
Jul 31, 2026 - 03:15 vuln.today
Analysis Generated
Jul 31, 2026 - 03:15 vuln.today
CVE Published
Jul 31, 2026 - 02:38 cve.org
HIGH 7.8

DescriptionCVE.org

A flaw was found in yggdrasil-worker-package-manager. A local attacker with existing access to the system could exploit an argument injection vulnerability in the APT backend. This allows specially crafted package names, which begin with a hyphen, to be misinterpreted as command options by apt-get. Successful exploitation could lead to remote code execution (RCE) with root privileges, enabling the attacker to fully compromise the system's integrity, confidentiality, and availability.

AnalysisAI

Local privilege escalation to root via argument injection in the APT backend of yggdrasil-worker-package-manager, the Red Hat Insights remote package-management worker shipped with Red Hat Enterprise Linux 10. Because package names are passed directly to apt-get without an argument terminator, a name beginning with a hyphen is parsed as a command-line option rather than a package, letting an attacker who can influence the package list achieve root-level remote code execution. There is no public exploit identified at time of analysis and the issue is not listed in CISA KEV, but an upstream source fix is already merged and released in versions 0.1.4 and 0.2.4.

Technical ContextAI

yggdrasil is Red Hat's lightweight agent for dispatching management actions to hosts (used in Red Hat Insights remote-management workflows), and the package-manager worker executes install/remove operations on the host's behalf. On APT-based backends it shells out to apt-get with the requested package name. The root cause is CWE-88 (Improper Neutralization of Argument Delimiters / argument injection): apt-get treats any token starting with '-' as an option, and the code built the command line as {"--assume-yes", command} with no '--' end-of-options marker, so a crafted name such as '--<option>' is consumed as an apt-get flag. apt-get supports options that can trigger arbitrary command execution, and because the worker runs as root that execution inherits root privileges. The fix commit (959745b) appends '--' to cmdargs so all following tokens are unambiguously treated as package operands. Affected CPEs are cpe:2.3:a:redhatinsights:yggdrasil-worker-package-manager and cpe:2.3:a:red_hat:red_hat_enterprise_linux_10.

RemediationAI

Vendor-released patch: upgrade yggdrasil-worker-package-manager to 0.1.4 or 0.2.4 (whichever matches your deployed line), which add the '--' end-of-options terminator to the apt-get invocation (commit 959745bb5917c17f0316af199aace6c71baa5ad7). On Red Hat Enterprise Linux 10, apply the RHEL update carrying the fixed package and consult https://access.redhat.com/security/cve/CVE-2026-18157 and https://bugzilla.redhat.com/show_bug.cgi?id=2465250. If immediate patching is not possible, restrict who can trigger package operations through the worker and validate/whitelist package names so no operand can begin with a hyphen before it reaches the backend; where feasible, temporarily disable or gate the package-manager worker, accepting the trade-off that remote package management via yggdrasil will stop functioning. Because the worker runs as root, also audit which lower-privileged principals or upstream inputs can influence its package list as defense in depth.

CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

CVE-2026-28369 CRITICAL
9.1 Mar 27

HTTP request smuggling in Undertow (the embedded web server underpinning JBoss EAP, Red Hat Data Grid, and Apache Camel

CVE-2026-28368 CRITICAL
9.1 Mar 27

HTTP request smuggling in Red Hat Undertow allows remote unauthenticated attackers to bypass front-end security controls

CVE-2026-33845 CRITICAL
9.1 Apr 30

Out-of-bounds read in the GnuTLS DTLS handshake reassembly logic lets remote unauthenticated attackers trigger an intege

CVE-2026-28367 CRITICAL
9.1 Mar 27

HTTP request smuggling in Undertow allows remote unauthenticated attackers to send `\r\r\r` as a header block terminator

CVE-2026-16526 HIGH
8.8 Jul 30

Local privilege escalation in Performance Co-Pilot (PCP) on Red Hat Enterprise Linux 6 through 10 and OpenShift Containe

Vendor StatusVendor

Share

CVE-2026-18157 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy