{"id":"CVE-2025-5981","aliases":["GHSA-2hcm-q3f4-fjgw","GO-2025-3767"],"url":"https://o3.security/vulnerability/CVE-2025-5981","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.","published":"2025-06-18T08:28:02.899Z","modified":"2026-07-15T01:48:52.318393932Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/google/osv-scalibr","fixedVersion":"0.2.1"}],"fix":{"url":"https://github.com/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276e9d59","label":"google/osv-scalibr@2444419"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:52.318393932Z"}}