CVE-2021-31408 in Vaadin and 1 more product
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...
Affects 2 products from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-31408 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-267001-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| Published | 2021-04-23 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-613: CWE-613
Analysis AI-written, not human-reviewed
{ "executive_summary": "A vulnerability in the 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) allows local attackers to access Fusion endpoints after the user attempts to log out due to the use of an incorrect HTTP method in conjunction with Spring Security CSRF protection.", "attack_vector_detail": "The vulnerability arises from the Authentication.logout() helper using an incorrect HTTP method, which can be exploited by local attackers to bypass the intended logout process and access protected endpoints. This issue is exacerbated by the presence of Spring Security CSRF protection, which does not properly handle the incorrect HTTP method used during the logout process.", "affected_components": ["com.vaadin:flow-client versions 5.0.0 prior to 6.0.0 (Vaadin 18)", "com.vaadin:flow-client versions 6.0.0 through 6.0.4 (Vaadin 19.0.0 through 19.0.3)"],
Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N.
Questions
What is CVE-2021-31408?
{ "executive_summary": "A vulnerability in the 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) allows local attackers to access Fusion endpoints after the user attempts to log out due to the use of an incorrect HTTP method in conjunction with Spring Security CSRF protection.", "attack_vector_detail": "The vulnerability arises from the Authentication.logout() helper using an incorrect HT
What is the CVSS score for CVE-2021-31408?
CVE-2021-31408 has CVSS 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N. EPSS: 0.3%.
Is CVE-2021-31408 actively exploited?
No confirmed active exploitation of CVE-2021-31408 as of 2026-09-25.
How do I remediate CVE-2021-31408?
Priority: MEDIUM. Advisory: https://vaadin.com/security/cve-2021-31408 PSIRT: [email protected]
What systems are affected by CVE-2021-31408?
CVE-2021-31408 affects Vaadin Vaadin, Flow.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Vaadin","product":"Vaadin","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.