{"schema_version":"1.9.0","id":"CVE-2025-5981","published":"2025-06-18T08:28:02.899Z","modified":"2026-08-12T03:51:43.648445449Z","aliases":["GHSA-2hcm-q3f4-fjgw","GO-2025-3767"],"related":["openSUSE-SU-2025:15405-1"],"summary":"Arbitrary File write in OSV-SCALIBR","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/google/osv-scalibr","events":[{"introduced":"0269a5bd7e13f051d16ba70ef4f716e0d28808fb"},{"fixed":"efb5afd2f15bd155d27c8aa8717dd5ce25e0b28c"},{"fixed":"2444419b1818c2d6917fc3394c947fb3276e9d59"}],"database_specific":{"cpe":"cpe:2.3:a:google:osv-scalibr:*:*:*:*:*:go:*:*","extracted_events":[{"introduced":"0.1.3"},{"fixed":"0.1.8"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v0.2.0","v0.1.8","v0.1.7","v0.1.6","v0.1.5","v0.1.4","v0.1.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5981.json"}}],"references":[{"type":"WEB","url":"https://github.com/google/osv-scalibr/releases/tag/v0.1.8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5981.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5981"},{"type":"FIX","url":"https://github.com/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276e9d59"},{"type":"PACKAGE","url":"https://github.com/google/osv-scalibr"}],"database_specific":{"cna_assigner":"Google","cwe_ids":["CWE-427"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5981.json"},"severity":[{"type":"CVSS_V4","score":"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"}]}