Flask
Sessions are itsdangerous HMAC-SHA1 signed cookies, which the advisory does not touch.
- PyPI
Flask- Version cited
- 3.1.3
- Downloads
- 182M/mo
- Group
- Web frameworks
Key exchange and encryption
Not affected
No key exchange
Signatures and identity
Not affected
HMAC-SHA1 sessions, not affected
What to do
No change to Flask itself. Put a PQ-capable proxy in front, and if you use Flask-JWT-Extended with asymmetric keys, plan rotation with JWT_DECODE_ALGORITHMS.
Since 1 Dec 2026 Nothing found as of 3 Dec 2026.
Details
- Flask 3.1.3 sessions use itsdangerous HMAC-SHA1, like Starlette’s
SessionMiddleware. They are signed, not encrypted, and unaffected. - Flask has no TLS of its own; the AGY report puts a PQ-capable reverse proxy in front of every FastAPI, Django or Flask app (TLS).
- Flask-JWT-Extended 4.7.4 defaults to HS256 and supports ES384/RS384/PS384, with a
JWT_DECODE_ALGORITHMSlist for zero-downtime rollover (auth frameworks). - 182,091,027 downloads in 30 days. No release or statement since 1 Dec 2026.
Full discussion: FastAPI and auth