{"answers":{"affected":"3 open source packages ship an affected version, including github.com/aquasecurity/trivy. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-55092 in the wild and no public exploit code.","fix":"Upgrade github.com/aquasecurity/trivy to 0.71.1 or later.","what":"CVE-2026-55092 is a high-severity path traversal vulnerability in aquasecurity trivy, published on 25 Jun 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-55092 and fix it if it is affected.\n\nWhat it is: CVE-2026-55092 is a high-severity path traversal vulnerability in aquasecurity trivy, published on 25 Jun 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-55092 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/aquasecurity/trivy (Go): affected all versions; fixed in 0.71.1\n- github.com/aquasecurity/trivy (Go): affected all versions; fixed in 0.71.1\n- github.com/aquasecurity/trivy (Go): affected all versions; fixed in 0.71.1\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-55092/ (Markdown: https://insights.sbomify.com/CVE-2026-55092/index.md)","id":"CVE-2026-55092","markdown":"https://insights.sbomify.com/CVE-2026-55092/index.md","name":"CVE-2026-55092","record":{"aliases":["GHSA-mcj4-mphf-j9ff","GO-2026-6294","MINI-46gf-4h67-9q7v","MINI-48q6-3gv2-h459","MINI-52j7-25r3-v4m8","MINI-57mh-q5qm-5mvx","MINI-5r54-v82p-v9q5","MINI-5rh4-8gwg-q5qj","MINI-67cm-vpwj-f4qf","MINI-7pm3-79qv-wvfx","MINI-7rjw-rhrp-922r","MINI-8c38-53r5-69wc","MINI-8f4g-9gqg-j2fj","MINI-9hfr-fm35-4xf5","MINI-9xv9-56fh-pcvv","MINI-c4fg-gm5w-mcx3","MINI-c8gr-3v3r-grj9","MINI-cqx3-28jj-24pf","MINI-cwjf-j5wq-ccvj","MINI-fgpp-h8pj-gmvw","MINI-h5vj-3jmr-h9mm","MINI-j4r6-fpq5-g6r9","MINI-pxmp-7x86-v82m","MINI-q74v-rcrx-wvwv","MINI-qr37-w57w-4646","MINI-r3h2-96qq-7q4v","MINI-r756-fjpw-hf3v","MINI-w65q-ppp7-9f35","MINI-x4vv-9q8v-x5pm"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Trivy security scanner","requires_auth":"none","summary":"An attacker can force Trivy to write files to arbitrary locations on the host filesystem by crafting a malicious OCI artifact annotation.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"trivy","vendor":"aquasec"}],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Trivy is a security scanner. Prior to 0.71.1, when Trivy downloads an OCI artifact, it uses the org.opencontainers.image.title annotation from the artifact manifest as the destination filename without validation. An attacker who can make Trivy fetch an attacker-controlled artifact can supply a crafted annotation that resolves to a path outside the intended destination, causing Trivy to write the layer content to an arbitrary location on the host filesystem. This vulnerability is fixed in 0.71.1.","ecosystems":["Go"],"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":"Trivy: Path traversal via a crafted vulnerability database or other downloaded artifacts","id":"CVE-2026-55092","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"tract-nnef: integer overflow in NNEF `.dat` tensor parser yields an out-of-bounds read on model load","id":"CVE-2026-55093"},"packages":[{"ecosystem":"Go","fixed":["0.71.1"],"introduced":["0"],"last_affected":[],"package":"github.com/aquasecurity/trivy","purl":null,"source":"GHSA-mcj4-mphf-j9ff"},{"ecosystem":"Go","fixed":["0.71.1"],"introduced":["0"],"last_affected":[],"package":"github.com/aquasecurity/trivy","purl":"pkg:golang/github.com/aquasecurity/trivy","source":"GHSA-mcj4-mphf-j9ff"},{"ecosystem":"Go","fixed":["0.71.1"],"introduced":["0"],"last_affected":[],"package":"github.com/aquasecurity/trivy","purl":"pkg:golang/github.com/aquasecurity/trivy","source":"GO-2026-6294"}],"prev":{"headline":"flat-to-nested: Prototype pollution in flat-to-nested convert() via __proto__ parent/id key","id":"CVE-2026-55091"},"products":["trivy"],"published":"2026-06-25","related":[{"cvss_score":6.9,"headline":"Trivy: Helm chart tar bomb causes OOM via unbounded io.ReadAll in parser","id":"CVE-2026-54448","kev_date_added":null,"published":"2026-06-25"}],"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":"US public information, NVD API terms","name":"NVD"},{"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":"partial"},"state":"PUBLISHED","updated":"2026-06-26","vendors":["aquasecurity"]},"summary":"An attacker can force Trivy to write files to arbitrary locations on the host filesystem by crafting a malicious OCI artifact annotation.","url":"https://insights.sbomify.com/CVE-2026-55092/"}