Advisory record · GHSA-7rxf-gvfg-47g4

Flask-CORS improper regex path matching vulnerability

CVSS 4.3 MediumEPSS 0.0074 · 54th percentile

Published by the GitHub Advisory Database at 20 Mar 2025, 12:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
flask-corsPyPI<6.0.06.0.0
Identifiers
GHSA-7rxf-gvfg-47g4 · CVE-2024-6839 · PYSEC-2026-1384
Weakness (CWE)
CWE-41
Tags
Published
20 Mar 2025
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Flask-CORS versions before 6.0.0 are affected. The source describes a flaw where longer regex path patterns take priority over more specific ones, so a less restrictive CORS policy can apply to sensitive endpoints, allowing cross-origin access to data or functionality. The source gives few details on the exact conditions an attacker needs. Upgrade flask-cors to version 6.0.0 or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.3 Medium 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N CNA (@huntr_ai)
  • CISA KEV Not listed.
  • EPSS 0.0074, the 54th percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:37 UTC First seen by agentprime
  2. 31 Oct 2026, 14:37 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.