CVE-2025-58374
Last modified
CVE-2025-58374 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Roocode | Roo Code | < 3.26.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-58374?
How severe is CVE-2025-58374?
How do I fix CVE-2025-58374?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-58369fs2 is a compositional, streaming I/O library for Scala. Ver…5.3
- CVE-2025-5837A vulnerability classified as critical has been found in PHP…8.8
- CVE-2025-58370Roo Code is an AI-powered autonomous coding agent that lives…8.1
- CVE-2025-58371Roo Code is an AI-powered autonomous coding agent that lives…9.8
- CVE-2025-58372Roo Code is an AI-powered autonomous coding agent that lives…9.8
- CVE-2025-58373Roo Code is an AI-powered autonomous coding agent that lives…6.5
- CVE-2025-58375Frappe is a full-stack web application framework. Versions 1…8.1
- CVE-2025-58379Brocade Fabric OS before 9.2.1 has a vulnerability that coul…5.5
- CVE-2025-5838A vulnerability classified as critical was found in PHPGuruk…8.8
- CVE-2025-58380A vulnerability in Brocade Fabric OS before 9.2.1 could allo…2.3
- CVE-2025-58381A vulnerability in Brocade Fabric OS before 9.2.1c2 could a…2.3
- CVE-2025-58382A vulnerability in the secure configuration of authenticatio…7.2
Are you affected by CVE-2025-58374?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
