Read the docs
TI-2026-59218 Aliases CVE-2026-86541GHSA-g6q2-h5cf-8q26

knowns before 0.30.0 Path Traversal via code.replace MCP action

Priority MEDIUM 41CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

knowns versions before 0.30.0 contain a path traversal vulnerability in the handleCodeReplace() function that allows attackers to overwrite arbitrary files outside the project root. Attackers can supply absolute paths or relative paths containing directory traversal sequences to write malicious content to sensitive files like shell startup scripts or SSH configuration files.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00768 55th percentileScored 2026-11-07
Fix Fixed knowns (knowns-dev): 0.30.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
knowns-devknownsbefore 0.30.00.30.0Patch availableCNA
  • knowns Vendorknowns-dev Affected before 0.30.0 Fixed in 0.30.0 Patch available CNA

Remediation

  • Fix · CNA knowns (knowns-dev) Fixed in 0.30.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    knowns-dev knowns 0.30.0

    7 records Highest priority Priority HIGH 1 HIGH, 5 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-59217 knowns before 0.30.0 Arbitrary Code Execution via LSP BinaryPriority HIGH 72
    • TI-2026-59220 knowns before 0.30.0 Unauthenticated Management API ExposurePriority MEDIUM 50
    • TI-2026-59215 knowns before 0.30.0 Path Traversal via templateFile parameterPriority MEDIUM 46

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-86541
  2. 2026-10-03 Alias added: GHSA-g6q2-h5cf-8q26

References

  • TI-2026-60300 knowns through 0.33.0 Authorization Bypass via project.set Bootstrap Exemption CVSS 4.0HIGH 8.7
  • TI-2026-60298 knowns through 0.33.0 Path Traversal via Template Engine CVSS 4.0HIGH 8.6
  • TI-2026-59217 knowns before 0.30.0 Arbitrary Code Execution via LSP Binary CVSS 4.0HIGH 8.5
  • TI-2026-60301 knowns through 0.33.0 Arbitrary Directory Enumeration via workspace browse endpoint CVSS 4.0MEDIUM 6.9
  • TI-2026-60299 knowns through 0.33.0 Path Traversal via code.find MCP tool CVSS 4.0HIGH 7.1
  • TI-2026-60283 knowns before 0.31.0 External Control of Agent Working Directory via x-opencode-directory Header CVSS 4.0CRITICAL 9.3
See all 13 →

Sources