Advisory record · GHSA-4grg-w6v8-c28g

Flask uses fallback key instead of current signing key

CVSS 1.8 LowEPSS 0.0019 · 8th percentile

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

PackageEcosystemAffectedFixed in
flaskPyPI>=3.1.0, <3.1.13.1.1
Identifiers
GHSA-4grg-w6v8-c28g · CVE-2025-47278 · PYSEC-2026-1377
Weakness (CWE)
CWE-683
Published
13 May 2025
Updated
10 Sept 2026

Machine-written summary

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

Flask versions 3.1.0 up to, but not including, 3.1.1 are affected. Sites that use key rotation through SECRET_KEY_FALLBACKS sign sessions with a stale fallback key instead of the current signing key, which can stall their move to newer keys. Upgrade to Flask 3.1.1, which is the listed fixed version. The source says sessions remain signed, so no loss of data integrity is expected.

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
1.8 Low 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0019, the 8th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 13 May 2025, 15:01 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:34 UTC First seen by agentprime
  3. 31 Oct 2026, 14:34 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.