CVE-2025-5981 json
Arbitrary File write in OSV-SCALIBR
published 2025-06-18 16 mo ago modified 2026-06-17 4 mo ago also GHSA-2hcm-q3f4-fjgw , GO-2025-3767 , EUVD-2025-18630
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/google/osv-scalibr 0.2.1
- Google osv-scalibr 0.1.8
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250730T213748-1.1
opensuse advisories openSUSE-SU-2025:15405-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 16 mo ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.7 | 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 |
| CNA | 4.0 | 5.7 | 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 |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/google/osv-scalibr | >=0.1.3, <0.2.1 |
0.2.1 |
Affected products
- Google osv-scalibr
Classification
References
-
github.com
/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276e9d59
web, patch
-
github.com
/google/osv-scalibr/releases/tag/v0.1.8
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2025-5981
advisory
-
github.com
/google/osv-scalibr
package
-
pkg.go.dev
/vuln/GO-2025-3767
web
-
github.com
/advisories/GHSA-2hcm-q3f4-fjgw
advisory
Sources
- CVE List CVE-2025-5981
- GitHub Advisory GHSA-2hcm-q3f4-fjgw
- NVD CVE-2025-5981
- OSV GO-2025-3767
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.