{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-58374","published":"2025-09-06T03:15:40.097000Z","last_modified":"2026-06-17T09:44:22.917000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-78"],"cpes":[{"criteria":"cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*","part":"a","vendor":"roocode","product":"roo_code","version_end_excluding":"3.26.0"}],"cpes_truncated":false,"vendors":["roocode"],"products":["roocode/roo_code"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-58374/","html_en":"/en/cve/CVE-2025-58374/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-58374","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-58374"},"untrusted":{"vendor_name":"Roocode","product_name":"Roo Code","desc_en":"Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Versions 3.25.23 and below contain a default list of allowed commands that do not need manual approval if auto-approve is enabled, and npm install is included in that list. Because npm install executes lifecycle scripts, if a repository’s package.json file contains a malicious postinstall script, it would be executed automatically without user approval. This means that enabling auto-approved commands and opening a malicious repo could result in arbitrary code execution. This is fixed in version 3.26.0.","affected":[{"untrusted_vendor":"RooCodeInc","untrusted_product":"Roo-Code","versions":[]}],"references":[{"url":"https://github.com/RooCodeInc/Roo-Code/pull/7390/files","tags":["Product"]},{"url":"https://github.com/RooCodeInc/Roo-Code/releases/tag/v3.26.0","tags":["Release Notes"]},{"url":"https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-c292-qxq4-4p2v","tags":["Vendor Advisory"]}]}}