CVE-2026-81837
5.3medium
RooCodeInc Roo-Code ApplyPatchTool ApplyPatchTool.ts path.resolve path traversal
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.34% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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
| Product or package | Versions | Reported by |
|---|---|---|
| RooCodeInc Roo-Code | 3.51.0, 3.51.1 | CVE List |
All scores
| VulDB | 5.3medium CVSS:4.0 | 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 | 6.3medium CVSS:3.1 | 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 | 6.3medium CVSS:3.0 | 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 | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://vuldb.com/vuln/396170 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/396170/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-81837 | third-party-advisory | |
| https://vuldb.com/submit/864288 | third-party-advisory | |
| https://gist.github.com/tchen200311/c5b8eeb9b7f8e4e6f19e7432d7bb1e31 | exploit | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-81837 changed 2026-08-28 | CVE Terms of Use |
| NVD | CVE-2026-81837 changed 2026-08-28 | Public domain |