Home › Intelligence › Brief
VULNERABILITY BRIEF🟠 High ThreatIntel

CVE-2025-34291: Langflow Origin Validation Error Allows Credential Theft via Over‑Permissive CORS

Langflow’s default CORS policy combined with a SameSite=None refresh‑token cookie lets a malicious webpage hijack authentication tokens, potentially compromising the entire system. The flaw highlights the need for documented secure configuration controls to satisfy audit requirements.

LiveThreat™ Intelligence · 📅 October 07, 2026· 📰 nvd.nist.gov
🟠
Severity
High
TI
Type
ThreatIntel
🎯
Confidence
High
🏢
Affected
1 sector(s)
✅
Actions
5 recommended
📰
Source
nvd.nist.gov

CVE-2025-34291: Langflow Origin Validation Error – Over‑Permissive CORS & SameSite=None Cookie Leads to Credential‑Theft and Full System Compromise

What It Is – Langflow’s web UI ships with an overly permissive Cross‑Origin Resource Sharing (CORS) policy. Coupled with a refresh‑token cookie set to SameSite=None, a malicious site can issue cross‑origin requests that include credentials and call the token‑refresh endpoint.

Exploitability – The flaw is publicly disclosed (CVE‑2025‑34291) and can be weaponised without prior access; a proof‑of‑concept exists. CVSS v3.1 is rated 8.6 (High).

Affected Products – Langflow (all versions prior to the vendor‑issued patch).

Why It Matters for Trust & Control Assurance

  • Control Mapping – The issue maps to the “Secure Configuration Management” control area, a single objective that satisfies requirements across NIST CSF, ISO 27001, and SOC 2.
  • Continuous Evidence – Demonstrating that CORS policies and cookie attributes are locked down provides audit‑ready evidence of a defended perimeter.
  • Defensible Audit Trail – Remediating and documenting the configuration change creates a traceable control‑execution record that buyers increasingly demand.

Recommended Actions

  • Immediately review and tighten Langflow’s CORS whitelist to allow only trusted origins.
  • Change the refresh‑token cookie SameSite attribute to Lax or Strict and enforce Secure flag.
  • Run automated configuration scans (e.g., CSP, CORS, cookie hygiene) and capture the results as compliance evidence.
  • Deploy a patch or upgrade to the vendor‑released version that resolves CVE‑2025‑34291.
  • Update your control‑mapping inventory to reflect the corrected configuration and retain the evidence for future audits.

Source: CISA KEV – CVE‑2025‑34291

📰 Original Source
https://nvd.nist.gov/vuln/detail/CVE-2025-34291 ↗

This LiveThreat Intelligence Brief is an independent analysis. Read the original reporting at the link above.

From the Verisq platform · Trust Operations

Answer one control objective. Answer ten frameworks.

The Verisq Common Framework is a spine of 84 control objectives that SOC 2, ISO 27001, NIST CSF, CMMC, HIPAA, PCI DSS, HITRUST, GDPR, ISO 42001 and NIST AI RMF map onto — each graded honestly. Satisfy an objective once and every framework that recognizes it lights up at its real strength.

See how the Verisq Common Framework works →