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


- **Severity:** Medium 4.8 (`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`)
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 10 Nov 2026
- **Updated:** 13 Nov 2026

## What is CVE-2026-120326?

CVE-2026-120326 is a medium-severity vulnerability in vaadin flow, published on 10 Nov 2026. 

### Official 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.

Weakness: CWE-116 (Improper Encoding or Escaping of Output)

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


## How do I fix CVE-2026-120326?

No fix has been published for CVE-2026-120326 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-120326 being exploited?

There is no known exploitation of CVE-2026-120326 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-120326 and fix it if it is affected.

What it is: CVE-2026-120326 is a medium-severity vulnerability in vaadin flow, published on 10 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-120326 in the wild and no public exploit code.

Affected product: vaadin flow. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-120326/ (Markdown: https://insights.sbomify.com/CVE-2026-120326/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-120326
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-120326
- OSV: https://osv.dev/vulnerability/CVE-2026-120326

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-120326/
Summaries are generated and may contain mistakes; the official description above is the record.
