NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2025-5981: OSV-SCALIBR's Container Image Unpacking Vulnerable to Arbitrary File Write via Path Traversal

mediumCVSS 4.0 5.7GHSA-2hcm-q3f4-fjgw

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.

Published Jun 18, 2025 · Updated Aug 7, 2025

Affected packages

github.com/google/osv-scalibr

Ecosystem
Go
Affected
>= 0.1.3, < 0.2.1
Fixed in
0.2.1
Check
go list -m github.com/google/osv-scalibr

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to Malayke.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries