---
id: CVE-2024-8183
aliases:
  - GHSA-4v9f-r55g-g6hc
  - PYSEC-2026-1800
title: Prefect CORS (Cross-Origin Resource Sharing) misconfiguration
summary: Prefect CORS (Cross-Origin Resource Sharing) misconfiguration
severity: high
cvss: 7.6
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L'
vendor: prefect
product: prefect
ecosystem: pip
affected:
  - 'prefect >= 3.0.0rc1, < 3.0.3'
  - prefect < 2.20.17
patched:
  - prefect 3.0.3
  - prefect 2.20.17
published: '2025-03-20'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-4v9f-r55g-g6hc'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-8183'
  - url: 'https://github.com/PrefectHQ/prefect/issues/15074'
  - url: >-
      https://github.com/PrefectHQ/prefect/commit/8f159b404126d93964a4daace7619bc553fa318c
  - url: >-
      https://github.com/prefecthq/prefect/commit/a69266e077169b8a32ad76b1dd3ea63b96d011c2
  - url: 'https://github.com/PrefectHQ/prefect'
  - url: 'https://github.com/PrefectHQ/prefect/releases/tag/2.20.17'
  - url: 'https://huntr.com/bounties/b801de43-ff9f-4db9-b583-4797d4f7d3d2'
tags:
  - osv
  - pip
epss: 0.0018
epssPercentile: 0.07842
ingestedAt: '2026-07-08T18:25:45.543Z'
---

## Overview

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 packages

- `prefect >= 3.0.0rc1, < 3.0.3`
- `prefect < 2.20.17`

## Remediation

Upgrade to a patched release:

- `prefect 3.0.3`
- `prefect 2.20.17`
