{"id":"CVE-2026-18157","state":"PUBLISHED","title":"Yggdrasil-worker-package-manager: yggdrasil-worker-package-manager: remote code execution via apt argument injection","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.","publishedAt":"2026-07-31T02:38:28.243Z","updatedAt":"2026-07-31T15:58:53.619Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"redhat"},"assigner":"redhat","products":["RedHatInsights yggdrasil-worker-package-manager","Red Hat Red Hat Enterprise Linux 10"],"affected":[{"vendor":"RedHatInsights","product":"yggdrasil-worker-package-manager","packageName":"yggdrasil-worker-package-manager","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.1.4","versionType":"semver"},{"version":"0.2.0","status":"affected","lessThan":"0.2.4","versionType":"semver"}],"collectionURL":"https://github.com/RedHatInsights/yggdrasil-worker-package-manager"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","packageName":"yggdrasil-worker-package-manager","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:10"]}],"references":["https://access.redhat.com/security/cve/CVE-2026-18157","https://bugzilla.redhat.com/show_bug.cgi?id=2465250","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"],"weaknesses":["CWE-88"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/18xxx/CVE-2026-18157.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-18157","state":"PUBLISHED","datePublished":"2026-07-31T02:38:28.243Z","dateUpdated":"2026-07-31T15:58:53.619Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2026-07-28T20:03:33.510Z"},"containers":{"cna":{"title":"Yggdrasil-worker-package-manager: yggdrasil-worker-package-manager: remote code execution via apt argument injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"RedHatInsights","product":"yggdrasil-worker-package-manager","packageName":"yggdrasil-worker-package-manager","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.1.4","versionType":"semver"},{"version":"0.2.0","status":"affected","lessThan":"0.2.4","versionType":"semver"}],"collectionURL":"https://github.com/RedHatInsights/yggdrasil-worker-package-manager"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","packageName":"yggdrasil-worker-package-manager","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:10"]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-18157","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2465250","name":"RHBZ#2465250","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/RedHatInsights/yggdrasil-worker-package-manager/commit/959745bb5917c17f0316af199aace6c71baa5ad7"},{"url":"https://github.com/RedHatInsights/yggdrasil-worker-package-manager/releases/tag/0.1.4"},{"url":"https://github.com/RedHatInsights/yggdrasil-worker-package-manager/releases/tag/0.2.4"}],"metrics":[{"other":{"content":{"value":"Important","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-88","description":"Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2026-07-31T02:38:28.243Z"},"datePublic":"2026-07-30T20:11:17.276Z","x_redhatCweChain":"CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","timeline":[{"lang":"en","time":"2026-05-04T14:54:08.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2026-07-30T20:11:17.276Z","value":"Made public."}],"credits":[{"lang":"en","value":"Red Hat would like to thank AISLE Research for reporting this issue."}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-31T15:54:47.332670Z","id":"CVE-2026-18157","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-31T15:58:53.619Z"}}]}}}