{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-108597",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-10-10T18:25:14.161Z",
        "datePublished": "2026-10-10T18:58:14.132Z",
        "dateUpdated": "2026-10-14T02:26:27.391Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-10-10T18:58:14.132Z"
            },
            "datePublic": "2026-10-09T00:00:00.000Z",
            "title": "Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                            "cweId": "CWE-22",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "cohere-ai",
                    "product": "cohere-python",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "5.11.0",
                            "lessThanOrEqual": "7.2.0",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "packageURL": "pkg:pypi/cohere",
                    "collectionURL": "https://pypi.org",
                    "repo": "https://github.com/cohere-ai/cohere-python"
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "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",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "LOW",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 5.9,
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "LOW",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "NONE",
                        "baseScore": 4.8,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://hackmd.io/@haind/cohere-python-sagemaker-s3-archive-path-traversal",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://github.com/cohere-ai/cohere-python/blob/0eacfe77e1710322b355928574cfec18f6791c42/src/cohere/manually_maintained/cohere_aws/client.py#L101-L123",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://github.com/cohere-ai/cohere-python",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "name": "VulnCheck Advisory: Cohere Python SDK 5.11.0 through 7.2.0 Path Traversal via SageMaker Tar Extraction",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/cohere-python-sdk-5.11.0-through-7.2.0-path-traversal-via-sagemaker-tar-extraction"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "HaiND from the Post and Telecommunication Institute of Technology",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-10-14T02:26:18.629926Z",
                                "id": "CVE-2026-108597",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-10-14T02:26:27.391Z"
                }
            }
        ]
    }
}