๐Ÿ” CVE Alert

CVE-2026-108597

MEDIUM 4.8

Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction

CVSS Score
4.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22
Vendor cohere-ai
Product cohere-python
Published Oct 10, 2026
Stay Ahead of the Next One

Get instant alerts for cohere-ai cohere-python

Be the first to know when new medium vulnerabilities affecting cohere-ai cohere-python are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Affected Versions

cohere-ai / cohere-python
5.11.0 โ‰ค 7.2.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
hackmd.io: https://hackmd.io/@haind/cohere-python-sagemaker-s3-archive-path-traversal github.com: https://github.com/cohere-ai/cohere-python/blob/0eacfe77e1710322b355928574cfec18f6791c42/src/cohere/manually_maintained/cohere_aws/client.py#L101-L123 github.com: https://github.com/cohere-ai/cohere-python vulncheck.com: https://www.vulncheck.com/advisories/cohere-python-sdk-5.11.0-through-7.2.0-path-traversal-via-sagemaker-tar-extraction

Credits

HaiND from the Post and Telecommunication Institute of Technology