Skip to main content

Roo-Code EUVDEUVD-2026-67286

| CVE-2026-81837 LOW
Path Traversal (CWE-22)
2026-08-27 VulDB GHSA-pjx2-9jx7-x89r
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted network request with traversal payload
  2. Exploit
    ApplyPatchTool receives unsanitized path input
  3. Execution
    path.resolve resolves traversal to out-of-scope filesystem location
  4. Impact
    Read or write arbitrary files as the running process user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The ApplyPatchTool feature must be active and reachable over the network, which reflects Roo-Code's intended operation as a network-accessible AI coding assistant. The CVSS 4.0 vector PR:N confirms no authentication is required. UI:P indicates some form of passive user interaction is involved (e.g., a user must trigger a patch operation or open a session), limiting fully autonomous exploitation. Exploitation requires that path traversal sequences in patch input reach the path.resolve call without prior sanitization - no special non-default configuration is needed beyond the product simply being installed and running. Limiting factors include the requirement for passive user interaction (UI:P) and low rather than high impact metrics, meaning exploitation yields partial file access rather than full system compromise. The product being end-of-life limits its current deployment footprint, reducing the effective attack surface.

Impact

The CVSS 4.0 score of 5.3 (Medium) reflects network reachability with low complexity and no privileges, but the impact is capped at Low across confidentiality, integrity, and availability - consistent with a path traversal that allows partial file access rather than full remote code execution. The E:P (Proof of Concept) supplemental metric acknowledges the published exploit. EPSS data is not provided, but the absence of a CISA KEV listing suggests no confirmed widespread active exploitation at time of analysis. The most material risk signal here is operational: the vendor has explicitly abandoned the project, so this vulnerability will never receive a fix. Organizations running Roo-Code face permanent, unpatched exposure. Despite the moderate CVSS score, the combination of a public exploit, network-reachable attack surface, no authentication requirement, and a permanent no-fix status elevates real-world urgency for any deployment still in use.

Exploit ScenarioDerived

An unauthenticated remote attacker sends a crafted patch request to a running Roo-Code instance containing directory traversal sequences in the file path parameter processed by ApplyPatchTool. The path.resolve call resolves the traversal sequences without sanitization, allowing the attacker to read sensitive files (e.g., ~/.ssh/id_rsa, environment files) or write arbitrary content to locations outside the project directory. A proof-of-concept demonstrating this technique is publicly available on GitHub Gist.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 28, 2026

Path traversal in RooCodeInc Roo-Code through version 3.51.1 allows remote unauthenticated attackers to read and write files outside the intended working directory by manipulating input processed by the path.resolve function in ApplyPatchTool.ts. The vendor has confirmed they archived the repository and discontinued all support, meaning no patch will ever be released. Publicly available exploit code exists via a GitHub Gist, and no vendor-released patch identified at time of analysis - organizations still running this tool are permanently exposed.

RemediationAI

No vendor-released patch identified at time of analysis - the vendor has archived the Roo-Code repository and explicitly states they no longer support it. The only authoritative remediation is to immediately uninstall or decommission all instances of Roo-Code. If removal is operationally infeasible in the short term, restrict network access to the service at the host or perimeter firewall level to reduce exposure from the AV:N attack vector, though this is a temporary measure with the trade-off of not eliminating the underlying flaw. Block or sandbox file system access for the Roo-Code process using OS-level controls (e.g., seccomp, AppArmor, or container namespacing) to limit the blast radius of path traversal exploitation. The published proof-of-concept at https://gist.github.com/tchen200311/c5b8eeb9b7f8e4e6f19e7432d7bb1e31 should be used to verify exposure. Migration to an actively maintained alternative is the only long-term resolution.

Affected VersionsENISA

Roo-Code 3.51.0
Roo-Code 3.51.1

Affected Packages

euvd roo_code no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Roo-Code is a Node.js-based AI coding assistant. The vulnerable component is ApplyPatchTool (src/core/tools/ApplyPatchTool.ts), which uses Node.js's path.resolve to construct file paths when applying code patches. CWE-22 (Path Traversal) arises when user-controlled path segments containing directory traversal sequences (e.g., ../ or URL-encoded equivalents) are passed to path.resolve without sanitization or boundary enforcement. Because path.resolve computes an absolute path from its arguments sequentially, crafted input can resolve to locations entirely outside the intended project directory. The affected CPE cpe:2.3:a:roocodeinc:roo-code:*:*:*:*:*:*:*:* covers all releases through 3.51.1 with no upper-bound fix version.

Know when Roo Code gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 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
vuln.today AI 6.3 MEDIUM

Network-reachable with no privileges, but passive user interaction required (UI:R per 4.0 UI:P); limited low-impact read/write, no scope change.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Aug 28, 2026 - 00:22 NVD
MEDIUM LOW
CVSS changed
Aug 28, 2026 - 00:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Aug 27, 2026 - 21:30 cve.org
MEDIUM 5.3

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche AI coding extension, now archived with no active user base
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2026-63108 HIGH POC
7.7 Jul 20

Arbitrary command execution in Roo Code (the open-source AI coding agent) through version 3.54.0 lets attackers slip pas

CVE-2025-58371 CRITICAL
9.9 Sep 05

Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Rated critical severity (CVSS 9.9), this

CVE-2025-53536 HIGH
8.1 Jul 07

Roo Code is an AI-powered autonomous coding agent. Prior to 3.22.6, if the victim had "Write" auto-approved, an attacker

CVE-2025-53098 HIGH
8.1 Jun 27

Roo Code is an AI-powered autonomous coding agent. The project-specific MCP configuration for the Roo Code agent is stor

CVE-2026-110204 HIGH
7.7 Oct 13

Command approval bypass in Roo Code through 3.54.0 allows unauthenticated remote attackers to execute shell commands tha

CVE-2026-110206 HIGH
7.7 Oct 13

Command-approval bypass in Roo Code through 3.54.0 lets attacker-influenced input cause the agent to execute arbitrary s

CVE-2026-110205 HIGH
7.7 Oct 13

Auto-approval command filtering in Roo Code through 3.54.0 can be bypassed, letting an attacker run commands that should

CVE-2026-110203 HIGH
7.7 Oct 13

Command approval bypass in Roo Code through 3.54.0 lets an attacker get denied shell commands auto-approved and executed

CVE-2026-110202 HIGH
7.7 Oct 13

Roo Code through 3.54.0 can execute shell commands that its command auto-approval allowlist is meant to deny, because ge

CVE-2026-81836 LOW POC
2.9 Aug 27

Cleartext transmission of OAuth credentials in RooCodeInc Roo-Code up to version 3.51.1 exposes sensitive OAuth tokens t

CVE-2026-81834 LOW POC
2.1 Aug 27

Code injection in RooCodeInc Roo-Code through version 3.51.1 allows remote attackers to execute arbitrary code via the E

CVE-2026-81835 LOW POC
2.0 Aug 27

Code injection in RooCodeInc Roo-Code up to version 3.51.1 allows a remote low-privileged attacker to execute injected c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy