Medium severity6.5NVD Advisory· Published Jun 18, 2025· Updated Jun 17, 2026
CVE-2025-5981
CVE-2025-5981
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/google/osv-scalibrGo | >= 0.1.3, < 0.2.1 | 0.2.1 |
Affected products
4cpe:2.3:a:google:osv-scalibr:*:*:*:*:*:go:*:*+ 1 more
- cpe:2.3:a:google:osv-scalibr:*:*:*:*:*:go:*:*range: >=0.1.3,<0.1.8
- (no CPE)range: 0.1.3
- ghsa-coords2 versionspkg:golang/github.com/google/osv-scalibrpkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweed
>= 0.1.3, < 0.2.1+ 1 more
- (no CPE)range: >= 0.1.3, < 0.2.1
- (no CPE)range: < 0.0.20250730T213748-1.1
Patches
Vulnerability mechanics
References
5- github.com/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276e9d59nvdPatchWEB
- github.com/advisories/GHSA-2hcm-q3f4-fjgwghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-5981ghsaADVISORY
- github.com/google/osv-scalibr/releases/tag/v0.1.8nvdRelease NotesWEB
- pkg.go.dev/vuln/GO-2025-3767ghsaWEB
News mentions
0No linked articles in our index yet.