HIGH7.6
PYSEC-2026-1800
Prefect CORS (Cross-Origin Resource Sharing) misconfiguration
Quick fix
PYSEC-2026-1800 — prefect: upgrade to the fixed version with the command below.
pip install --upgrade 'prefect>=2.20.17'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8183[ADVISORY]
- https://github.com/PrefectHQ/prefect/issues/15074[WEB]
- https://github.com/PrefectHQ/prefect/commit/8f159b404126d93964a4daace7619bc553fa318c[WEB]
- https://github.com/prefecthq/prefect/commit/a69266e077169b8a32ad76b1dd3ea63b96d011c2[WEB]
- https://github.com/PrefectHQ/prefect[PACKAGE]
- https://github.com/PrefectHQ/prefect/releases/tag/2.20.17[WEB]
- https://huntr.com/bounties/b801de43-ff9f-4db9-b583-4797d4f7d3d2[WEB]
- https://pypi.org/project/prefect[PACKAGE]
- https://github.com/advisories/GHSA-4v9f-r55g-g6hc[ADVISORY]