{
  "id": "CVE-2025-34291",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-34291",
  "published_at": "2025-12-05T22:27:26.438Z",
  "title": "Langflow \u003c= 1.6.9 CORS Misconfiguration to Token Hijack \u0026 RCE",
  "vendor": "Langflow",
  "product": "Langflow",
  "cvss": {
    "score": 9.4,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2026-05-21",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 167
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Langflow versions up to and including 1.6.9 contain a chained vulnerability that enables account takeover and remote code execution. An overly permissive CORS configuration (allow_origins='*' with allow_credentials=True) combined with a refresh token cookie configured as SameSite=None allows a malicious webpage to perform cross-origin requests that include credentials and successfully call the refresh endpoint. An attacker-controlled origin can therefore obtain fresh access_token / refresh_token pairs for a victim session. Obtained tokens permit access to authenticated endpoints — including built-in code-execution functionality — allowing the attacker to execute arbitrary code and achieve full system compromise.",
  "cwe": "CWE-346",
  "cpes": [
    "cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.4,
    "nvd": 8.8
  },
  "repos": [
    {
      "repo": "amnnrth/CVE-2025-34291_cors_security_scanner",
      "url": "https://github.com/amnnrth/CVE-2025-34291_cors_security_scanner",
      "created_at": "2026-05-18T12:26:03Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "error",
      "owner_created_at": "2019-10-10T10:27:24Z"
    },
    {
      "repo": "ridhinva/langflow-cors-scanner",
      "url": "https://github.com/ridhinva/langflow-cors-scanner",
      "created_at": "2026-05-22T20:44:28Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "error",
      "owner_created_at": "2019-07-04T03:28:18Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Langflow",
        "product": "Langflow",
        "ranges": [
          "\u003c= 1.6.9"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "langflow",
        "ranges": [
          "\u003c 1.7.0"
        ],
        "fixed_in": [
          "1.7.0"
        ],
        "ecosystem": "PyPI",
        "advisory": "GHSA-577h-p2hh-v4mv"
      }
    ],
    "upgrade": [
      "Upgrade langflow to 1.7.0 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-34291.yaml",
      "source": "nuclei",
      "title": "nuclei template: Langflow AI \u003c= 1.6.9 - CORS Misconfiguration",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
