Insecure temporary directory usage in frontend build functionality of Vaadin 14 and 15-19GHSA-c57f-4vp2-jqhm
MEDIUMGHSA-c57f-4vp2-jqhm is a medium-severity (CVSS 6.3) vulnerability in com.vaadin:flow-server. A fix is available for com.vaadin:flow-server — see the affected versions and patch details below.
Real-World Exposure
com.vaadin:flow-server☕com.vaadin:flow-serverReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Insecure temporary directory usage in frontend build functionality of com.vaadin:flow-server versions 2.0.9 through 2.5.2 (Vaadin 14.0.3 through Vaadin 14.5.2), 3.0 prior to 6.0 (Vaadin 15 prior to 19), and 6.0.0 through 6.0.5 (Vaadin 19.0.0 through 19.0.4) allows local users to inject malicious code into frontend resources during application rebuilds.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.vaadin:flow-server | ≥ 2.0.9&&< 2.5.3 | 2.5.3com.vaadin:flow-server:2.5.3 |
| ☕Maven | com.vaadin:flow-server | ≥ 3.0.0&&< 6.0.6 | 6.0.6com.vaadin:flow-server:6.0.6 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.vaadin:flow-server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.vaadin:flow-server to 2.5.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-c57f-4vp2-jqhm is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-c57f-4vp2-jqhm in your dependencies?
Find it across Maven, including transitive dependencies.