Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-108597
VULNERABILITY

CVE-2026-108597

Common Vulnerabilities and Exposures record

MEDIUM

Summary

Cohere Python SDK 5.11.0 through 7.2.0 contains a path traversal (tar slip) vulnerability in _s3_models_dir_to_tarfile that allows arbitrary file write via unvalidated tarfile.extractall calls. Attackers who can write model archives to the victim's S3 prefix can include absolute paths or ../ members to overwrite files on the SDK host.

Risk

CVSS
5.9
Severity
MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Oct 10, 2026 19:16
Modified
Oct 16, 2026 17:25
Last observed
Oct 16, 2026 23:38

CWE

CWE-22

References