CVE-2026-18157 Yggdrasil-worker-package-manager: yggdrasil-worker-package-manager: remote code execution via apt argument injection

High 7.8 Published Updated

A local attacker can achieve root code execution by injecting arguments into apt-get via crafted package names in the Yggdrasil worker package manager.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-18157?

CVE-2026-18157 is a high-severity command injection vulnerability in Red Hat Enterprise Linux 10, published on 31 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-88

Which versions are affected by CVE-2026-18157?

How do I fix CVE-2026-18157?

No fix has been published for CVE-2026-18157 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-18157 being exploited?

There is no known exploitation of CVE-2026-18157 in the wild and no public exploit code.

Sources

Also known as GHSA-f9rr-qg3x-wq4m.

Is CVE-2026-18157 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free