VDB

CVE-2025-5981

CVE-2025-5981 PUBLISHED CVSS 5.7 MEDIUM

Arbitrary File write in OSV-SCALIBR

Reported by google · Published June 18, 2025

github.com/google/osv-scalibr is fixed in 0.2.1 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/google/osv-scalibrGo Modules0.2.1
osv-scalibrGitHub Packages0.1.8
osv-scalibrgoogle0.1.8

Risk scores

CVSS 4.0
5.7
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

Affected products

VendorProductVersions
Googleosv-scalibr0.1.3
github.comgoogle/osv-scalibr0.1.3
Googleosv-scalibr0.1.3

Timeline

  • Jun 18, 2025 CVE Published
  • Jun 18, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 18, 2025 Coalition ESS Score (11 in total, the first dated here)
  • Jun 18, 2025 CVE Updated
  • Mar 10, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-5981
vulnetix vdb fixes CVE-2025-5981

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-5981/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›