Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-108597 EUVD-2026-96395GHSA-rg44-2cq2-qx25

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

Published Oct 10, 2026 · Updated Oct 14, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
cohere-ai cohere-python 5.11.0 – ≤ 7.2.0 —

References