# CVE-2021-31412: Possible route enumeration in production mode via RouteNotFoundError view in Vaadin 10, 11-14, and 15-19

- Severity: Medium 5.3 (CVSS:3.1, scored by Vaadin) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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): 1.32%, higher than 71% of CVEs (2026-12-01)
- Published: 2021-06-24T11:33:10.535Z
- Modified: 2026-06-17T03:51:44.080Z
- Also known as: GHSA-qrg9-f472-qwfm
- Weaknesses: CWE-20, CWE-668, CWE-1295
- Assigned by: Vaadin

## Description

Improper sanitization of path in default RouteNotFoundError view in com.vaadin:flow-server versions 1.0.0 through 1.0.14 (Vaadin 10.0.0 through 10.0.18), 1.1.0 prior to 2.0.0 (Vaadin 11 prior to 14), 2.0.0 through 2.6.1 (Vaadin 14.0.0 through 14.6.1), and 3.0.0 through 6.0.9 (Vaadin 15.0.0 through 19.0.8) allows network attacker to enumerate all available routes via crafted HTTP request when application is running in production mode and no custom handler for NotFoundException is provided.

(As written by CVE List.)

## Affected

- Vaadin Vaadin: from 10.0.0 before unspecified; from unspecified up to 10.0.18; from 11.0.0 before unspecified; from unspecified before 14.0.0; from 14.0.0 before unspecified; from unspecified up to 14.6.1; from 15.0.0 before unspecified; from unspecified up to 19.0.8; from 10.0.0 up to 10.0.18; from 11.0.0 up to 13.0.0; from 14.0.0 up to 14.6.1; from 15.0.0 up to 18.0.0; and 1 more
- Vaadin flow-server: from 1.0.0 before unspecified; from unspecified up to 1.0.14; from 1.1.0 before unspecified; from unspecified before 2.0.0; from 2.0.0 before unspecified; from unspecified up to 2.6.1; from 3.0.0 before unspecified; from unspecified up to 6.0.9
- com.vaadin:vaadin-bom (Maven): from 10.0.0 before 10.0.19; from 11.0.0 before 14.6.2; from 15.0.0 before 19.0.9
- vaadin flow: from 1.0.0 up to 1.0.14; from 1.1.0 up to 1.4.0; from 2.0.0 up to 2.6.1; from 3.0.0 up to 5.0.0; from 6.0.0 up to 6.0.9

## Every score

- Vaadin: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://vaadin.com/security/cve-2021-31412> (vendor-advisory, web)
- <https://github.com/vaadin/flow/pull/11107> (patch, third-party-advisory, web)
- <https://github.com/vaadin/platform/security/advisories/GHSA-qrg9-f472-qwfm> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-31412> (advisory)

## Sources

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

---

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