CVE-2025-5981

Arbitrary File write in OSV-SCALIBR

Published Jun 18, 2025 CVSS 4.0 · 5.7 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-18630 OSV-SCALIBR's Container Image Unpacking Vulnerable to Arbitrary File Write via Path Traversal
Github GHSA Github GHSA GHSA-2hcm-q3f4-fjgw OSV-SCALIBR's Container Image Unpacking Vulnerable to Arbitrary File Write via Path Traversal
History
Type Values Removed Values Added
First Time appeared Google
Google osv-scalibr
Weaknesses CWE-22
CPEs cpe:2.3:a:google:osv-scalibr:*:*:*:*:*:go:*:*
Vendors & Products Google
Google osv-scalibr
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Arbitrary File write in OSV-SCALIBR
Weaknesses CWE-427
References
Metrics cvssV4_0

{'score': 5.7, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Jun 18, 2025, 1:42 PM
Reserved
Jun 10, 2025, 12:31 PM
Status
Analyzed
Published
Jun 18, 2025, 9:15 AM
Modified
Jun 17, 2026, 9:49 AM