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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | prefect | >= 3.0.0rc1, < 3.0.3, < 2.20.17 | 3.0.3, 2.20.17 |
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
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L- Weakness (CWE)
CWE-346- Platform
- Python (PyPI)
- Package
prefect- Disclosed
- 20.03.2025
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1800 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-4v9f-r55g-g6hc - CC BY 4.0
Vulnerability history: prefect
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 8
- First → latest
- 11.2023 06.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 4
- Medium 2
- Low 2
Disclosures per year
- 2023: 1
- 2024: 0
- 2025: 1
- 2026: 6
-
Prefect CORS (Cross-Origin Resource Sharing) misconfiguration this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.