CVEMETERBack to radar
OFFICIAL RECORD · Python packages

CVE-2025-47278

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 1.8 · low

Flask uses fallback key instead of current signing key

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.192% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 1.8 · published by GitHub_M
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:01:30.120Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:01:30.120ZCVE Program
epssverified2026-11-19T16:04:40.990ZFIRST EPSS
patchesverified2026-11-19T12:52:02.626ZOSV
affectedverified2026-11-19T12:01:30.120ZCVE Program
lifecycleverified2026-11-19T12:01:30.120ZCVE Program

Affected versions and configuration

pallets flask; default status: unknown: = 3.1.0 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

OSV · osv · full conditions
{
  "id": "GHSA-4grg-w6v8-c28g",
  "aliases": [
    "CVE-2025-47278",
    "PYSEC-2026-1377"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "3.1.0"
            },
            {
              "fixed": "3.1.1"
            }
          ]
        }
      ],
      "package": {
        "name": "flask",
        "purl": "pkg:pypi/flask",
        "ecosystem": "PyPI"
      },
      "versions": [
        "3.1.0"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-4grg-w6v8-c28g/GHSA-4grg-w6v8-c28g.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/pallets/flask/security/advisories/GHSA-4grg-w6v8-c28g",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-47278",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/pallets/flask/commit/73d6504063bfa00666a92b07a28aaf906c532f09",
      "type": "WEB"
    },
    {
      "url": "https://github.com/pallets/flask",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/pallets/flask/releases/tag/3.1.1",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-683"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "nvd_published_at": "2025-05-13T16:15:32Z",
    "github_reviewed_at": "2025-05-13T20:25:26Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "PYSEC-2026-1377",
  "aliases": [
    "CVE-2025-47278",
    "GHSA-4grg-w6v8-c28g"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "3.1.0"
            },
            {
              "fixed": "3.1.1"
            }
          ]
        }
      ],
      "package": {
        "name": "flask",
        "purl": "pkg:pypi/flask",
        "ecosystem": "PyPI"
      },
      "versions": [
        "3.1.0"
      ],
      "database_specific": {
        "source": "https://github.com/pypa/advisory-database/blob/main/vulns/flask/PYSEC-2026-1377.yaml"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/pallets/flask/security/advisories/GHSA-4grg-w6v8-c28g",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-47278",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/pallets/flask/commit/73d6504063bfa00666a92b07a28aaf906c532f09",
      "type": "FIX"
    },
    {
      "url": "https://github.com/pallets/flask",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/pallets/flask/releases/tag/3.1.1",
      "type": "WEB"
    },
    {
      "url": "https://pypi.org/project/flask",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/advisories/GHSA-4grg-w6v8-c28g",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "pallets",
      "product": "flask",
      "versions": [
        {
          "status": "affected",
          "version": "= 3.1.0"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2025-47278",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-05-13T20:13:56.371838Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-05-13T20:14:09.702Z"
      }
    }
  ]
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryPyPI / packageflaskNot a distribution channel3.1.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history