CVE-2021-31406Vaadin Flow
Low 2.5
Follow: this CVE · Vaadin · Vaadin Flow We alert you by email or Slack (account required).
- Priority
- 15
- CVSS 3.1
- 2.5
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 9
- Auth required
- Yes
- Published
- Apr 23, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
Non-constant-time comparison of CSRF tokens in endpoint request handler in com.vaadin:flow-server versions 3.0.0 through 5.0.3 (Vaadin 15.0.0 through 18.0.6), and com.vaadin:fusion-endpoint version 6.0.0 (Vaadin 19.0.0) allows attacker to guess a security token for Fusion endpoints via timing attack.
What to do
- Apply the vendor's security update for Flow.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.vaadin:flow-server |
≥ 3.0.0 < 5.0.4 |
5.0.4 |
— |
| Maven | com.vaadin:flow-server |
≥ 6.0.0 < 6.0.1 |
6.0.1 |
— |
Per OSV / GitHub Advisories (GHSA-p7jq-v8jp-j424). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vaadin | flow | ≥ 3.0.0 < 5.0.4 |
| vaadin | flow | 6.0.0 |
| vaadin | vaadin | ≥ 15.0.0 < 18.0.7 |
| vaadin | vaadin | 19.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- vaadin.com Vendor Advisory