# CVE-2021-31407: Server classes and resources exposure in OSGi applications using Vaadin 12-14 and 19

- Severity: High 8.6 (CVSS:3.1, scored by Vaadin) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/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): 2.38%, higher than 84% of CVEs (2026-12-01)
- Published: 2021-04-19T14:50:49.000Z
- Modified: 2026-06-17T03:51:43.450Z
- Also known as: GHSA-25xc-jwfq-39jw
- Weaknesses: CWE-402, CWE-668
- Assigned by: Vaadin

## Description

Vulnerability in OSGi integration in com.vaadin:flow-server versions 1.2.0 through 2.4.7 (Vaadin 12.0.0 through 14.4.9), and 6.0.0 through 6.0.1 (Vaadin 19.0.0) allows attacker to access application classes and resources on the server via crafted HTTP request.

(As written by CVE List.)

## Affected

- Vaadin Vaadin: 19.0.0; from 12.0.0 before *; from 12.0.0 before 14.4.10
- Vaadin flow-server: from 1.2.0 before *
- com.vaadin:flow-server (Maven): from 1.2.0 before 2.4.8; from 6.0.0 before 6.0.1
- vaadin flow: from 1.2.0 before 2.4.8; from 6.0.0 before 6.0.2

## Every score

- Vaadin: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://vaadin.com/security/cve-2021-31407> (vendor-advisory, web)
- <https://github.com/vaadin/osgi/issues/50> (patch, third-party-advisory, web)
- <https://github.com/vaadin/flow/pull/10229> (patch, third-party-advisory, web)
- <https://github.com/vaadin/flow/pull/10269> (patch, third-party-advisory, web)
- <https://github.com/vaadin/flow/security/advisories/GHSA-25xc-jwfq-39jw> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-31407> (advisory)
- <https://github.com/vaadin/flow> (package)

## Sources

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

---

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