CVE-2026-86541: knowns before 0.30.0 Path Traversal via code.replace MCP action

Published Sep 7, 2026
·
Updated

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.

Affected Software

1 affected component
MCP action<0.30.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade code.replace MCP action to a version that resolves this vulnerability.

    Fixed in 0.30.0

Event History

Sep 7, 2026
CVE Published
via MITRE·11:03 PM
Data Sourced
via MITRE·11:03 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments should be treated as affected?

Deployments running knowns versions earlier than 0.30.0 should be treated as affected.

2

What does an attacker need to exploit this issue?

An attacker needs to be able to supply input to the code.replace MCP action, including an absolute path or a relative path containing directory-traversal sequences and malicious file content.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203