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.
Langflow, an open-source AI workflow platform, contains a chained origin validation flaw in versions through 1.6.9 that allows a malicious webpage to steal authenticated session tokens and then execute arbitrary code on the server. The root cause is a CORS configuration that accepts credentialed cross-origin requests from any origin, combined with a refresh token cookie set to SameSite=None, giving an attacker's page full access to the token refresh endpoint. Successful exploitation yields complete account takeover, remote code execution, and exposure of all API keys and credentials stored in the workspace.
Langflow's FastAPI backend is configured with allow_origins='*' and allow_credentials=True simultaneously, a combination that browsers treat as permission to send cookies on cross-origin requests to any destination. The refresh token cookie compounds this by carrying SameSite=None, which instructs the browser to attach it even on requests initiated from a third-party page. Together these settings eliminate the same-origin boundary that normally prevents one site from reading another site's authenticated responses, placing the flaw squarely in CWE-346: the server accepts inbound credentialed requests without validating that the origin is trusted.
When a victim with an active Langflow session visits an attacker-controlled webpage, that page issues a cross-origin request to the Langflow token refresh endpoint. The browser automatically attaches the victim's refresh token cookie, and Langflow returns fresh access and refresh tokens to the attacker's origin. The attacker then uses those tokens against authenticated endpoints, including built-in code-execution functionality, to run arbitrary code and achieve full system compromise. All API keys and downstream service credentials stored in the workspace are also exposed. Exploitation requires only that the victim visit a malicious page while logged in.
This vulnerability is confirmed as actively exploited in the wild — it is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
If Langflow runs inside your authorization boundary, yes. CVE-2025-34291 is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog with a remediation deadline of June 4, 2026, a date that has already passed. For a FedRAMP-authorized service, an unpatched KEV in the boundary is a finding. An overdue one is visible to your assessor and sponsoring agency now. Your path forward is remediation or formal documentation of the mitigation and the delay.
Knox does not patch your software. Remediating Langflow is your responsibility under the FedRAMP shared-responsibility model. What Knox provides is the pre-authorized, single-tenant boundary to remediate within, along with Knox's automated continuous monitoring platform and audit-artifact coverage that support documentation of the fix for your next assessment. Applying the patch is yours to own; maintaining a defensible compliance posture while you do it is not something you have to manage alone.
Knox's automated continuous monitoring platform watches your environment for newly disclosed vulnerabilities and compliance issues on a continuous basis. When something like CVE-2025-34291 surfaces, exposure is identified through ongoing monitoring rather than surfacing for the first time during an assessor review. That gap matters when KEV deadlines are already running.
Knox runs a FedRAMP-as-a-Service platform. It gives SaaS vendors a pre-authorized cloud boundary on AWS, Azure, and GCP. Your application inherits 60-80% of the required security controls. You reach FedRAMP authorization in about 90 days for roughly 90% less than the traditional $3.5M path. Book a meeting and Knox will map your path to authorization.
If CVE-2025-34291 remains unremediated, it is already a Plan of Action and Milestones (POA&M) item. A growing POA&M list is what turns a routine continuous-monitoring review into a difficult conversation with your sponsoring agency. Closing the finding and documenting why the deadline was missed is what keeps your authorization intact and the agency relationship on solid footing.
Schedule a meeting to discuss scope, parse readiness, and map your company’s accelerated path to FedRAMP authorization.









_Horizontal_RGB.png)








