{"id":"CVE-2025-5981","aliases":["CVE-2025-5981","GHSA-2hcm-q3f4-fjgw","GO-2025-3767"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary File write in OSV-SCALIBR","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"OSV-SCALIBR's Container Image Unpacking Vulnerable to Arbitrary File Write via Path Traversal in github.com/google/osv-scalibr","format":"markdown","source":"go"},{"lang":"es","text":"Escritura arbitraria de archivos como usuario OSV-SCALIBR en el sistema host mediante una vulnerabilidad de path traversal al usar la función unpack() de OSV-SCALIBR para imágenes de contenedor. En particular, al usar la opción CLI --remote-image en imágenes de contenedor no confiables.","source":"nvd"}],"published":"2025-06-18T08:28:02.899Z","modified":"2026-06-17T09:49:08.930Z","severity":{"scorer":"Google","scheme":"CVSS:4.0","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,"rating":"MEDIUM"},"severities":[{"scorer":"Google","scheme":"CVSS:4.0","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,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-22","CWE-427"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.3","fixed":"0.1.8","status":"affected"}],"vendor":"Google","product":"osv-scalibr","package":"osv-scalibr","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.3","status":"affected","fixed":"0.2.1"}],"ecosystem":"Go","package":"github.com/google/osv-scalibr","purl":"pkg:golang/github.com/google/osv-scalibr","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.1.3","status":"affected","fixed":"0.2.1"}],"ecosystem":"Go","package":"github.com/google/osv-scalibr","purl":"pkg:golang/github.com/google/osv-scalibr","source":"go"},{"ranges":[{"status":"affected","introduced":"0.1.3","fixed":"0.1.8"}],"vendor":"google","product":"osv-scalibr","cpe":"cpe:2.3:a:google:osv-scalibr:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/google/osv-scalibr/releases/tag/v0.1.8","tags":["release-notes","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276e9d59","tags":["fix","patch","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5981","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/google/osv-scalibr","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3767","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-2hcm-q3f4-fjgw","tags":["advisory"],"sources":["go"]}],"credits":["Anthony Weems of Google's Cloud Vulnerability Research team","Simon Scannell of Google's Cloud Vulnerability Research team","Stefan Schiller of Google's Cloud Vulnerability Research team"],"assigner":"Google","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-06-18T13:42:36.658Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-5981","url":"https://www.cve.org/CVERecord?id=CVE-2025-5981","licence":"CVE Terms of Use","modified":"2025-06-18T13:42:49.567Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2hcm-q3f4-fjgw","url":"https://github.com/advisories/GHSA-2hcm-q3f4-fjgw","licence":"CC-BY-4.0","modified":"2025-08-07T18:21:23.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3767","url":"https://pkg.go.dev/vuln/GO-2025-3767","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:41.294Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-5981","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5981","licence":"Public domain","modified":"2026-06-17T09:49:08.930Z"}],"updatedAt":"2026-11-25T22:58:59.332Z","epss":{"score":0.00219,"percentile":0.13171,"date":"2026-12-01T12:00:22.000Z"}}