What’s Vulnerable › Vulnerabilities
CVE-2025-5981: Arbitrary File write in OSV-SCALIBR
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-06-17
- Weakness: CWE-427
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.
Affected products
- Google OSV-SCALIBR: from 0.1.3 before 0.1.8 — fixed in 0.1.8
How to fix
Upgrade to a fixed version: Google OSV-SCALIBR 0.1.8. Check the vendor advisory for mitigations.
References
- https://github.com/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276e9d59
- https://github.com/google/osv-scalibr/releases/tag/v0.1.8
Get alerted when CVE-2025-5981 or the next vulnerability affects your stack