{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-5981","id":"CVE-2025-5981","title":"Arbitrary File write in OSV-SCALIBR","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.","descriptionLong":"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","updated":"2026-10-28T02:30:25.088463106Z","reserved":"2025-06-10T12:31:04.353Z","status":"Analyzed","rejected":false,"assigner":"Google","metric":{"version":"4.0","score":5.7,"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","source":"Google"},"metrics":[{"version":"4.0","score":5.7,"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","source":"Google"},{"version":"4.0","score":5.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"google.com"},{"version":"4.0","score":null,"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":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Google osv-scalibr"],"affectedProducts":[{"vendor":"Google","product":"osv-scalibr","defaultStatus":"unaffected","versions":[{"lessThan":"0.1.8","status":"affected","version":"0.1.3","versionType":"semver"}],"platforms":[]}],"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"],"advisory":"GHSA-2hcm-q3f4-fjgw"}],"cwes":["CWE-427","CWE-22"],"aliases":["GHSA-2hcm-q3f4-fjgw","GO-2025-3767"],"references":[{"url":"https://github.com/google/osv-scalibr/releases/tag/v0.1.8","tags":["Release Notes","web"]},{"url":"https://github.com/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276e9d59","tags":["Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5981.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5981","tags":["advisory"]},{"url":"https://github.com/google/osv-scalibr","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3767","tags":["web"]},{"url":"https://github.com/advisories/GHSA-2hcm-q3f4-fjgw","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00219,"epssPercentile":0.12524,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-5981","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5981","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-5981","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2hcm-q3f4-fjgw","ok":true,"note":"GHSA-2hcm-q3f4-fjgw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-5981","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}