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

Published Oct 10, 2026
·
Updated

Cohere Python SDK 5.11.0 through 7.2.0 contains a path traversal (tar slip) vulnerability in s3modelsdirtotarfile 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.

Affected Software

1 affected component
Cohere Cohere Python SDK>=5.11.0<=7.2.0

Event History

Oct 10, 2026
CVE Published
via MITRE·06:58 PM
Data Sourced
via MITRE·06:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Hosts using Cohere Python SDK versions 5.11.0 through 7.2.0 are exposed when they process model archives from an S3 prefix that an attacker can write to. The vulnerable extraction occurs in the SageMaker-related model archive handling path.

2

What does an attacker need to exploit it?

An attacker needs the ability to place or modify a model archive in the S3 prefix used by the victim. The archive must contain tar members with absolute paths or ../ path traversal sequences, and the victim host must extract it through the affected SDK functionality.

3

What could exploitation do?

Exploitation can cause arbitrary file writes on the host running the SDK by overwriting files outside the intended extraction directory. The provided data identifies integrity impact, but does not establish confidentiality or availability impact.

4

What can be done before patching is available?

Prevent untrusted parties from writing model archives to the S3 prefix consumed by the SDK. Treat archives in that location as trusted inputs and restrict write permissions accordingly.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203