Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
Lifecycle Timeline
4DescriptionCVE.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.
More in Red Hat Enterprise Linux 10
View allHeap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash
Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h
Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft
Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo
Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter
Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a
Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe
HTTP request smuggling in Undertow (the embedded web server underpinning JBoss EAP, Red Hat Data Grid, and Apache Camel
HTTP request smuggling in Red Hat Undertow allows remote unauthenticated attackers to bypass front-end security controls
Out-of-bounds read in the GnuTLS DTLS handshake reassembly logic lets remote unauthenticated attackers trigger an intege
HTTP request smuggling in Undertow allows remote unauthenticated attackers to send `\r\r\r` as a header block terminator
Local privilege escalation in Performance Co-Pilot (PCP) on Red Hat Enterprise Linux 6 through 10 and OpenShift Containe
Vendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-51380
GHSA-f9rr-qg3x-wq4m