Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to WebSocket /api/events/in
-
DeliveryServer accepts without auth validation
-
ExploitSend crafted event JSON message
-
ExecutionEvent processed as authenticated
-
ImpactInject malicious workflow event
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target Prefect instance has API authentication configured (the auth_string setting is non-null). Deployments without authentication enabled are unaffected due to legacy mode compatibility logic in the patched version. The WebSocket endpoint must be network-accessible to the attacker (default on local/internal networks for self-hosted Prefect; may be exposed in cloud deployments). No special user interaction is required-pure remote unauthenticated exploitation is possible. The vulnerability does not require compromised credentials, valid user accounts, or elevated privileges. If the Prefect instance explicitly disables API authentication, this vulnerability cannot be exploited because the server falls back to legacy mode that accepts unauthenticated connections by design. |
| Impact | CVSS 5.5 with network vector (AV:N), low complexity (AC:L), no privileges required (PR:N), and no user interaction (UI:N) indicates a straightforward network-based attack requiring no special circumstances. The vector specifies low confidentiality (VC:L), integrity (VI:L), and availability (VA:L) impact with no scope change, and the 'E:P' tag indicates publicly available exploit code. CISA KEV status is not explicitly provided, but combined with confirmed public exploit availability (GitHub Gist), active exploitation risk is elevated. The authentication bypass classification (CWE-306) combined with remote network access creates meaningful risk for Prefect deployments with authentication configured. However, the moderate CVSS score and low individual impact metrics (L/L/L) suggest this is likely exploitable for reconnaissance or limited unauthorized event injection rather than full system compromise. The vulnerability appears targetable only against Prefect instances with API authentication enabled-default deployments without auth configured are unaffected per the patch logic ('legacy mode'). Real-world priority depends on whether target Prefect instance has authentication configured and network exposure of the events endpoint. |
| Exploit ScenarioDerived | An attacker on the network (or remote if the WebSocket endpoint is publicly exposed) establishes a WebSocket connection to the /api/events/in endpoint without providing authentication credentials. In vulnerable versions, the server accepts the connection immediately without requiring an auth handshake, allowing the attacker to send crafted event messages that are processed by the Prefect server as if from an authenticated client. The attacker could inject false workflow events, corrupt audit logs, or trigger unintended workflow executions depending on event handling logic. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 04, 2026
Authentication bypass in Prefect WebSocket endpoint /api/events/in allows unauthenticated remote attackers to send events without valid credentials in versions up to 3.6.13. The vulnerability exploits missing authentication validation on the WebSocket connection handshake, allowing attackers to interact with the events API when authentication is configured. A publicly available exploit exists; vendor patch version 3.6.14 addresses this by implementing mandatory subprotocol-based authentication handshake.
RemediationAI
Vendor-released patch: upgrade to Prefect version 3.6.14 or later, available at https://github.com/PrefectHQ/prefect/releases/tag/3.6.14 (commit 0d3ab3c2d3f9f98abfafdf7b9f6d4f8ed3925e40). For organizations unable to immediately upgrade, restrict network access to the /api/events/in WebSocket endpoint using network segmentation or firewall rules, allowing only trusted internal clients. Alternatively, if the Prefect API authentication feature is not required for your deployment, it can be disabled (which enables legacy mode that accepts unauthenticated connections), but this reduces security posture and should only be considered as a temporary mitigation. Verify after upgrade that authentication validation is enforced by confirming WebSocket connections without valid authentication tokens are rejected with WS_1002_PROTOCOL_ERROR responses.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Prefect is a workflow orchestration platform that uses WebSocket connections for real-time event streaming via the /api/events/in endpoint. The vulnerability exists in the events client component (src/prefect/events/clients.py) and server subscription handler (src/prefect/server/utilities/subscriptions.py). The root cause is CWE-306 (Missing Authentication for Critical Function): the WebSocket connection was accepting client connections without validating authentication tokens before processing event submissions. The fix introduces a 'prefect' subprotocol requirement and implements an authentication handshake where clients must send an auth message with a valid token immediately after connection establishment, and the server validates the response before proceeding. This addresses the missing authentication check that allowed unauthenticated access to what should be a protected endpoint.
Know when Prefect gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A flaw has been found in PrefectHQ prefect up to 3.6.13. Affected is an unknown function of the file /api/events/in of the component WebSocket Endpoint. Executing a manipulation can lead to missing authentication. The attack may be performed from remote. The exploit has been published and may be used. Upgrading to version 3.6.14 is able to address this issue. This patch is called 0d3ab3c2d3f9f98abfafdf7b9f6d4f8ed3925e40. It is recommended to upgrade the affected component.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Related Vulnerabilities in PrefectHQ prefect Multiple Vulnerabilities
View all 4Cross-Site Request Forgery (CSRF) in GitHub repository prefecthq/prefect prior to 2.16.5. Rated high severity (CVSS 8.8)
Remote code execution in PrefectHQ Prefect through version 3.8.2 allows authenticated users to inject arbitrary git argu
EUVD-2026-26877
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB