Actively exploited EPSS 93% Langflow Langflow CWE-346

CVE-2025-34291: Langflow Origin Validation Error Vulnerability

Langflow contains an origin validation error vulnerability in which an overly permissive CORS configuration 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. This could allow the attacker to execute arbitrary code and achieve full system compromise via obtained tokens that permit access to authenticated endpoints.

Why it matters

CISA added CVE-2025-34291 to its Known Exploited Vulnerabilities (KEV) catalog on 2026-05-21 — meaning it is confirmed to be exploited in the wild, not just theoretically risky. US federal agencies had to remediate it by 2026-06-04, and it is a high priority for everyone else too.

How to fix it

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Details

Affected open-source packages

The GitHub Advisory Database links CVE-2025-34291 to this package. Each page lists every advisory for the package, the affected versions and the fixed release:

Is CVE-2025-34291 in your fleet?

SkyShield scans your servers, containers and cloud for vulnerable packages and images (Trivy), ranks them by whether they're on CISA KEV and their EPSS exploit probability, and shows the fix per machine. Start free.