CVE catalog

CVE-2025-47278

flask: CVE-2025-47278

[CVE catalog]

Severity
Low · CVSS 2.3CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.19% · Oct 25, 2026

Flask is a web server gateway interface (WSGI) web application framework. In Flask 3.1.0, the way fallback key configuration was handled resulted in the last fallback key being used for signing, rather than the current signing key. Signing is provided by the `itsdangerous` library. A list of keys can be passed, and it expects the last (top) key in the list to be the most recent key, and uses that for signing. Flask was incorrectly constructing that list in reverse, passing the signing key first. Sites that have opted-in to use key rotation by setting `SECRET_KEY_FALLBACKS` care likely to unexpectedly be signing their sessions with stale keys, and their transition to fresher keys will be impeded. Sessions are still signed, so this would not cause any sort of data integrity loss. Version 3.1.1 contains a patch for the issue.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianflasksid3.1.3-4fixed
Debianflaskforky3.1.3-4fixed
Debianflasktrixie3.1.1-1+deb13u1fixed
Debianflaskbookworm2.2.2-3not affected
Opensusepython-Flasktumbleweed3.1.1-1.1fixed
Ubuntuflask25.043.0.3-1ubuntu1vulnerable
Ubuntuflask25.043.1.0-2ubuntu1vulnerable
Ubuntuflask25.043.1.0-2ubuntu1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianflasksourcesid3.1.1-1not yet assignedNot reported[1105794]
Debianflasksourceforky3.1.1-1not yet assignedNot reported[1105794]
Debianflasksourcetrixie3.1.1-1not yet assignedNot reported[1105794]
DebianflasksourcebookwormNot affectedunimportantNot reported[1105794]
Opensusepython-Flaskrpmtumbleweed3.1.1-1.1Not reportedOPENSUSE-SU-2025:15152-1Not reported
Ubuntuflaskdeb25.043.1.0-2ubuntu1.1Not reportedUSN-7534-1Not reported

[Debian bug #1105794]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python-Flask]

    Details (1)
    • 3.1.3-2.2 · noarch · tumbleweed

      Unknown · Fixed: 3.1.1-1.1

      Version impact unknown

      dsa · python-Flask · opensuse · tumbleweed

  • Source package: [python-Flask]

    Details (1)
    • 3.1.3-2.2 · noarch · tumbleweed

      Unknown · Fixed: 3.1.1-1.1

      Version impact unknown

      dsa · python-Flask · opensuse · tumbleweed

  • Source package: [python-Flask]

    Details (1)
    • 3.1.3-2.2 · noarch · tumbleweed

      Unknown · Fixed: 3.1.1-1.1

      Version impact unknown

      dsa · python-Flask · opensuse · tumbleweed

  • Source package: [python-Flask]

    Details (1)
    • 3.1.3-2.2 · noarch · tumbleweed

      Unknown · Fixed: 3.1.1-1.1

      Version impact unknown

      dsa · python-Flask · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [python3-flask]Not affected

    Source package: [flask]

    Details (2)
    • 2.2.2-3 · all · bookworm

      Not affected

      dsa · flask · debian · bookworm

    • 2.2.2-3 · all · bookworm

      Not affected

      dsa · flask · debian · bookworm

  • [python-flask-doc]Not affected

    Source package: [flask]

    Details (2)
    • 2.2.2-3 · all · bookworm

      Not affected

      dsa · flask · debian · bookworm

    • 2.2.2-3 · all · bookworm

      Not affected

      dsa · flask · debian · bookworm

[Debian 13 (Trixie)]

  • Source package: [flask]

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

      Fixed · Fixed: 3.1.1-1

      dsa · flask · debian · 13

    • 3.1.1-1 · all · trixie

      Fixed · Fixed: 3.1.1-1

      dsa · flask · debian · 13

  • Source package: [flask]

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

      Fixed · Fixed: 3.1.1-1

      dsa · flask · debian · 13

    • 3.1.1-1 · all · trixie

      Fixed · Fixed: 3.1.1-1

      dsa · flask · debian · 13

Observed:

References