RooCodeInc Roo-Code up to 3.51.1 ApplyPatchTool ApplyPatchTool.ts path.resolve path traversal
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.7 | $0-$5k | 2.11 |
Summary
A vulnerability described as critical has been identified in RooCodeInc Roo-Code up to 3.51.1. Impacted is the function path.resolve of the file src/core/tools/ApplyPatchTool.ts of the component ApplyPatchTool. Such manipulation leads to path traversal. This vulnerability only affects products that are no longer supported by the maintainer.
This vulnerability is referenced as CVE-2026-81837. It is possible to launch the attack remotely. Furthermore, an exploit is available.
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."
Details
A vulnerability was found in RooCodeInc Roo-Code up to 3.51.1. It has been rated as critical. Affected by this issue is the function path.resolve of the file src/core/tools/ApplyPatchTool.ts of the component ApplyPatchTool. The manipulation with an unknown input leads to a path traversal vulnerability. Using CWE to declare the problem leads to CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. Impacted is confidentiality, integrity, and availability.
The advisory is available at gist.github.com. This vulnerability is handled as CVE-2026-81837. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. Technical details as well as a public exploit are known. This vulnerability is assigned to T1006 by the MITRE ATT&CK project.
The exploit is available at gist.github.com. It is declared as proof-of-concept. 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."
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Vendor
Name
Version
Support
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 5.7
VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Path traversalCWE: CWE-22
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
08/27/2026 Advisory disclosed08/27/2026 VulDB entry created
08/27/2026 VulDB entry last update
Sources
Advisory: gist.github.comStatus: Not defined
CVE: CVE-2026-81837 (🔒)
GCVE (CVE): GCVE-0-2026-81837
GCVE (VulDB): GCVE-100-396170
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/27/2026 16:54Changes: 08/27/2026 16:54 (25), 08/27/2026 16:55 (33)
Complete: 🔍
Submitter: tchen200311
Cache ID: 216::103
Submit
Accepted
- Submit #864288: Roo-Code v3.51.1 Path Traversal (by tchen200311)
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.