Medium
Arbitrary File write in OSV-SCALIBR
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-5981
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 00:55 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-5981
Complete source record
{
"id": "1ae5c9ffe738092f3727f4dd5ffcf5c897007026277735c894555e3f3a6067df",
"url": "https://osv.dev/vulnerability/CVE-2025-5981",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Arbitrary File write in OSV-SCALIBR",
"summary": "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.",
"evidence": "osv:CVE-2025-5981",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-5981",
"aliases": [
"CVE-2025-5981",
"GHSA-2hcm-q3f4-fjgw",
"GO-2025-3767"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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": [
{
"ranges": [
{
"repo": "https://github.com/google/osv-scalibr",
"type": "GIT",
"events": [
{
"introduced": "0269a5bd7e13f051d16ba70ef4f716e0d28808fb"
},
{
"fixed": "efb5afd2f15bd155d27c8aa8717dd5ce25e0b28c"
},
{
"fixed": "2444419b1818c2d6917fc3394c947fb3276e9d59"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:google:osv-scalibr:*:*:*:*:*:go:*:*",
"range": [
{
"introduced": "0.1.3"
},
{
"fixed": "0.1.8"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "2444419b1818c2d6917fc3394c947fb3276e9d59"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "efb5afd2f15bd155d27c8aa8717dd5ce25e0b28c"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.1.8"
}
]
}
}
],
"versions": [
"v0.1.7",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5981.json"
}
}
],
"modified": "2026-10-28T02:30:25.088463106Z",
"provider": "osv",
"references": [
"https://github.com/google/osv-scalibr/releases/tag/v0.1.8",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5981.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-5981",
"https://github.com/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276e9d59",
"https://github.com/google/osv-scalibr"
],
"provider_metadata": {
"cwe_ids": [
"CWE-427"
],
"cna_assigner": "Google",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5981.json"
}
},
"related_cves": [
{
"value": "CVE-2025-5981",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491347,
"published_at": "2025-06-18T08:28:02.899+00:00"
}