Advisory

GHSA-4v9f-r55g-g6hc

Also known as: CVE-2024-8183, PYSEC-2026-1800

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-03-20 12:32 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

prefect

PyPI · All systems

Affected

  • introduced 3.0.0rc1, fixed 3.0.3 (ecosystem)

Fixed versions

3.0.3

Fix

  • Fixed version 3.0.3
    pip install --upgrade prefect==3.0.3

prefect

PyPI · All systems

Affected

  • introduced 0, fixed 2.20.17 (ecosystem)

Fixed versions

2.20.17

Fix

  • Fixed version 2.20.17
    pip install --upgrade prefect==2.20.17

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences