Vulnerability · Published Aug 27, 2026 · Assigned by VulDB
CVE-2026-81837RooCodeInc Roo-Code ApplyPatchTool ApplyPatchTool.ts path.resolve path traversal
Medium 6.3
In plain English
A medium-severity path traversal in Roo-Code from RooCodeInc. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities).
Official description
A flaw has been found in RooCodeInc Roo-Code up to 3.51.1. This issue affects the function path.resolve of the file src/core/tools/ApplyPatchTool.ts of the component ApplyPatchTool. This manipulation causes path traversal. It is possible to initiate the attack remotely. The exploit has been published and may be used. Multiple isses were reported to the vendor beforehand. They explain, that "they all apply to Roo Code, a project we no longer support - the repository was archived a while ago, and we don't encourage anyone to use it." This vulnerability only affects products that are no longer supported by the maintainer.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| RooCodeInc | Roo-Code | 3.51.03.51.1 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-396170 | RooCodeInc Roo-Code ApplyPatchTool ApplyPatchTool.ts path.resolve path traversal vdb-entry, technical-description
- VDB-396170 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- CVE-2026-81837 | CVE Analysis and Report third-party-advisory
- Submit #864288 | Roo-Code v3.51.1 Path Traversal third-party-advisory
- https://gist.github.com/tchen200311/c5b8eeb9b7f8e4e6f19e7432d7bb1e31 exploit