CVE-2024-8183: Prefect CORS (Cross-Origin Resource Sharing) misconfiguration
A CORS (Cross-Origin Resource Sharing) misconfiguration in prefecthq/prefect prior to version 3.0.3 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.
Published Mar 20, 2025 · Updated Mar 26, 2025
Affected packages
prefect
- Ecosystem
- PyPI
- Affected
- >= 3.0.0rc1, < 3.0.3
- Fixed in
- 3.0.3
- Check
pip show prefect
prefect
- Ecosystem
- PyPI
- Affected
- < 2.20.17
- Fixed in
- 2.20.17
- Check
pip show prefect
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A CORS (Cross-Origin Resource Sharing) misconfiguration in prefecthq/prefect prior to version 3.0.3 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.
Credited to srsapient.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8183
- https://github.com/prefecthq/prefect/commit/a69266e077169b8a32ad76b1dd3ea63b96d011c2
- https://huntr.com/bounties/b801de43-ff9f-4db9-b583-4797d4f7d3d2
- https://github.com/PrefectHQ/prefect/issues/15074
- https://github.com/PrefectHQ/prefect/commit/8f159b404126d93964a4daace7619bc553fa318c
- https://github.com/PrefectHQ/prefect/releases/tag/2.20.17
- https://github.com/advisories/GHSA-4v9f-r55g-g6hc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-5366
Prefect has Git Flag Injection via commit_sha and directories Parameters Leading to Remote Code Execution (RCE)
critical9.9Jun 20, 2026CVE-2026-3514
Prefect has an Authentication Middleware Bypass when URL paths are appended with 'health' or 'ready'
high7.5Jun 2, 2026CVE-2026-3515
Prefect has an Argument Injection issue
high8.5No fixMay 26, 2026CVE-2026-7722
Prefect Auth Bypass via endswith() Health Check Exemption
medium5.3May 4, 2026CVE-2026-7723
Prefect Unauthenticated Event Injection via /api/events/in WebSocket
medium7.3May 4, 2026CVE-2026-7724
Prefect SSRF Bypass via DNS Rebinding in validate_restricted_url
low5.0May 4, 2026
