CVE-2020-36321: Directory Traversal in Vaadin 14 and 15-17

com.vaadin:flow-server Updated 02 Oct 2025

Summary

19/04/2021
Yes i
Moderate
5.9

CVE-2020-36321: Directory traversal in development mode handler in Vaadin 14 and 15-17. Affects com.vaadin:flow-server across 2 version ranges.

>= 2.0.0, < 2.4.2 >= 3.0.0, < 5.0.0

Fixed in 2.4.2 or 5.0.0, depending on the release line you run. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Vaadin is an open-source Java framework used for building modern web applications. It provides a set of user interface components and tools for creating responsive and interactive web interfaces. The com.vaadin:flow-server package is a part of Vaadin and is responsible for server-side functionality. This vulnerability affects versions 2.0.0 through 2.4.1 (Vaadin 14.0.0 through 14.4.2) and 3.0 prior to 5.0 (Vaadin 15 prior to 18).

Vulnerability Detail

The vulnerability in Vaadin allows an attacker to perform directory traversal attacks in the development mode handler. This is due to improper URL validation. By exploiting this vulnerability, an attacker can request arbitrary files that are stored outside of the intended frontend resources folder. This can lead to unauthorized access to sensitive files and potential information disclosure.

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.

  • >= 2.0.0, < 2.4.2 2.4.2
  • >= 3.0.0, < 5.0.0 5.0.0

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 essential to apply the recommended fix by upgrading to the fixed versions of com.vaadin:flow-server.

Conclusion

The directory traversal vulnerability in Vaadin can be exploited by attackers to access arbitrary files outside of the intended frontend resources folder. It is crucial to upgrade to the fixed versions of com.vaadin:flow-server to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for com.vaadin:flow-server →

Share this vulnerability

FAQ

Vaadin is an open-source Java framework for building web applications.

com.vaadin:flow-server is a package in Vaadin that provides server-side functionality.

Directory traversal is a vulnerability that allows an attacker to access files outside of the intended directory.

This vulnerability can lead to unauthorized access to sensitive files and potential information disclosure.

To fix this vulnerability, upgrade to the fixed versions of com.vaadin:flow-server as recommended.

Related vulnerabilities

Recent vulnerabilities recorded for com.vaadin:flow-server.

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.

  • >= 2.0.0, < 2.4.2 2.4.2
  • >= 3.0.0, < 5.0.0 5.0.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback