Vulnerability · Published Oct 10, 2026 · Assigned by VulnCheck
CVE-2026-108597Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction
Medium 4.8
In plain English
A medium-severity path traversal in cohere-python from cohere-ai. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities).
Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.3%top 78.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cohere-ai | cohere-python | 5.11.0 – through 7.2.0 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
References
- https://hackmd.io/@haind/cohere-python-sagemaker-s3-archive-path-traversal third-party-advisory
- https://github.com/cohere-ai/cohere-python/blob/0eacfe77e1710322b355928574cfec18f6791c42/src/cohere/manually_maintained/cohere_aws/client.py#L101-L123 technical-description
- https://github.com/cohere-ai/cohere-python product
- VulnCheck Advisory: Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction third-party-advisory