# CVE-2021-31406: Timing side channel vulnerability in endpoint request handler in Vaadin 15-19

- Severity: Medium 4.0 (CVSS:3.1, scored by Vaadin) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2021-04-19T14:50:38.000Z
- Modified: 2026-06-17T03:51:43.330Z
- Also known as: GHSA-p7jq-v8jp-j424
- Weaknesses: CWE-203, CWE-208
- Assigned by: Vaadin

## Description

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.

(As written by CVE List.)

## Affected

- Vaadin Vaadin: 19.0.0; from 15.0.0 before *; from 15.0.0 before 18.0.7
- Vaadin flow-server: 6.0.0; from 3.0.0 before *
- com.vaadin:flow-server (Maven): from 3.0.0 before 5.0.4; from 6.0.0 before 6.0.1
- vaadin flow: from 3.0.0 before 5.0.4; 6.0.0

## Every score

- Vaadin: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 1.9 Low `AV:L/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://vaadin.com/security/cve-2021-31406> (vendor-advisory, web)
- <https://github.com/vaadin/flow/pull/10157> (patch, third-party-advisory, web)
- <https://github.com/vaadin/flow/security/advisories/GHSA-p7jq-v8jp-j424> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-31406> (advisory)

## Sources

- CVE List: [CVE-2021-31406](https://www.cve.org/CVERecord?id=CVE-2021-31406), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-p7jq-v8jp-j424](https://github.com/advisories/GHSA-p7jq-v8jp-j424), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-31406](https://nvd.nist.gov/vuln/detail/CVE-2021-31406), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31406 · Whole record: https://cve.day/CVE-2021-31406.json · Rebuilt by cve.day 2026-11-25T22:58:01.016Z
