{
  "id": "CVE-2026-18157",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-18157",
  "published_at": "2026-07-31T02:38:28.243Z",
  "title": "Yggdrasil-worker-package-manager: yggdrasil-worker-package-manager: remote code execution via apt argument injection",
  "vendor": "RedHatInsights",
  "product": "yggdrasil-worker-package-manager",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-88",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "RedHatInsights",
        "product": "yggdrasil-worker-package-manager",
        "ranges": [
          "\u003c 0.1.4",
          "\u003e= 0.2.0, \u003c 0.2.4"
        ],
        "fixed_in": [
          "0.1.4",
          "0.2.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade yggdrasil-worker-package-manager to 0.1.4 or 0.2.4 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/RedHatInsights/yggdrasil-worker-package-manager/commit/959745bb5917c17f0316af199aace6c71baa5ad7"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/RedHatInsights/yggdrasil-worker-package-manager/releases/tag/0.1.4"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/RedHatInsights/yggdrasil-worker-package-manager/releases/tag/0.2.4"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
