# CVE-2026-81837: RooCodeInc Roo-Code ApplyPatchTool ApplyPatchTool.ts path.resolve path traversal

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-27T21:30:11.939Z
- Modified: 2026-08-28T20:20:13.507Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- RooCodeInc Roo-Code: 3.51.0; 3.51.1

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://gist.github.com/tchen200311/c5b8eeb9b7f8e4e6f19e7432d7bb1e31> (exploit)
- <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)

## Sources

- CVE List: [CVE-2026-81837](https://www.cve.org/CVERecord?id=CVE-2026-81837), CVE Terms of Use, modified 2026-08-28
- NVD: [CVE-2026-81837](https://nvd.nist.gov/vuln/detail/CVE-2026-81837), Public domain, modified 2026-08-28

---

Page: https://cve.day/CVE-2026-81837 · Whole record: https://cve.day/CVE-2026-81837.json · Rebuilt by cve.day 2026-11-25T22:59:35.562Z
