# CVE-2026-120326: Unescaped Download File Name Allows Content-Disposition Parameter Injection in Vaadin Flow

- **Severity:** MEDIUM 4.8
- **CVSS:** 4.8 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Active; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.40% (percentile 26, 2026-11-29)
- **CWE:** CWE-116
- **Published:** 2026-11-10T11:49:52.046Z
- **Modified:** 2026-11-13T15:17:32.943Z

## Who should check

- Anyone running vaadin \>= 24.8.0, \<= 24.8.17; \>= 24.9.0, \< 24.9.26; \>= 24.10.0, \< 24.10.14; \>= 25.0.0, \<= 25.0.13; \>= 25.1.0, \<= 25.1.13; \>= 25.2.0, \< 25.2.13; \>= 25.3.0, \< 25.3.5
- Anyone running vaadin-core \>= 24.8.0, \<= 24.8.17; \>= 24.9.0, \< 24.9.26; \>= 24.10.0, \< 24.10.14; \>= 25.0.0, \<= 25.0.13; \>= 25.1.0, \<= 25.1.13; \>= 25.2.0, \< 25.2.13; \>= 25.3.0, \< 25.3.5
- Anyone running vaadin flow \>= 24.8.0, \<= 24.8.16; \>= 24.9.0, \< 24.9.31; \>= 24.10.0, \< 24.10.17; \>= 25.0.0, \<= 25.0.15; \>= 25.1.0, \<= 25.1.19; \>= 25.2.0, \< 25.2.16; \>= 25.3.0, \< 25.3.6

## Description

DownloadEvent.setFileName(String) in Vaadin Flow writes the download file name into the Content-Disposition header without escaping it. When the name is pure US-ASCII the header is built as attachment; filename="\<name\>" with the name inserted verbatim, so a double quote in the name ends the quoted string early and the rest of the name is read by the browser as further header parameters. The inline(String) variant, present from Vaadin 25.0, builds the name the same way. An application that passes an untrusted file name to either method, for example when re-serving a file under the name it was uploaded with, lets an attacker add a filename\* parameter. Browsers prefer filename\* over filename, so the file is saved under a name and extension of the attacker's choosing, which defeats any file name or extension restriction the application enforces. The attacker cannot change the attachment or inline disposition itself and cannot split the header.

Users of affected versions should apply the following mitigation or upgrade. Releases that have fixed this issue include:

Product version
Vaadin 24.8.0 - 24.8.17
Vaadin 24.9.0 - 24.9.25
Vaadin 24.10.0 - 24.10.13
Vaadin 25.0.0 - 25.0.13
Vaadin 25.1.0 - 25.1.13
Vaadin 25.2.0 - 25.2.12
Vaadin 25.3.0 - 25.3.4

Mitigation
No fixed release on this line, upgrade to 24.9.26 or newer
Upgrade to 24.9.26
Upgrade to 24.10.14
No fixed release on this line, upgrade to 25.2.13 or newer
No fixed release on this line, upgrade to 25.2.13 or newer
Upgrade to 25.2.13
Upgrade to 25.3.5

Vaadin versions below 24.8 are not affected: the DownloadEvent API does not exist in them.

## Affected and fixed versions

- vaadin: \>= 24.8.0, \<= 24.8.17; \>= 24.9.0, \< 24.9.26; \>= 24.10.0, \< 24.10.14; \>= 25.0.0, \<= 25.0.13; \>= 25.1.0, \<= 25.1.13; \>= 25.2.0, \< 25.2.13; \>= 25.3.0, \< 25.3.5 (cvelist)
- vaadin-core: \>= 24.8.0, \<= 24.8.17; \>= 24.9.0, \< 24.9.26; \>= 24.10.0, \< 24.10.14; \>= 25.0.0, \<= 25.0.13; \>= 25.1.0, \<= 25.1.13; \>= 25.2.0, \< 25.2.13; \>= 25.3.0, \< 25.3.5 (cvelist)
- vaadin flow: \>= 24.8.0, \<= 24.8.16; \>= 24.9.0, \< 24.9.31; \>= 24.10.0, \< 24.10.17; \>= 25.0.0, \<= 25.0.15; \>= 25.1.0, \<= 25.1.19; \>= 25.2.0, \< 25.2.16; \>= 25.3.0, \< 25.3.6 (cvelist)

## Mitigation

- Upgrade vaadin to 25.3.5 or later.
- Upgrade vaadin-core to 25.3.5 or later.
- Upgrade flow to 25.3.6 or later.
- Vendor workaround: Escape or reject double quotes, backslashes and control characters in any file name that does not come from the application itself before passing it to DownloadEvent.setFileName or DownloadEvent.inline.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-120326. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-120326.md
Affected: vaadin >= 24.8.0, <= 24.8.17; >= 24.9.0, < 24.9.26; >= 24.10.0, < 24.10.14; >= 25.0.0, <= 25.0.13; >= 25.1.0, <= 25.1.13; >= 25.2.0, < 25.2.13; >= 25.3.0, < 25.3.5; vaadin-core >= 24.8.0, <= 24.8.17; >= 24.9.0, < 24.9.26; >= 24.10.0, < 24.10.14; >= 25.0.0, <= 25.0.13; >= 25.1.0, <= 25.1.13; >= 25.2…
Fixed in: vaadin 24.9.26, vaadin 24.10.14, vaadin 25.2.13, vaadin 25.3.5, vaadin-core 24.9.26, vaadin-core 24.10.14, vaadin-core 25.2.13, vaadin-core 25.3.5, vaadin flow 24.9.31, vaadin flow 24.10.17, vaadin flow 25.2.16, vaadin flow 25.3.6

Steps:
1. Search this machine and project for vaadin, vaadin-core, vaadin flow: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-120326 being exploited?

There is no confirmed exploitation: CVE-2026-120326 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-120326?

Medium: CVSS 4.8 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-120326?

vaadin \>= 24.8.0, \<= 24.8.17; \>= 24.9.0, \< 24.9.26; \>= 24.10.0, \< 24.10.14; \>= 25.0.0, \<= 25.0.13; \>= 25.1.0, \<= 25.1.13; \>= 25.2.0, \< 25.2.13; \>= 25.3.0, \< 25.3.5; vaadin-core \>= 24.8.0, \<= 24.8.17; \>= 24.9.0, \< 24.9.26; \>= 24.10.0, \< 24.10.14; \>= 25.0.0, \<= 25.0.13; \>= 25.1.0, \<= 25.1.13; \>= 25.2.0, \< 25.2.13; \>= 25.3.0, \< 25.3.5; vaadin flow \>= 24.8.0, \<= 24.8.16; \>= 24.9.0, \< 24.9.31; \>= 24.10.0, \< 24.10.17; \>= 25.0.0, \<= 25.0.15; \>= 25.1.0, \<= 25.1.19; \>= 25.2.0, \< 25.2.16; \>= 25.3.0, \< 25.3.6.

### Is there a fix for CVE-2026-120326?

Yes. Fixed in vaadin 24.9.26, vaadin 24.10.14, vaadin 25.2.13, vaadin 25.3.5, vaadin-core 24.9.26, vaadin-core 24.10.14, vaadin-core 25.2.13, vaadin-core 25.3.5, vaadin flow 24.9.31, vaadin flow 24.10.17, vaadin flow 25.2.16, vaadin flow 25.3.6. Upgrade vaadin to 25.3.5 or later. Upgrade vaadin-core to 25.3.5 or later. Upgrade flow to 25.3.6 or later. Vendor workaround: Escape or reject double quotes, backslashes and control characters in any file name that does not come from the application itself before passing it to DownloadEvent.setFileName or DownloadEvent.inline.

### How do I check if I'm affected by CVE-2026-120326?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/vaadin/flow/pull/26704>
- other: <https://vaadin.com/security/cve-2026-120326>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-120326>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-120326> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-120326>
