Advisory

PYSEC-2026-1800

Also known as: CVE-2024-8183, GHSA-4v9f-r55g-g6hc

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: CVSS v3 score 7.6, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:48 UTC

Affected packages and fixes

prefect

PyPI · All systems

Affected

  • introduced 0, fixed 2.20.17, introduced 3.0.0rc1, fixed 3.0.3 (ecosystem)

Fixed versions

2.20.17, 3.0.3

Fix

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

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: PyPA Advisory Database · CC BY 4.0

Sources & licences