{"id":"CVE-2026-18157","summary":"Yggdrasil-worker-package-manager: yggdrasil-worker-package-manager: remote code execution via apt argument injection","details":"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.","modified":"2026-08-12T03:51:42.569158858Z","published":"2026-07-31T02:38:28.243Z","database_specific":{"cwe_ids":["CWE-88"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18157.json","cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://github.com/RedHatInsights/yggdrasil-worker-package-manager/releases/tag/0.1.4"},{"type":"WEB","url":"https://github.com/RedHatInsights/yggdrasil-worker-package-manager/releases/tag/0.2.4"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-18157"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18157.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18157"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2465250"},{"type":"FIX","url":"https://github.com/RedHatInsights/yggdrasil-worker-package-manager/commit/959745bb5917c17f0316af199aace6c71baa5ad7"},{"type":"PACKAGE","url":"https://github.com/RedHatInsights/yggdrasil-worker-package-manager"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/redhatinsights/yggdrasil-worker-package-manager","events":[{"introduced":"0"},{"introduced":"6acf7ba2371cacc248fe8ebe26ce4a4ccc0b95a4"},{"fixed":"5860106629ae727c7f319b7ddaa3653540d3a0e8"},{"fixed":"74f90a5e080b4b8fccab7dcdee46b112128d75a0"},{"fixed":"959745bb5917c17f0316af199aace6c71baa5ad7"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.1.4"},{"introduced":"0.2.0"},{"fixed":"0.2.4"}]}}],"versions":["0.1.3.2","0.1.3.1","0.1.3","v0.2.3","0.1.2","0.1.1","0.2.2","0.2.1","0.1.0","0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18157.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}