CVE-2026-18157

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductRedhatinsights Yggdrasil-worker-package-manager
PublishedJul 31, 2026
First seenJul 31, 2026
Weakness typeCWE-88CWE-88

How to fix

Update
  • RedHatInsights yggdrasil-worker-package-manager0.1.4, 0.2.4 or later

Affected products

ProductAffected versionsFixed in
RedHatInsights yggdrasil-worker-package-managerv < 0.1.4, 0.2.0 ≤ v < 0.2.40.1.4, 0.2.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.