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

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 22% of CVEs (2026-11-30)
- Published: 2026-07-31T02:38:28.243Z
- Modified: 2026-11-23T15:17:48.680Z
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- yggdrasil-worker-package-manager: before 0.1.4; from 0.2.0 before 0.2.4

## References

- <https://access.redhat.com/security/cve/CVE-2026-18157> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2465250> (issue-tracking)
- <https://github.com/RedHatInsights/yggdrasil-worker-package-manager/commit/959745bb5917c17f0316af199aace6c71baa5ad7>
- <https://github.com/RedHatInsights/yggdrasil-worker-package-manager/releases/tag/0.1.4>
- <https://github.com/RedHatInsights/yggdrasil-worker-package-manager/releases/tag/0.2.4>

## Sources

- CVE List: [CVE-2026-18157](https://www.cve.org/CVERecord?id=CVE-2026-18157), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-18157](https://nvd.nist.gov/vuln/detail/CVE-2026-18157), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-18157 · Whole record: https://cve.day/CVE-2026-18157.json · Rebuilt by cve.day 2026-11-25T22:59:30.678Z
