{"schema":"threatline.record/2","record":{"id":"CVE-2026-108597","aliases":[],"summary":"Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction","details":"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.","categories":["Runtimes & languages"],"product":"cohere-python","vendor":"cohere-ai","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-108597","source_modified_at":"2026-10-14T02:26:27.391Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"cohere-python","vendor":"cohere-ai","versions":[{"version":"5.11.0","lessThanOrEqual":"7.2.0","status":"affected","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[],"cvss":5.9,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00289,"percentile":0.20329,"score_date":"2026-10-23"},"published_at":"2026-10-10T18:58:14.132Z","modified_at":"2026-10-14T02:26:27.391Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-108597","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-14T02:26:27.391Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-108597","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://hackmd.io/@haind/cohere-python-sagemaker-s3-archive-path-traversal","tags":["third-party-advisory"]},{"source":"CVE List","url":"https://github.com/cohere-ai/cohere-python/blob/0eacfe77e1710322b355928574cfec18f6791c42/src/cohere/manually_maintained/cohere_aws/client.py#L101-L123","tags":["technical-description"]},{"source":"CVE List","url":"https://github.com/cohere-ai/cohere-python","tags":["product"]},{"source":"CVE List","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"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-14T02:26:18.629926Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-14T02:26:27.391Z","content_hash":"acebc146d2a8f1ba25a6f82391184e4b1146bc7984deb212e4db535e5d455429"}}
