Skip to main content
VulnerabilityPublished Updated

CVE-2024-1681: python-flask-cors vulnerabilities

Affects python-flask-corsSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2024-1681· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · fixed in 3.0.8-2ubuntu0.1+esm1 : update python-flask-cors when convenient.

Data as of 24 Nov 2026, 17:24 UTC

CVSS 3.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (@huntr_ai)CVSS 3.05.3
Patch
Available – fixed in 3.0.8-2ubuntu0.1+esm1, 3.0.9-2ubuntu0.1, 4.0.0-1ubuntu0.1~esm1
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu python-flask-cors to 3.0.8-2ubuntu0.1+esm1 (package) or 3.0.9-2ubuntu0.1 (package) or 4.0.0-1ubuntu0.1~esm1 (package).

Affected software

ProductAffectedFixed in
Ubuntu Pro 24.04 LTSpython-flask-corspkg:deb/ubuntu/python-flask-cors?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <4.0.0-1ubuntu0.1~esm1
Fixed in
  • 4.0.0-1ubuntu0.1~esm1
Ubuntu 22.04 LTSpython-flask-corspkg:deb/ubuntu/python-flask-cors?arch=source&distro=jammyOther threatsAffected
  • <3.0.9-2ubuntu0.1
Fixed in
  • 3.0.9-2ubuntu0.1
Ubuntu Pro 20.04 LTSpython-flask-corspkg:deb/ubuntu/python-flask-cors?arch=source&distro=esm-apps/focalOther threatsAffected
  • <3.0.8-2ubuntu0.1+esm1
Fixed in
  • 3.0.8-2ubuntu0.1+esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

It was discovered that Flask-CORS did not correctly handle certain regular expressions. A remote attacker could possibly use this issue to leak sensitive information or bypass authentication mechanisms. (CVE-2024-6839) It was discovered that Flask-CORS allowed certain CORS headers to be enabled by default. A remote attacker could possibly use this issue to leak sensitive information. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-6221) It was discovered that Flask-CORS did not correctly handle case sensitivity when matching paths. A remote attacker could possibly use this issue to leak sensitive information. (CVE-2024-6866) It was discovered that Flask-CORS did not correctly handle certain characters in URL paths. A remote attacker could possibly use this issue to leak sensitive information or bypass authentication mechanisms. (CVE-2024-6844) Elias Hohl was discovered that Flask-CORS did not correctly sanitize log entries. A remote attacker could possibly use this issue to corrupt log files. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-1681)

References

Community reviews

Loading reviews…