PyPA Advisory Database
PYSEC-2026-1800
Prefect CORS (Cross-Origin Resource Sharing) misconfiguration
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | prefect | All versions before 2.20.17 (fixed in 2.20.17) From 3.0.0rc1 before 3.0.3 (fixed in 3.0.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8183
- https://github.com/PrefectHQ/prefect/issues/15074
- https://github.com/PrefectHQ/prefect/commit/8f159b404126d93964a4daace7619bc553fa318c
- https://github.com/prefecthq/prefect/commit/a69266e077169b8a32ad76b1dd3ea63b96d011c2
- https://github.com/PrefectHQ/prefect
- https://github.com/PrefectHQ/prefect/releases/tag/2.20.17
- https://huntr.com/bounties/b801de43-ff9f-4db9-b583-4797d4f7d3d2
- https://pypi.org/project/prefect
- https://github.com/advisories/GHSA-4v9f-r55g-g6hc