Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-108597— Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction

Quick assessment

Affected
cohere-ai cohere-python
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Cohere Python SDK 5.11.0 至 7.2.0 版本中存在一个路径遍历(tar slip)漏洞,位于 _s3_models_dir_to_tarfile 函数中,该漏洞允许通过未经验证的 tarfile.extractall 调用进行任意文件写入。攻击者若能够将模型归档文件写入受害者的 S3 前缀,便可以在归档中包含绝对路径或包含 ../ 的条目,从而覆盖 SDK 主机上的文件。

CVSS 4.8 · Medium EPSS 0.29% · P20

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProduct Version RangeStatus
cohere-ai cohere-python 5.11.0≤ 7.2.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-108597

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
cohere-ai cohere-python 5.11.0 ~ 7.2.0 -

II. Public POCs for CVE-2026-108597

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-108597

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-108597 (1)

Vendor Advisories for CVE-2026-108597 (1)

Security Blog Posts for CVE-2026-108597 (1)

Vendor Pages for CVE-2026-108597 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-108597

No comments yet


Leave a comment