CVE-2021-31407: Vulnerability in OSGi applications using Vaadin 12-14 and 19
Summary
CVE-2021-31407: OSGi applications using Vaadin 12-14 and 19 vulnerable to server classes and resources exposure. Affects com.vaadin:flow-server across 2 version ranges.
>= 1.2.0, < 2.4.8
>= 6.0.0, < 6.0.1
Fixed in 2.4.8 or 6.0.1, depending on the release line you run. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The com.vaadin:flow-server package is an OSGi integration for Vaadin applications. Vaadin is a Java framework used for building web applications. This vulnerability affects 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).
Vulnerability Detail
The vulnerability allows an attacker to access application classes and resources on the server by sending a crafted HTTP request. This can lead to unauthorized access and potential information disclosure. The vulnerability has a CVSS score of 8.6, indicating a high severity level.
How To Fix
Latest published version: 25.3.4 as of 23 Oct 2026
Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.
If you can't move to the latest
The minimum fixed version depends on the release line you run.
-
>= 1.2.0, < 2.4.82.4.8 -
>= 6.0.0, < 6.0.16.0.1
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to apply the recommended fix by upgrading to the fixed versions.
Conclusion
The vulnerability in OSGi applications using Vaadin 12-14 and 19 allows unauthorized access to server classes and resources. It is crucial to upgrade to the fixed versions of com.vaadin:flow-server to mitigate the risk of information disclosure. For further assistance and support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for com.vaadin:flow-server →
FAQ
The vulnerability allows unauthorized access to application classes and resources on the server, potentially leading to information disclosure.
You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your pom.xml file for analysis.
No, only 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) are affected. It is recommended to upgrade to the fixed versions.
No, there is no known workaround. It is essential to upgrade to the fixed versions.
The CVSS score of this vulnerability is 8.6, indicating a high severity level.
References
Related vulnerabilities
Recent vulnerabilities recorded for com.vaadin:flow-server.