CVE-2026-81837
published medium CVSS 4.0 · 5.3RooCodeInc Roo-Code ApplyPatchTool ApplyPatchTool.ts path.resolve path traversal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| RooCodeInc | — | Roo-Code3.51.0 · 3.51.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 6.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| RooCodeInc | Roo-Code | 3.51.0 (affected)3.51.1 (affected) | VulDB · cna |
Weaknesses
1- CWE-22 Path Traversal
References
5- https://gist.github.com/tchen200311/c5b8eeb9b7f8e4e6f19e7432d7bb1e31
- CVE-2026-81837 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-81837
- Submit #864288 | Roo-Code v3.51.1 Path Traversal https://vuldb.com/submit/864288
- VDB-396170 | RooCodeInc Roo-Code ApplyPatchTool ApplyPatchTool.ts path.resolve path traversal https://vuldb.com/vuln/396170
- VDB-396170 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/396170/cti
Provider assertions
2VulDB · cna
RooCodeInc Roo-Code ApplyPatchTool ApplyPatchTool.ts path.resolve path traversal
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fec03b2e4130a524f16715794b7431c4a0895395f889af499169751f8749c638
- Ingested
- 23 Sep 2026, 09:35:04 UTC
- Source record
- Official CVE record