cvedb.io
CVE-2025-54377
HIGH · CVSS 7.8
EPSS exploitation probability: 0%
Published 2025-07-23T21:15:27.060 · Last modified 2026-06-17T09:39:56.990

Summary

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 products

roocode — roo_code

Does this affect you?

Add your gear to cvedb and we'll alert you only when roocode ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.