CVE-2025-54377: Roo Code Lacks Line Break Validation in its Command Execution Tool

Published Jul 23, 2025
·
Updated

Roo Code is an AI-powered autonomous coding agent that lives in users' editors. In versions 3.23.18 and below, RooCode does not validate line breaks (\n) in its command input, allowing potential bypass of the allow-list mechanism. The project appears to lack parsing or validation logic to prevent multi-line command injection. When commands are evaluated for execution, only the first line or token may be considered, enabling attackers to smuggle additional commands in subsequent lines. This is fixed in version 3.23.19.

Affected Software

2 affected components
RooCode Roo Code<3.23.19
RooCode Roo Code<3.23.19

Event History

Jul 23, 2025
CVE Published
via MITRE·08:36 PM
Data Sourced
via MITRE·08:36 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-54377?

CVE-2025-54377 has been classified as a medium severity vulnerability due to its potential to bypass the allow-list mechanism.

2

How do I fix CVE-2025-54377?

To fix CVE-2025-54377, upgrade Roo Code to version 3.23.19 or higher.

3

What are the risks of not addressing CVE-2025-54377?

Failing to address CVE-2025-54377 may allow unauthorized command execution through bypassing the input validation.

4

Which versions of Roo Code are affected by CVE-2025-54377?

Roo Code versions 3.23.18 and below are affected by CVE-2025-54377.

5

Is there a recommended mitigation for CVE-2025-54377?

The recommended mitigation for CVE-2025-54377 is to implement strict input validation until the software is updated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203