{"answers":{"affected":"6 open source packages ship an affected version, including chainguard.dev/apko and chainguard.dev/melange.","exploited":"There is no known exploitation of CVE-2026-54174 in the wild and no public exploit code.","fix":"Upgrade chainguard.dev/apko to 1.2.9 or later.","what":"CVE-2026-54174 is a high-severity vulnerability in chainguard-dev apko, published on 11 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-54174 and fix it if it is affected.\n\nWhat it is: CVE-2026-54174 is a high-severity vulnerability in chainguard-dev apko, published on 11 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-54174 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- chainguard.dev/apko (Go): affected all versions; fixed in 1.2.9\n- chainguard.dev/apko (Go): affected all versions; fixed in 1.2.9\n- chainguard.dev/apko (Go): affected all versions; fixed in 1.2.9\n- chainguard.dev/melange (Go): affected all versions; fixed in 0.50.4\n- chainguard.dev/melange (Go): affected all versions; fixed in 0.50.4\n- chainguard.dev/melange (Go): affected all versions; fixed in 0.50.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54174/ (Markdown: https://insights.sbomify.com/CVE-2026-54174/index.md)","id":"CVE-2026-54174","markdown":"https://insights.sbomify.com/CVE-2026-54174/index.md","name":"CVE-2026-54174","record":{"aliases":["CLEANSTART-2026-DP32029","CLEANSTART-2026-MS06455","GHSA-fpg8-7664-jc5q","GO-2026-5968","MINI-2v5v-3h24-46w9","MINI-mc47-6rpp-9mx5","openSUSE-SU-2026:11829-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Go package builder","requires_auth":"none","summary":"Attackers can substitute package contents during fetches because data section hashes are not verified, allowing malicious code execution.","user_interaction":"required","vuln_class":"supply_chain"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-354","name":"Improper Validation of Integrity Check Value"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"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.","ecosystems":["Go","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"melange: Incomplete package integrity verification allows data section substitution","id":"CVE-2026-54174","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"supply_chain","year":"2026"},"n_packages":7,"n_references":1,"next":{"headline":"backpack/crud: Unverified password change in MyAccountController via mass assignment","id":"CVE-2026-54175"},"packages":[{"ecosystem":"Go","fixed":["1.2.9"],"introduced":["0"],"last_affected":[],"package":"chainguard.dev/apko","purl":null,"source":"GHSA-fpg8-7664-jc5q"},{"ecosystem":"Go","fixed":["1.2.9"],"introduced":["0"],"last_affected":[],"package":"chainguard.dev/apko","purl":"pkg:golang/chainguard.dev/apko","source":"GHSA-fpg8-7664-jc5q"},{"ecosystem":"Go","fixed":["1.2.9"],"introduced":["0"],"last_affected":[],"package":"chainguard.dev/apko","purl":"pkg:golang/chainguard.dev/apko","source":"GO-2026-5968"},{"ecosystem":"Go","fixed":["0.50.4"],"introduced":["0"],"last_affected":[],"package":"chainguard.dev/melange","purl":null,"source":"GHSA-fpg8-7664-jc5q"},{"ecosystem":"Go","fixed":["0.50.4"],"introduced":["0"],"last_affected":[],"package":"chainguard.dev/melange","purl":"pkg:golang/chainguard.dev/melange","source":"GHSA-fpg8-7664-jc5q"},{"ecosystem":"Go","fixed":["0.50.4"],"introduced":["0"],"last_affected":[],"package":"chainguard.dev/melange","purl":"pkg:golang/chainguard.dev/melange","source":"GO-2026-5968"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.4.4-1.1"],"introduced":["0"],"last_affected":[],"package":"apko","purl":"pkg:rpm/opensuse/apko\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11829-1"}],"prev":{"headline":"Excon: redact additional sensitive/risky headers when following redirects","id":"CVE-2026-54171"},"products":["apko","melange"],"published":"2026-09-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["chainguard-dev"]},"summary":"Attackers can substitute package contents during fetches because data section hashes are not verified, allowing malicious code execution.","url":"https://insights.sbomify.com/CVE-2026-54174/"}