Skip to content

This vulnerability is being actively exploited in the wild, according to the CISA Known Exploited Vulnerabilities catalog. CISA added it on .

HighVulnerability

CVE-2025-34291: Langflow account takeover and remote code execution via CORS and refresh token

Identifier
CVE-2025-34291
Published
Record updated
View JSON
Affected
  • langflow <= 1.6.9
Fixed in
1.7.0
  • released December 18, 2025, 12 days after disclosure
EPSS
92.8%

Summary

Langflow versions up to and including 1.6.9 contain a chained flaw tracked as CVE-2025-34291. An overly permissive CORS configuration (allow_origins='*' with allow_credentials=True) combined with a refresh token cookie set to SameSite=None lets a malicious webpage call the refresh endpoint with the victim's credentials. The attacker obtains fresh access_token and refresh_token pairs, which grant access to authenticated endpoints, including built-in code-execution functionality, enabling arbitrary code execution and full system compromise.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.