Echo: flask: security update to 3.1.1

low Tenable Cloud Security Plugin ID 461665

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2025-47278)

Solution

Update the flask library and its related packages to version 3.1.1 or later.

See Also

https://advisory.echohq.com/cve/CVE-2025-47278

Plugin Details

Severity: Low

ID: 461665

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/2/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.84

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2025-47278

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Low

Base Score: 1.8

Threat Score: 0.2

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/28/2026

Vulnerability Publication Date: 5/13/2025

Reference Information

CVE: CVE-2025-47278