Vulnerability

CVE-2026-108597

mediumCVSS 4.0 5.9Published 10 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /cohere-ai/cohere-python
  • github.com /cohere-ai/cohere-python/blob/0eacfe77e1710322b355928574cfe…
  • hackmd.io /@haind/cohere-python-sagemaker-s3-archive-path-traversal
  • www.vulncheck.com /advisories/cohere-python-sdk-5.11.0-through-7.2.0-path-tra…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning