CVE-2026-9186: Langflow is vulnerable to stored cross-site scripting and IP spoofing due to unsanitized Markdown rendering and untrusted proxy header trust

Published Aug 28, 2026
·
Updated

IBM Langflow OSS 1.0.0 through 1.11.2 allows remote authenticated attackers to bypass localhost-only MCP configuration installation by spoofing X-Forwarded-For: 127.0.0.1 header, enabling arbitrary writes to IDE config files (~/.cursor/mcp.json, etc.).

Other sources

Langflow OSS allows remote authenticated attackers to bypass localhost-only MCP configuration installation by spoofing X-Forwarded-For: 127.0.0.1 header, enabling arbitrary writes to IDE config files (~/.cursor/mcp.json, etc.).

IBM

Affected Software

2 affected components
IBM Langflow>=1.0.0<=1.11.2
IBM Langflow OSS<=1.0.0-1.11.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Langflow OSS to a version that resolves this vulnerability.

    Fixed in 1.11.3
  2. Compensating control

    Ensure the application is configured to not trust spoofable proxy headers such as X-Forwarded-For (e.g., only trust X-Forwarded-For from known/authorized reverse proxies) to prevent bypasses like spoofing X-Forwarded-For: 127.0.0.1.

Event History

Aug 28, 2026
CVE Published
via IBM·12:00 AM
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Sep 4, 2026
CVE Published
via MITRE·02:23 PM
Data Sourced
via MITRE·02:23 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

Who can exploit this issue?

A remote attacker must be authenticated to Langflow OSS. The affected versions identified are 1.0.0 through 1.11.2.

2

What does an attacker need to do to bypass the localhost-only restriction?

The attacker sends an X-Forwarded-For header with the value 127.0.0.1. This causes Langflow to treat the request as local when installing MCP configuration.

3

What is the impact of a successful bypass?

An attacker can perform arbitrary writes to IDE MCP configuration files, including paths such as ~/.cursor/mcp.json. This can allow installation of attacker-controlled MCP configuration.

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