Quick answers
- Is CVE-2026-108597 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-108597 being exploited in the wild.
- How severe is CVE-2026-108597?
- Medium severity, with a CVSS score of 4.8, published 10 October 2026.
- Which products and versions are affected?
- Cohere Python SDK 5.11.0 through 7.2.0.
- Is there a fix for CVE-2026-108597?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-108597 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-108597?
- Check whether you run Cohere Python SDK at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability is a tar slip (path traversal) flaw in the _s3_models_dir_to_tarfile function that fails to validate tarfile members before calling extractall(). An attacker with write access to the victim's S3 prefix can craft a malicious tar archive containing entries with absolute paths (e.g., /etc/passwd) or relative traversal sequences (e.g., ../../sensitive_file) that bypass extraction safety checks. Upon SDK initialization or model loading from S3, the archive is extracted without sanitization, allowing overwrite of arbitrary files.
Affected products
- Cohere Python SDK 5.11.0 through 7.2.0
Timeline
- 2026-10-10: disclosed