{"id":"CVE-2025-58370","sourceIdentifier":"security-advisories@github.com","published":"2025-09-05T23:15:30.260","lastModified":"2026-06-17T09:44:22.477","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Versions below 3.26.0 contain a vulnerability in the command parsing logic where the Bash parameter expansion and indirect reference were not handled correctly. If the agent was configured to auto-approve execution of certain commands, an attacker able to influence prompts could abuse this weakness to execute additional arbitrary commands alongside the intended one. This is fixed in version 3.26.0."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"RooCodeInc","product":"Roo-Code","versions":[{"version":"< 3.26.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-09-08T20:10:04.725591Z","id":"CVE-2025-58370","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-78"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*","versionEndExcluding":"3.26.0","matchCriteriaId":"FF1ECC76-9F04-425B-9FDA-045A8B21F5E1"}]}]}],"references":[{"url":"https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-2rm5-cvcm-7592","source":"security-advisories@github.com","tags":["Vendor Advisory"]}]}