{"id":"CVE-2026-108597","aliases":["CVE-2026-108597"],"related":[],"kind":"vulnerability","state":"published","title":"Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction","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 the victim's S3 prefix can include absolute paths or ../ members to overwrite files on the SDK host.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-10T18:58:14.132Z","modified":"2026-10-16T17:25:57.940Z","severity":{"scorer":"VulnCheck","scheme":"CVSS: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","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS: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","score":5.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"5.11.0","lastAffected":"7.2.0","status":"affected"}],"vendor":"cohere-ai","product":"cohere-python","repo":"https://github.com/cohere-ai/cohere-python","source":"cvelist"}],"references":[{"url":"https://hackmd.io/@haind/cohere-python-sagemaker-s3-archive-path-traversal","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cohere-ai/cohere-python/blob/0eacfe77e1710322b355928574cfec18f6791c42/src/cohere/manually_maintained/cohere_aws/client.py#L101-L123","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cohere-ai/cohere-python","tags":["product"],"sources":["cvelist","nvd"]},{"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"],"sources":["cvelist","nvd"]}],"credits":["HaiND from the Post and Telecommunication Institute of Technology"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-14T02:26:18.629Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-108597","url":"https://www.cve.org/CVERecord?id=CVE-2026-108597","licence":"CVE Terms of Use","modified":"2026-10-14T02:26:27.391Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-108597","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108597","licence":"Public domain","modified":"2026-10-16T17:25:57.940Z"}],"updatedAt":"2026-11-25T22:59:43.427Z","epss":{"score":0.00289,"percentile":0.23042,"date":"2026-12-01T12:00:22.000Z"}}