CVE catalog

CVE-2020-25032

python-flask-cors affected and fixed versions

[CVE catalog]

An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3.0.9. It allows ../ directory traversal to access private resources because resource matching does not ensure that pathnames are in a canonical format.

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
4.02% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixiepython-flask-cors3.0.9-1FixedDistribution-reported fixed boundary[CVE-2020-25032]
Debiantrixiepython-flask-cors6.0.1-1Fixed[CVE-2020-25032]
Debiansidpython-flask-cors3.0.9-1FixedDistribution-reported fixed boundary[CVE-2020-25032]
Debiansidpython-flask-cors6.0.5-1Fixed[CVE-2020-25032]
Debianforkypython-flask-cors3.0.9-1FixedDistribution-reported fixed boundary[CVE-2020-25032]
Debianforkypython-flask-cors6.0.5-1Fixed[CVE-2020-25032]
Debianbookwormpython-flask-cors3.0.10-2+deb12u1Fixed[CVE-2020-25032]
Debianbookwormpython-flask-cors3.0.9-1FixedDistribution-reported fixed boundary[CVE-2020-25032]

Showing 8 fix observations. All 17 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Debianbookwormpython-flask-cors3.0.10-2+deb12u1Fixed[CVE-2020-25032]
Debianbookwormpython-flask-cors3.0.9-1FixedDistribution-reported fixed boundary[CVE-2020-25032]
Debianforkypython-flask-cors3.0.9-1FixedDistribution-reported fixed boundary[CVE-2020-25032]
Debianforkypython-flask-cors6.0.5-1Fixed[CVE-2020-25032]
Debiansidpython-flask-cors3.0.9-1FixedDistribution-reported fixed boundary[CVE-2020-25032]
Debiansidpython-flask-cors6.0.5-1Fixed[CVE-2020-25032]
Debiantrixiepython-flask-cors3.0.9-1FixedDistribution-reported fixed boundary[CVE-2020-25032]
Debiantrixiepython-flask-cors6.0.1-1Fixed[CVE-2020-25032]
Opensuseleap 15.1python-Flask-Cors3.0.8-lp152.2.3.1UnknownSource applicability is not established[OPENSUSE-SU-2020:1393-1]
Opensuseleap 15.2python-Flask-Cors3.0.8-lp152.2.3.1UnknownSource applicability is not established[OPENSUSE-SU-2020:1393-1]
Opensusetumbleweedpython-Flask-Cors3.0.10-1.3UnknownSource applicability is not established[OPENSUSE-SU-2024:11206-1]
Opensusetumbleweedpython-Flask-Cors4.0.0-1.3UnknownSource applicability is not established[OPENSUSE-SU-2024:14129-1]
Opensusetumbleweedpython-Flask-Cors6.0.2-1.2UnknownSource applicability is not established[OPENSUSE-SU-2026:11990-1]
Susepackage hub 15 sp1python-Flask-Cors3.0.7-bp151.2.3.1UnknownSource applicability is not established[OPENSUSE-SU-2020:1415-1]
Susepackage hub 15 sp2python-Flask-Cors3.0.8-bp152.2.3.1UnknownSource applicability is not established[OPENSUSE-SU-2020:1446-1][OPENSUSE-SU-2020:1423-1]
Ubuntu20.04python-flask-cors3.0.8-2UnknownSource applicability is not established[USN-6019-1][UBUNTU-CVE-2020-25032]
Ubuntu20.04python-flask-cors3.0.8-2ubuntu0.1UnknownSource applicability is not established[USN-6019-1][UBUNTU-CVE-2020-25032]
Original provider fields
{
  "package_releases": [
    {
      "name": "python-flask-cors",
      "status": "fixed",
      "release": "sid",
      "version": "6.0.5-1"
    },
    {
      "name": "python-flask-cors",
      "status": "fixed",
      "release": "forky",
      "version": "6.0.5-1"
    },
    {
      "name": "python-flask-cors",
      "status": "fixed",
      "release": "trixie",
      "version": "6.0.1-1"
    },
    {
      "name": "python-flask-cors",
      "status": "fixed",
      "release": "bookworm",
      "version": "3.0.10-2+deb12u1"
    }
  ],
  "fixed_versions": [
    {
      "bug": 969362,
      "name": "python-flask-cors",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "3.0.9-1"
    },
    {
      "bug": 969362,
      "name": "python-flask-cors",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "3.0.9-1"
    },
    {
      "bug": 969362,
      "name": "python-flask-cors",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "3.0.9-1"
    },
    {
      "bug": 969362,
      "name": "python-flask-cors",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "3.0.9-1"
    }
  ],
  "distribution_packages": [
    {
      "name": "python-Flask-Cors",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.0.2-1.2"
            }
          ]
        }
      ],
      "release": "tumbleweed",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2026:11990-1",
      "fixed_version": "6.0.2-1.2",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2026:11990-1",
      "provider_updated_at": "2026-10-05T10:15:29.650747711Z",
      "applicability_unknown": true
    },
    {
      "name": "python-flask-cors",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.0.8-2ubuntu0.1"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "3.0.8-2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/USN-6019-1",
      "fixed_version": "3.0.8-2ubuntu0.1",
      "provider_source": "pypi",
      "provider_record_id": "USN-6019-1",
      "provider_updated_at": "2026-02-10T04:43:04Z",
      "applicability_unknown": true
    },
    {
      "name": "python-Flask-Cors",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.0.10-1.3"
            }
          ]
        }
      ],
      "release": "tumbleweed",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2024:11206-1",
      "fixed_version": "3.0.10-1.3",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2024:11206-1",
      "provider_updated_at": "2026-02-04T04:23:54.805750Z",
      "applicability_unknown": true
    },
    {
      "name": "python-flask-cors",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.0.8-2ubuntu0.1"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "3.0.8-2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-25032",
      "fixed_version": "3.0.8-2ubuntu0.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2020-25032",
      "provider_updated_at": "2026-02-04T03:28:18.584445Z",
      "applicability_unknown": true
    },
    {
      "name": "python-Flask-Cors",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.0.8-lp152.2.3.1"
            }
          ]
        }
      ],
      "release": "leap 15.1",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2020:1393-1",
      "fixed_version": "3.0.8-lp152.2.3.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2020:1393-1",
      "provider_updated_at": "2026-02-04T03:27:05.408427Z",
      "applicability_unknown": true
    },
    {
      "name": "python-Flask-Cors",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.0.8-lp152.2.3.1"
            }
          ]
        }
      ],
      "release": "leap 15.2",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2020:1393-1",
      "fixed_version": "3.0.8-lp152.2.3.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2020:1393-1",
      "provider_updated_at": "2026-02-04T03:27:05.408427Z",
      "applicability_unknown": true
    },
    {
      "name": "python-Flask-Cors",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.0.8-bp152.2.3.1"
            }
          ]
        }
      ],
      "release": "package hub 15 sp2",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2020:1446-1",
      "fixed_version": "3.0.8-bp152.2.3.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2020:1446-1",
      "provider_updated_at": "2026-02-04T02:55:46.406426Z",
      "applicability_unknown": true
    },
    {
      "name": "python-Flask-Cors",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.0.7-bp151.2.3.1"
            }
          ]
        }
      ],
      "release": "package hub 15 sp1",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2020:1415-1",
      "fixed_version": "3.0.7-bp151.2.3.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2020:1415-1",
      "provider_updated_at": "2026-02-04T02:44:43.230795Z",
      "applicability_unknown": true
    },
    {
      "name": "python-Flask-Cors",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.0.8-bp152.2.3.1"
            }
          ]
        }
      ],
      "release": "package hub 15 sp2",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2020:1423-1",
      "fixed_version": "3.0.8-bp152.2.3.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2020:1423-1",
      "provider_updated_at": "2026-02-04T02:38:35.030543Z",
      "applicability_unknown": true
    },
    {
      "name": "python-Flask-Cors",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.0.0-1.3"
            }
          ]
        }
      ],
      "release": "tumbleweed",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2024:14129-1",
      "fixed_version": "4.0.0-1.3",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2024:14129-1",
      "provider_updated_at": "2026-02-04T02:15:50.133342Z",
      "applicability_unknown": true
    }
  ]
}

[Debian bug #969362]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [python-flask-cors]

    Details (2)
    • 3.0.10-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.0.9-1

      dsa · python-flask-cors · debian · bookworm; dsa · python-flask-cors · debian · 12

    • 3.0.10-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.0.9-1

      dsa · python-flask-cors · debian · bookworm; dsa · python-flask-cors · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-flask-cors]

    Details (2)
    • 6.0.1-1 · all · trixie

      Fixed · Fixed: 3.0.9-1

      dsa · python-flask-cors · debian · 13

    • 6.0.1-1 · all · trixie

      Fixed · Fixed: 3.0.9-1

      dsa · python-flask-cors · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-Flask-Cors]

    Details (1)
    • 6.0.2-1.2 · noarch · tumbleweed

      Unknown · Fixed: 3.0.10-1.3, 4.0.0-1.3, 6.0.2-1.2

      Version impact unknown

      dsa · python-Flask-Cors · opensuse · tumbleweed

  • Source package: [python-Flask-Cors]

    Details (1)
    • 6.0.2-1.2 · noarch · tumbleweed

      Unknown · Fixed: 3.0.10-1.3, 4.0.0-1.3, 6.0.2-1.2

      Version impact unknown

      dsa · python-Flask-Cors · opensuse · tumbleweed

Observed:

References