{"id":"CVE-2026-108597","published":"2026-10-10T18:58:14Z","modified":"2026-10-14T02:26:27Z","title":"Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction","vendor":"cohere-ai","product":"cohere-python","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00386,"percentile":0.24397,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://hackmd.io/@haind/cohere-python-sagemaker-s3-archive-path-traversal","tags":["third-party-advisory"]},{"url":"https://github.com/cohere-ai/cohere-python/blob/0eacfe77e1710322b355928574cfec18f6791c42/src/cohere/manually_maintained/cohere_aws/client.py#L101-L123","tags":["technical-description"]},{"url":"https://github.com/cohere-ai/cohere-python","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/cohere-python-sdk-5.11.0-through-7.2.0-path-traversal-via-sagemaker-tar-extraction","tags":["third-party-advisory"]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":4.88},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"cohere-ai","affectedVersions":[{"vendor":"cohere-ai","product":"cohere-python","versions":[">= 5.11.0, <= 7.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-14T02:26:18.629926Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-96395","exploited":false,"provenance":"source"}}