CVE-2021-31408

Server session is not invalidated when logout() helper method of Authentication module is used in Vaadin 18-19

HIGH
7.1
CVSS Score
Published: April 23, 2021 at 04:07 PM UTC
Updated: June 17, 2026 at 03:51 AM UTC
2 products affected across 1 vendorVaadinFlow

Using Vaadin by Vaadin?

Get instant alerts when new vulnerabilities affect Vaadin - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.3%

Description

Authentication.logout() helper in com.vaadin:flow-client versions 5.0.0 prior to 6.0.0 (Vaadin 18), and 6.0.0 through 6.0.4 (Vaadin 19.0.0 through 19.0.3) uses incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.0.05.0.0 ≤ v < 6.0.06.0.0 ≤ v < 6.0.55.0.0
Affected range stops below 6.0.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.0.5, so it looks safe — our inference, not a vendor statement
v ≥ 18.0.019.0.0 ≤ v < 19.0.418.0.0
Affected range stops below 19.0.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

x_refsource_MISCPatchThird Party Advisory
https://github.com/vaadin/flow/pull/10577

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-613

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card