CVE-2026-108597: cohere-python · Path Traversal
Affects cohere-pythonSource CVE Database V5
Not known to be exploited · CVSS 5.9 Medium · patch available : update cohere-python when convenient.
Data as of 23 Nov 2026, 21:14 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| cohere-aicohere-python | Affected
| Fixed in– |
PyPIcohere-pythonpkg:pypi/cohere-pythonOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available for this vulnerability. Users should upgrade the cohere-python SDK to a version later than 7.2.0 where this issue is fixed. Since this is a cloud service SDK, the vendor manages remediation for the cloud-hosted service, but local SDK usage must be updated accordingly. Check the vendor advisory for the official patch and update instructions.
Description
Cohere Python SDK versions 5.11.0 through 7.2.0 contain a path traversal vulnerability in the _s3_models_dir_to_tarfile function. This flaw allows attackers who can write model archives to the victim's S3 prefix to include absolute or relative paths in tar archives, leading to arbitrary file overwrite on the host system running the SDK.
References
- hackmd.io/@haind/cohere-python-sagemaker-s3-archive-path-traversal (opens in a new tab)
- github.com/cohere-ai/cohere-python/blob/0eacfe77e1710322b355928574cfec18f6791c42/src/cohere/manually_maintained/cohere_aws/client.py (opens in a new tab)
- github.com/cohere-ai/cohere-python (opens in a new tab)
- vulncheck.com/advisories/cohere-python-sdk-5.11.0-through-7.2.0-path-traversal-via-sagemaker-tar-extraction (opens in a new tab)