{"id":"CVE-2026-108597","state":"PUBLISHED","title":"Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction","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.","publishedAt":"2026-10-10T18:58:14.132Z","updatedAt":"2026-10-14T02:26:27.391Z","severity":{"score":5.9,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["cohere-ai cohere-python"],"affected":[{"vendor":"cohere-ai","product":"cohere-python","packageURL":"pkg:pypi/cohere","defaultStatus":"unaffected","versions":[{"version":"5.11.0","status":"affected","lessThanOrEqual":"7.2.0","versionType":"semver"}],"collectionURL":"https://pypi.org","repo":"https://github.com/cohere-ai/cohere-python"}],"references":["https://hackmd.io/@haind/cohere-python-sagemaker-s3-archive-path-traversal","https://github.com/cohere-ai/cohere-python/blob/0eacfe77e1710322b355928574cfec18f6791c42/src/cohere/manually_maintained/cohere_aws/client.py#L101-L123","https://github.com/cohere-ai/cohere-python","https://www.vulncheck.com/advisories/cohere-python-sdk-5.11.0-through-7.2.0-path-traversal-via-sagemaker-tar-extraction"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/108xxx/CVE-2026-108597.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-108597","state":"PUBLISHED","datePublished":"2026-10-10T18:58:14.132Z","dateUpdated":"2026-10-14T02:26:27.391Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-10T18:25:14.161Z"},"containers":{"cna":{"title":"Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction","descriptions":[{"lang":"en","value":"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":[{"vendor":"cohere-ai","product":"cohere-python","packageURL":"pkg:pypi/cohere","defaultStatus":"unaffected","versions":[{"version":"5.11.0","status":"affected","lessThanOrEqual":"7.2.0","versionType":"semver"}],"collectionURL":"https://pypi.org","repo":"https://github.com/cohere-ai/cohere-python"}],"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","name":"VulnCheck Advisory: Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-10T18:58:14.132Z"},"datePublic":"2026-10-09T00:00:00.000Z","credits":[{"lang":"en","value":"HaiND from the Post and Telecommunication Institute of Technology","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-14T02:26:18.629926Z","id":"CVE-2026-108597","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-14T02:26:27.391Z"}}]}}}