S4E just found a high top 10 tcp port service scan
critical·Misconfiguration·Updated Jan 3, 2026

CVE-2025-34291 Scanner

CVE-2025-34291 Scanner - CORS Misconfiguration vulnerability in Langflow AI

Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
0
Times Used
by S4E users
0
Assets Scanned
domains & IPs
0
Vulnerabilities Found
confirmed findings
References
🔴
CISA Known Exploited Vulnerability
This CVE is actively exploited in the wild. CISA mandates federal agencies to patch immediately.
CVECVE-2025-34291
9.4
CVSScritical
Exploitable remotely over the internet · no authentication required.

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.

Attack Vector
Network
Privileges Req.
None
User Interaction
P
Affected
Langflowby Langflow
0
Updated Aug 19, 2026View on NVD →
Detail

Langflow AI is a platform that enables users to design and conduct agent workflows using various artificial intelligence components. Developed by Langflow AI, it is widely used by developers and AI researchers for creating, testing, and deploying AI workflows. The platform offers a user-friendly interface and supports integration with various AI models and tools. It is often utilized in educational settings, research labs, and by AI enthusiasts aiming to simplify the design of AI-driven processes. Langflow AI supports collaboration and offers cloud-based deployment options, making it a significant tool in the AI workflow management sector.

The CORS Misconfiguration vulnerability in Langflow AI permits any origin to make credentialed requests. This vulnerability undermines the security model by allowing cross-origin token theft when SameSite=None cookies are used. As a result, attackers can exploit this flaw to initiate remote code execution on the server. It is critical because it disrupts the system's ability to properly validate the origin of requests, making sensitive data susceptible to unauthorized access. Detecting and addressing this vulnerability is crucial to maintaining the secure operation of AI workflows.

Technical details of the CORS Misconfiguration vulnerability reveal that the endpoint /api/v1/validate/code is vulnerable. The misconfiguration allows the Access-Control-Allow-Origin' header to respond with any origin, combined with enabled credentials through the Access-Control-Allow-Credentials' header. This combination facilitates unauthorized access to resources by attacker-controlled domains. The security issue is further exacerbated by handling SameSite=None cookies, which should be configured to restrict cross-origin requests.

When exploited, the CORS Misconfiguration vulnerability can lead to severe consequences, such as the theft of authentication tokens. Attackers obtaining these tokens can assume identities and privileges of legitimate users, potentially leading to unauthorized actions and further vulnerabilities, including remote code execution. This can result in data breaches, unauthorized system access, and potentially complete system compromise. Protecting against such exploitation is essential for safeguarding the integrity and confidentiality of systems handling sensitive and critical data.

REFERENCES

Solution Advice
  • Upgrade to Langflow version 1.7.0 or later, which includes fixes for this vulnerability.
  • Review CORS configurations to ensure that only trusted origins are allowed.
  • Implement additional security checks for requests coming from origins that need access to sensitive resources.
  • Ensure cookies use secure attributes such as Lax or Strict for SameSite settings where applicable.
  • Regularly conduct security audits to identify and rectify potential configuration missteps.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2025-34291 Scanner - CORS Misconfiguration vulnerability in Langflow AI S4E