{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-65946",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2025-11-18T16:14:56.691Z",
        "datePublished": "2025-11-21T22:11:12.163Z",
        "dateUpdated": "2025-11-25T18:56:33.525Z"
    },
    "containers": {
        "cna": {
            "title": "Roo Code is Vulnerable to Potential Remote Code Execution via zsh Command Validation Bug",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-77",
                            "lang": "en",
                            "description": "CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-20",
                            "lang": "en",
                            "description": "CWE-20: Improper Input Validation",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 8.1,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-hwm7-w97p-4h8p",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-hwm7-w97p-4h8p"
                },
                {
                    "name": "https://github.com/RooCodeInc/Roo-Code/pull/7667",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/RooCodeInc/Roo-Code/pull/7667"
                },
                {
                    "name": "https://github.com/RooCodeInc/Roo-Code/commit/b50104cc5987ce64f5154309d967ae8c74cfd1f3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/RooCodeInc/Roo-Code/commit/b50104cc5987ce64f5154309d967ae8c74cfd1f3"
                }
            ],
            "affected": [
                {
                    "vendor": "RooCodeInc",
                    "product": "Roo-Code",
                    "versions": [
                        {
                            "version": "< 3.26.7",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2025-11-21T22:11:12.163Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Prior to version 3.26.7, Due to an error in validation it was possible for Roo to automatically execute commands that did not match the allow list prefixes. This issue has been patched in version 3.26.7."
                }
            ],
            "source": {
                "advisory": "GHSA-hwm7-w97p-4h8p",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-11-25T18:56:25.249260Z",
                                "id": "CVE-2025-65946",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-11-25T18:56:33.525Z"
                }
            }
        ]
    }
}