CVE-2025-5981
Arbitrary File write in OSV-SCALIBR
Reported by google · Published June 18, 2025
github.com/google/osv-scalibr is fixed in 0.2.1 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/google/osv-scalibr | Go Modules | 0.2.1 |
| osv-scalibr | GitHub Packages | 0.1.8 |
| osv-scalibr | 0.1.8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| osv-scalibr | 0.1.3 | |
| github.com | google/osv-scalibr | 0.1.3 |
| osv-scalibr | 0.1.3 |
Timeline
- Jun 18, 2025 CVE Published
- Jun 18, 2025 EPSS Score (30 in total, the first dated here)
- Jun 18, 2025 Coalition ESS Score (11 in total, the first dated here)
- Jun 18, 2025 CVE Updated
- Mar 10, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-5981
vulnetix vdb fixes CVE-2025-5981
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-5981/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart