Path Traversal in Cohere-Ai Cohere-Python

CVE-2026-108597

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published .

CVSS v3 metric

CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N.

EPSS exploit prediction

No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-108597?
CVE-2026-108597 is a medium-severity vulnerability in Cohere-Ai Cohere-Python, classified under Path Traversal. CVSS score: 4.8/10. Published 2026-10-10.
How severe is CVE-2026-108597?
Medium severity. CVSS v3 base score is 4.8 out of 10.