PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-105741 langflow-ai CVE debrief

Langflow's Model Context Protocol (MCP) configuration installation endpoint is vulnerable to IP spoofing, allowing authenticated remote attackers to bypass local-only access restrictions and write/overwrite MCP client configuration files. The vulnerability is caused by the `get_client_ip` helper trusting the leftmost entry of `X-Forwarded-For` unconditionally. This issue was introduced by commit `d3d06be8e5` in version 1.5.0 and affects Langflow users who have not applied the necessary patches or updates.

Vendor
langflow-ai
Product
langflow
CVSS
HIGH 7.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-07
Original CVE updated
2026-10-15
Advisory published
2026-10-07
Advisory updated
2026-10-15

Who should care

Langflow users and administrators should assess exposure and prioritize remediation to prevent potential exploitation attempts. Defenders need to verify affected versions and apply remediation to prevent exploitation. Exposure could lead to unauthorized configuration changes. Remediation priority is high due to the potential for exploitation.

Why it matters

Langflow's IP spoofing vulnerability allows authenticated remote attackers to bypass local-only access restrictions and write/overwrite MCP client configuration files. Defenders should prioritize verifying affected versions, checking for exposure, and applying remediation.

  • Authenticated remote attackers could write/overwrite MCP client configuration files.
  • Defenders need to verify affected versions and apply remediation to prevent exploitation.
  • Exposure could lead to unauthorized configuration changes.
  • Remediation priority is high due to the potential for exploitation.

Technical summary

The `get_client_ip` helper in Langflow's MCP configuration installation endpoint trusts the leftmost entry of `X-Forwarded-For` unconditionally, allowing authenticated remote attackers to bypass local-only access restrictions and write/overwrite MCP client configuration files. This issue was introduced by commit `d3d06be8e5` in version 1.5.0 and affects Langflow users who have not applied the necessary patches or updates. Defenders should prioritize verifying affected versions, checking for exposure, and applying remediation.

Defensive priority

Authenticated remote attackers could exploit this vulnerability to write/overwrite MCP client configuration files. Defenders should prioritize verifying affected versions, checking for exposure, and applying remediation.

Recommended defensive actions

  • Verify if your Langflow instance is affected by checking the version and ensuring it is not vulnerable.
  • Restrict access to the MCP configuration installation endpoint to only trusted sources.
  • Implement proper validation and sanitization of the `X-Forwarded-For` header.
  • Monitor for suspicious activity and implement compensating controls to detect potential exploitation attempts.
  • Review relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The vulnerability is caused by the `get_client_ip` helper trusting the leftmost entry of `X-Forwarded-For` unconditionally. The affected code was introduced by commit `d3d06be8e5` in version 1.5.0. Langflow users and administrators should assess exposure and prioritize remediation to prevent potential exploitation attempts. The vulnerability allows authenticated remote attackers to bypass local-only access restrictions and write/overwrite MCP client configuration files.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-105741 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-105741

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-105741 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-105741

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Langflow: IP Spoofing Bypass via `X-Forwarded-For` Allowing Remote Configuration Write

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-4f6c-2vvp-gw82.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/langflow-ai/langflow/security/advisories/GHSA-4f6c-2vvp-gw82

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/langflow-ai/langflow/pull/13915

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/langflow-ai/langflow/commit/1f39a4b9d62c9dfa1b21fa7f85e23a180c351b72

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/langflow-ai/langflow/commit/94859df33acd70b2a1f816e26d68f5e89a7e5639

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/langflow-ai/langflow

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/langflow-ai/langflow/releases/tag/v1.10.3

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.