VDB
Sign up
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

PyPI/prefect
Introduced in: 0Fixed in: 2.20.17
Fixpip install --upgrade 'prefect>=2.20.17'

References