<Vulnerability name="CVE-2026-18157">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Important</ThreatSeverity>
    <PublicDate>2026-07-30T20:11:17</PublicDate>
    <Bugzilla id="2465250" url="https://bugzilla.redhat.com/show_bug.cgi?id=2465250" xml:lang="en:us">
yggdrasil-worker-package-manager: yggdrasil-worker-package-manager: Remote Code Execution via APT Argument Injection
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>7.8</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-88</CWE>
    <Details xml:lang="en:us" source="Mitre">
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.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
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.
    </Details>
    <Acknowledgement xml:lang="en:us">
Red Hat would like to thank AISLE Research for reporting this issue.
    </Acknowledgement>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:10">
        <ProductName>Red Hat Enterprise Linux 10</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>yggdrasil-worker-package-manager</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-18157
https://nvd.nist.gov/vuln/detail/CVE-2026-18157
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
    </References>
</Vulnerability>