Vulnerability · Published Jun 18, 2025 · Assigned by Google
CVE-2025-5981Arbitrary File write in OSV-SCALIBR
Medium 5.7
In plain English
A medium-severity uncontrolled search path in osv-scalibr from Google. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 4.0)5.7Medium
Exploit odds (30 days)0.2%top 87.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/google/osv-scalibr | 0.2.1 | GHSA-2hcm-q3f4-fjgw |
| Go | github.com/google/osv-scalibr | 0.2.1 | GO-2025-3767 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| osv-scalibr | 0.1.3 – before 0.1.8 |
Weakness: CWE-427 · 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