Is flask-cors 5.0 vulnerable?

PyPI · 2 releases from 5.0.0 to 5.0.1 · latest flask-cors is 6.0.5 · checked 18 Nov 2026

Yes: 3 known advisories

Yes. flask-cors 5.0.1, the last 5.0 release, is affected by 3 known security advisories (3 medium), including CVE-2024-6866, CVE-2024-6839, CVE-2024-6844. Upgrade to 6.0.0 or later to fix all of them.

Upgrade with:pip install 'flask-cors>=6.0.0'

Is your project on an affected flask-cors?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting flask-cors 5.0.1

  • MediumCVE-2024-6866GHSA-43qf-4rqw-9q2g20 Mar 2025

    Flask-CORS vulnerable to Improper Handling of Case Sensitivity

    Affected
    <6.0.0
    Fixed in
    6.0.0
  • MediumCVE-2024-6839GHSA-7rxf-gvfg-47g420 Mar 2025

    Flask-CORS improper regex path matching vulnerability

    Affected
    <6.0.0
    Fixed in
    6.0.0
  • MediumCVE-2024-6844GHSA-8vgw-p6qm-5gr720 Mar 2025

    Flask-CORS allows for inconsistent CORS matching

    Affected
    <6.0.0
    Fixed in
    6.0.0

Every flask-cors 5.0.x release

Affected: 5.0.0 to 5.0.1. Latest flask-cors: 6.0.5.

VersionKnown advisories
flask-cors 5.0.1CVE-2024-6866, CVE-2024-6839, CVE-2024-6844
flask-cors 5.0.0CVE-2024-6866, CVE-2024-6839, CVE-2024-6844

Which of your client projects are still on flask-cors 5.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact flask-cors version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other flask-cors versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.