CVE-2025-5981: Google osv-scalibr · Uncontrolled Search Path Element
Affects Google osv-scalibrSource CVE Database V5
Not known to be exploited · CVSS 5.7 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:L/VA:N/SC:H/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubgoogle/osv-scalibrpkg:github/google/osv-scalibrOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. 2. Until a patch is available, restrict usage of the --remote-image flag to trusted container images only, avoiding untrusted or external sources. 3. Implement strict access controls and monitoring on systems running OSV-SCALIBR to limit local user access and detect anomalous unpack() invocations. 4. Employ container image scanning and validation tools upstream to ensure images are free from path traversal payloads before analysis. 5. Use sandboxing or containerization to isolate OSV-SCALIBR runtime environments, minimizing the impact of arbitrary file writes. 6. Conduct regular audits of file system integrity on hosts running OSV-SCALIBR to identify unauthorized changes. 7. Educate DevOps and security teams about the risks of processing untrusted container images and enforce policies accordingly.
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.