{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-108597 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-108597 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-108597 is a medium-severity path traversal vulnerability in cohere-ai cohere-python, published on 10 Oct 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-108597 and fix it if it is affected.\n\nWhat it is: CVE-2026-108597 is a medium-severity path traversal vulnerability in cohere-ai cohere-python, published on 10 Oct 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-108597 in the wild and no public exploit code.\n\nAffected product: cohere-ai cohere-python. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-108597/ (Markdown: https://insights.sbomify.com/CVE-2026-108597/index.md)","id":"CVE-2026-108597","markdown":"https://insights.sbomify.com/CVE-2026-108597/index.md","name":"CVE-2026-108597","record":{"aliases":["GHSA-rg44-2cq2-qx25"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Cohere Python SDK","requires_auth":"low_privilege","summary":"Attackers with S3 write access can overwrite arbitrary files on the host via path traversal in the Cohere Python SDK's tar extraction logic.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction","id":"CVE-2026-108597","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"Floci 1.1.0 before 2.2.0 RCE via API Gateway VTL Mapping Templates","id":"CVE-2026-108598"},"packages":[],"prev":{"headline":"OpenLIT 2.1.0 Authorization Bypass via x-openlit-project-id Header","id":"CVE-2026-108596"},"products":["cohere-python"],"published":"2026-10-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["cohere-ai"]},"summary":"Attackers with S3 write access can overwrite arbitrary files on the host via path traversal in the Cohere Python SDK's tar extraction logic.","url":"https://insights.sbomify.com/CVE-2026-108597/"}