CVE-2026-108597Cohere AI Cohere-python path traversal
CVSS score
5.9
Medium
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.29%
0.29% chance of exploitation in the next 30 days, higher than 21.7% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running cohere-ai Cohere-python and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Low
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| cohere-ai Cohere-python | ≥ 5.11.0, ≤ 7.2.0 |
Weakness
- CWE-22 path traversal
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-108597 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-108597?
CVE-2026-108597 has a CVSS 4.0 base score of 5.9 (medium).
Which versions are affected?
Cohere AI Cohere-python (≥ 5.11.0, ≤ 7.2.0)
Is there a patch for CVE-2026-108597?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
- github.com/cohere-ai/cohere-python
- github.com/cohere-ai/cohere-python/blob/0eacfe77e1710322b355928574cfec18f6791c42/src/cohere/manually_maintained/cohere_aws/client.py#L101-L123
- hackmd.io/@haind/cohere-python-sagemaker-s3-archive-path-traversal
- www.vulncheck.com/advisories/cohere-python-sdk-5.11.0-through-7.2.0-path-traversal-via-sagemaker-tar-extraction
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.