{"id":"CVE-2026-108597","title":"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","summary":"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 t…","severity":"medium","cvss":4.8,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","cwe":["CWE-22"],"vendor":"Red Hat","product":"Lightspeed Core","affected":["lightspeed_core","openshift_ai_rhoai"],"published":"2026-10-10","updated":"2026-10-16","sourceUpdated":"2026-10-16T17:25:57.940","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-108597","references":[{"url":"https://github.com/cohere-ai/cohere-python","label":"disclosure@vulncheck.com"},{"url":"https://github.com/cohere-ai/cohere-python/blob/0eacfe77e1710322b355928574cfec18f6791c42/src/cohere/manually_maintained/cohere_aws/client.py#L101-L123","label":"disclosure@vulncheck.com"},{"url":"https://hackmd.io/@haind/cohere-python-sagemaker-s3-archive-path-traversal","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/cohere-python-sdk-5.11.0-through-7.2.0-path-traversal-via-sagemaker-tar-extraction","label":"disclosure@vulncheck.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-108597.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-108597"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2552059"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-108597"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108597"}],"tags":["nvd","csaf","vex","red-hat","cve.org"],"epss":0.00289,"epssPercentile":0.21297,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-14T02:26:18.629926Z"},"ingestedAt":"2026-10-10T19:30:07.154Z","slug":"CVE-2026-108597","body":"## Overview\n\nCohere 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Lightspeed Core, Red Hat OpenShift AI (RHOAI) · no fix planned: Lightspeed Core, Red Hat OpenShift AI (RHOAI) · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-108597.json)","depth":"sunlit","depthScore":26,"depthScoreParts":{"impact":26.4,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}