CVE-2026-81837
RooCodeInc Roo-Code ApplyPatchTool ApplyPatchTool.ts path.resolve path traversal
- State
- Published
- Severity
- 5.3 Medium
- Published
- Aug 27, 2026
- Updated
- Aug 28, 2026
- Reserved
- Aug 27, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 6.3 Medium | 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 | VulDB |
| 3.0 | 6.3 Medium | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 2.0 | 7.5 High | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
- CWE-22 Path Traversal
Affected Products
| Product | Versions |
|---|---|
Roo-CodeRooCodeInc |
|
References
- VDB-396170 | RooCodeInc Roo-Code ApplyPatchTool ApplyPatchTool.ts path.resolve path traversalvdb-entrytechnical-description
- VDB-396170 | CTI Indicators (IOB, IOC, TTP, IOA)signaturepermissions-required
- CVE-2026-81837 | CVE Analysis and Reportthird-party-advisory
- Submit #864288 | Roo-Code v3.51.1 Path Traversalthird-party-advisory
- https://gist.github.com/tchen200311/c5b8eeb9b7f8e4e6f19e7432d7bb1e31exploit
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.