# CVE-2026-7723: Prefect unauthenticated event injection in WebSocket endpoint

Source: https://junglewise.ai/threats/cve-2026-7723-prefect-unauthenticated-event-injection-in-websocket-endpoint  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-04. Updated: 2026-05-22  
License: CC BY 4.0 with a link back

CVE-2026-7723 · Severity: high · CVSS 7.3 · Published 2026-05-04

Prefect is a workflow orchestration platform used to manage and observe data pipelines. A security flaw in its WebSocket endpoint allows unauthorized users to inject events into the system without authentication. This could allow an attacker to disrupt operations, trigger unauthorized workflows, or interfere with the integrity of data pipeline monitoring.

Technologies: [prefect (PyPI)](https://junglewise.ai/threats/technologies/prefect). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-7723 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-7723 being exploited in the wild.

**How severe is CVE-2026-7723?** High severity, with a CVSS score of 7.3, published 4 May 2026.

**Which products and versions are affected?** prefect (PyPI) < 3.6.14, ECOSYSTEM:introduced=0,fixed=3.6.14.

**Is there a fix for CVE-2026-7723?** Yes. prefect (PyPI): upgrade to 3.6.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-7723 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-7723?** Check whether you run prefect (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- prefect (PyPI): upgrade to 3.6.14 or later

  ```sh
  pip install "prefect>=3.6.14"
  ```


## Technical details

An improper authentication vulnerability (CWE-287) exists in the Prefect WebSocket endpoint located at /api/events/in. The flaw allows a remote, unauthenticated attacker to connect to the WebSocket and inject arbitrary events into the Prefect event stream. This occurs due to a failure to enforce authentication checks on this specific endpoint. An attacker can exploit this to manipulate system behavior or monitoring data. The issue is addressed in version 3.6.14 by implementing proper authentication requirements for the affected endpoint.

## Affected products

- PrefectHQ prefect < 3.6.14

## Identifiers

- CVE-2026-7723
- GHSA-hvph-5985-r63v
- PYSEC-2026-2958

## Timeline

- 2026-05-04: disclosed
- 2026-05-04: advisory
- 2026-05-04: patched: Fixed in version 3.6.14

## References

- [https://api.github.com/users/nedlir](https://api.github.com/users/nedlir)
- [https://github.com/nedlir](https://github.com/nedlir)
- [https://api.github.com/users/nedlir/gists%7B/gist_id%7D](https://api.github.com/users/nedlir/gists%7B/gist_id%7D)
- [https://api.github.com/users/nedlir/repos](https://api.github.com/users/nedlir/repos)
- [https://avatars.githubusercontent.com/u/66902031?v=4](https://avatars.githubusercontent.com/u/66902031?v=4)
- [https://api.github.com/users/nedlir/events%7B/privacy%7D](https://api.github.com/users/nedlir/events%7B/privacy%7D)

## Related threats

- [PYSEC-2026-1800 - Prefect CORS (Cross-Origin Resource Sharing) misconfiguration](https://junglewise.ai/threats/cve-2024-8183-prefect-cors-cross-origin-resource-sharing-misconfiguration)
- [PYSEC-2026-1799 - Cross-Site Request Forgery vulnerability in Prefect](https://junglewise.ai/threats/cve-2023-6022-cross-site-request-forgery-vulnerability-in-prefect)
- [Prefect remote code execution in GitRepository storage class](https://junglewise.ai/threats/cve-2026-5366-prefect-remote-code-execution-in-gitrepository-storage-class)
- [Prefect authentication bypass via health check path exemption](https://junglewise.ai/threats/cve-2026-3514-prefect-authentication-bypass-via-health-check-path-exemption)
- [Prefect prefect-github argument injection in GitHubRepository](https://junglewise.ai/threats/cve-2026-3515-prefect-prefect-github-argument-injection-in-githubrepository)
