{"cve":"CVE-2025-5981","nvd":{"published":"2025-06-18T09:15:47.660","modified":"2026-06-17T09:49:08.930","status":"Analyzed","description":"Arbitrary file write as the OSV-SCALIBR user on the host system via a path traversal vulnerability when using OSV-SCALIBR's unpack() function for container images. Particularly, when using the CLI flag --remote-image on untrusted container images.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N","score":5.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5},"cwes":["CWE-22","CWE-427"],"references":["https://github.com/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276e9d59","https://github.com/google/osv-scalibr/releases/tag/v0.1.8"],"products":["google:osv-scalibr"],"source":"nvd","synced_at":"2026-10-19T22:03:23.287444849+00:00"},"epss":{"cve":"CVE-2025-5981","score":0.00217,"percentile":0.12246,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2hcm-q3f4-fjgw","url":"https://osv.dev/vulnerability/GHSA-2hcm-q3f4-fjgw","summary":"OSV-SCALIBR's Container Image Unpacking Vulnerable to Arbitrary File Write via Path Traversal","modified":"2025-08-07T18:21:23Z","packages":[{"ecosystem":"Go","name":"github.com/google/osv-scalibr","purl":"pkg:golang/github.com/google/osv-scalibr","ranges":[">=0.1.3 <0.2.1"],"fixed":["0.2.1"]}]},{"id":"GO-2025-3767","url":"https://osv.dev/vulnerability/GO-2025-3767","summary":"OSV-SCALIBR's Container Image Unpacking Vulnerable to Arbitrary File Write via Path Traversal in github.com/google/osv-scalibr","modified":"2026-03-03T04:56:41.294222Z","packages":[{"ecosystem":"Go","name":"github.com/google/osv-scalibr","purl":"pkg:golang/github.com/google/osv-scalibr","ranges":[">=0.1.3 <0.2.1"],"fixed":["0.2.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}