{
  "id": "CVE-2026-54174",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-54174",
  "published_at": "2026-09-11T21:05:30.789Z",
  "title": "melange: Incomplete package integrity verification allows data section substitution",
  "vendor": "chainguard-dev",
  "product": "melange",
  "cvss": {
    "score": 8.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/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": "melange allows users to build apk packages using declarative pipelines. Apko prior to version 1.2.9, corresponding to melange prior to version 0.50.4, verified the control section hash (`.PKGINFO` etc.) against the signed `APKINDEX`, but never verified the data section hash (the actual package files that get installed). An attacker who could compromise a mirror, poison a cache, or MITM a package fetch could substitute arbitrary file contents while the control hash check still passed. Apko version 1.2.9 and melange version 0.50.4 contain a fix.",
  "cwe": "CWE-354",
  "cvss_by_source": {
    "cna": 8.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "chainguard-dev",
        "product": "melange",
        "ranges": [
          "\u003c 0.50.4"
        ],
        "fixed_in": [
          "0.50.4"
        ]
      },
      {
        "vendor": "chainguard-dev",
        "product": "apko",
        "ranges": [
          "\u003c 1.2.9"
        ],
        "fixed_in": [
          "1.2.9"
        ]
      }
    ],
    "upgrade": [
      "Upgrade melange to 0.50.4 or later.",
      "Upgrade apko to 1.2.9 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/chainguard-dev/melange/security/advisories/GHSA-fpg8-7664-jc5q"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
