CVE-2025-5981

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductGoogle Osv-scalibr
PublishedJun 18, 2025
First seenJun 18, 2025
Weakness typeCWE-427CWE-427

How to fix

Update
  • google osv-scalibr0.1.8 or later
  • github.com/google/osv-scalibr0.2.1 or later

Affected products

ProductAffected versionsFixed in
google osv-scalibr0.1.3 ≤ v < 0.1.80.1.8
github.com/google/osv-scalibrGo0.1.3 ≤ v < 0.2.10.2.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.