Skip to main content

Prefect CVE-2026-7723

| EUVDEUVD-2026-26877 MEDIUM
Missing Authentication for Critical Function (CWE-306)
2026-05-04 VulDB
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to WebSocket /api/events/in
  2. Delivery
    Server accepts without auth validation
  3. Exploit
    Send crafted event JSON message
  4. Execution
    Event processed as authenticated
  5. Impact
    Inject 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

prefect 3.6.12
prefect 3.6.0
prefect 3.6.2
prefect 3.6.13
prefect 3.6.1
prefect 3.6.7
prefect 3.6.5
prefect 3.6.9
prefect 3.6.6
prefect 3.6.4
prefect 3.6.11
prefect 3.6.8
prefect 3.6.3
prefect 3.6.10

Affected Packages

pypi prefect fix: 3.6.14

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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
PoC Detected
May 04, 2026 - 15:18 vuln.today
Public exploit code
Severity Changed
May 04, 2026 - 03:22 NVD
HIGH MEDIUM
CVSS changed
May 04, 2026 - 03:22 NVD
7.3 (HIGH) 5.5 (MEDIUM)
Patch released
May 04, 2026 - 03:00 nvd
Patch available
CVE Published
May 04, 2026 - 02:30 nvd
MEDIUM 5.5

DescriptionCVE.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

EPSS Score
0.1%
Top 70% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 4

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy