CVE-2025-5981 Details
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.
A path traversal vulnerability has been identified in OSV-SCALIBR, specifically in the unpacking code for container images. This vulnerability allows for arbitrary file writing on the host system as the OSV-SCALIBR user. The issue arises when the CLI flag --remote-image is used with untrusted container images.
Users can update to OSV-SCALIBR version 0.1.8, which addresses this vulnerability. The updated version is available on the GitHub Releases page for the OSV-SCALIBR repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-427 | Uncontrolled Search Path Element | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| google osv-scalibr | >= 0.1.3, < 0.1.8 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 7, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | [email protected] |