PyPI: prefect

CVE-2023-6022

Safety vulnerability ID: SFTY-20231116-04474

Safety legacy ID: pyup.io-63067

Prefect up to and including version 2.14.12 is affected by CVE-2023-6022: An attacker is able to steal secrets and potentially gain remote code execution via CSRF using the open source Prefect web server's API. https://github.com/PrefectHQ/prefect/issues/11380

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Cross-Site Request Forgery vulnerability in Prefect

Advisory

Prefect up to and including version 2.14.12 is affected by CVE-2023-6022: An attacker is able to steal secrets and potentially gain remote code execution via CSRF using the open source Prefect web server's API. https://github.com/PrefectHQ/prefect/issues/11380

Affected Package

Affecting prefect package, versions>=2.0a1,<2.14.12

Also affects

---

How to Fix

Upgradeprefectto2.14.12or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more