CVE-2025-5981

Source
https://cve.org/CVERecord?id=CVE-2025-5981
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5981.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-5981
Aliases
Downstream
Related
Published
2025-06-18T08:28:02.899Z
Modified
2026-07-11T03:55:25.417889801Z
Severity
  • 5.7 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Arbitrary File write in OSV-SCALIBR
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5981.json",
    "cwe_ids": [
        "CWE-427"
    ],
    "cna_assigner": "Google"
}
References

Affected packages

Git / github.com/google/osv-scalibr

Affected ranges

Type
GIT
Repo
https://github.com/google/osv-scalibr
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "0.1.3"
        },
        {
            "fixed": "0.1.8"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:google:osv-scalibr:*:*:*:*:*:go:*:*"
}

Affected versions

v0.*
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.2.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5981.json"