1. Home
  2. Vulnerabilities
  3. CVE-2026-120326

CVE-2026-120326

Unescaped Download File Name Allows Content-Disposition Parameter Injection in Vaadin Flow

Published 10 Nov 2026 · modified 13 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 25/100

Summary

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 products and versions

Vaadin (21 line(s))
Vaadin
ProductVersionsFixed inSource
flow from 24.8.0 (included) to 24.8.16 (included) — CNA (vendor or assigner)
flow from 24.9.0 (included) to 24.9.31 (excluded) — CNA (vendor or assigner)
flow from 24.10.0 (included) to 24.10.17 (excluded) — CNA (vendor or assigner)
flow from 25.0.0 (included) to 25.0.15 (included) — CNA (vendor or assigner)
flow from 25.1.0 (included) to 25.1.19 (included) — CNA (vendor or assigner)
flow from 25.2.0 (included) to 25.2.16 (excluded) — CNA (vendor or assigner)
flow from 25.3.0 (included) to 25.3.6 (excluded) — CNA (vendor or assigner)
Vaadin from 24.8.0 (included) to 24.8.17 (included) — CNA (vendor or assigner)
Vaadin from 24.9.0 (included) to 24.9.26 (excluded) — CNA (vendor or assigner)
Vaadin from 24.10.0 (included) to 24.10.14 (excluded) — CNA (vendor or assigner)
Vaadin from 25.0.0 (included) to 25.0.13 (included) — CNA (vendor or assigner)
Vaadin from 25.1.0 (included) to 25.1.13 (included) — CNA (vendor or assigner)
Vaadin from 25.2.0 (included) to 25.2.13 (excluded) — CNA (vendor or assigner)
Vaadin from 25.3.0 (included) to 25.3.5 (excluded) — CNA (vendor or assigner)
vaadin-core from 24.8.0 (included) to 24.8.17 (included) — CNA (vendor or assigner)
vaadin-core from 24.9.0 (included) to 24.9.26 (excluded) — CNA (vendor or assigner)
vaadin-core from 24.10.0 (included) to 24.10.14 (excluded) — CNA (vendor or assigner)
vaadin-core from 25.0.0 (included) to 25.0.13 (included) — CNA (vendor or assigner)
vaadin-core from 25.1.0 (included) to 25.1.13 (included) — CNA (vendor or assigner)
vaadin-core from 25.2.0 (included) to 25.2.13 (excluded) — CNA (vendor or assigner)
vaadin-core from 25.3.0 (included) to 25.3.5 (excluded) — CNA (vendor or assigner)

Fix

Patchofficial source

Users of affected versions should apply the following mitigation or upgrade.

Source : CNA (vendor or assigner)

Workaround

Workaroundofficial source

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.

Source : CNA (vendor or assigner)

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
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 4.0, CNA:Vaadin)
Weakness
CWE-116 · Autre (CWE-116)

How this data is obtained and calculated