CVE-2026-18157

Source
https://cve.org/CVERecord?id=CVE-2026-18157
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18157.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-18157
Published
2026-07-31T02:38:28Z
Modified
2026-11-05T21:15:50Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-88"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18157.json"
}
References

Affected packages

Git / github.com/redhatinsights/yggdrasil-worker-package-manager

Affected ranges

Type
GIT
Repo
https://github.com/redhatinsights/yggdrasil-worker-package-manager
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "0.1.4"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "introduced": "0.2.0"
                },
                {
                    "fixed": "0.2.4"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "fixed": "959745bb5917c17f0316af199aace6c71baa5ad7"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "0.1.4",
            "range": [
                {
                    "fixed": "5860106629ae727c7f319b7ddaa3653540d3a0e8"
                }
            ],
            "source": "REFERENCES_TAG"
        },
        {
            "original_tag": "0.2.4",
            "range": [
                {
                    "fixed": "74f90a5e080b4b8fccab7dcdee46b112128d75a0"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.1.3.1
0.1.3.2
0.2.0
0.2.1
0.2.2
v0.*
v0.2.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18157.json"