{"id":"CVE-2026-120326","summary":"Unescaped Download File Name Allows Content-Disposition Parameter Injection in Vaadin Flow","details":"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=\"\u003cname\u003e\" 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.\n\nUsers of affected versions should apply the following mitigation or upgrade. Releases that have fixed this issue include:\n\nProduct version\nVaadin 24.8.0 - 24.8.17\nVaadin 24.9.0 - 24.9.25\nVaadin 24.10.0 - 24.10.13\nVaadin 25.0.0 - 25.0.13\nVaadin 25.1.0 - 25.1.13\nVaadin 25.2.0 - 25.2.12\nVaadin 25.3.0 - 25.3.4\n\nMitigation\nNo fixed release on this line, upgrade to 24.9.26 or newer\nUpgrade to 24.9.26\nUpgrade to 24.10.14\nNo fixed release on this line, upgrade to 25.2.13 or newer\nNo fixed release on this line, upgrade to 25.2.13 or newer\nUpgrade to 25.2.13\nUpgrade to 25.3.5\n\nVaadin versions below 24.8 are not affected: the DownloadEvent API does not exist in them.","modified":"2026-11-15T07:04:13.557663526Z","published":"2026-11-10T11:49:52.046Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120326.json","cna_assigner":"Vaadin","cwe_ids":["CWE-116"]},"references":[{"type":"WEB","url":"https://repo.maven.apache.org/maven2"},{"type":"WEB","url":"https://vaadin.com/security/cve-2026-120326"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120326.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120326"},{"type":"FIX","url":"https://github.com/vaadin/flow/pull/26704"},{"type":"PACKAGE","url":"https://github.com/vaadin/flow"},{"type":"PACKAGE","url":"https://github.com/vaadin/platform"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vaadin/flow","events":[{"introduced":"71693113ed0945a9dc4727a95a3c349b8a7d8ca5"},{"fixed":"f8b8a9eb2657a2d2d757d4a37be9ceaafbe260ac"},{"fixed":"cad5fd183a8dfebaeea76938be1213e795f10ddd"},{"introduced":"1c544a0898f2dc644dea602339f2259ad2c1301e"},{"fixed":"66a998198f8bfa08323c08db9cec62291261c381"},{"fixed":"4237a6b141945511d89826108393d15a249d02c9"},{"introduced":"d3e5f6448dd0563cd62137836ea4fd5be69c9067"},{"last_affected":"54a12a0035dbe7c0b7d43ae08b80d3a75829592d"},{"last_affected":"3e015e4c9bb047daced6fb2d085925055698dbf4"},{"introduced":"e76124e07c637f53e1832a46e2005e3771bd59cb"},{"last_affected":"242311934881de5e53a9bebace3311764818ee3e"},{"last_affected":"ad9740c43eb728e47cf5c2455f3b8f44220d6a52"},{"introduced":"7cbada9e86cca8c1ef1abeef3c370edc0d86721d"},{"fixed":"63bf8d6af153e80fab2cadec06f77d4aebf5de63"},{"fixed":"e6a5893a68c585def439e02996378d0a063cbb1a"},{"introduced":"6ca126559b70daf0db2d8455ed385136fe98e78e"},{"fixed":"c385312c71ef60ffe477927c3f1273810e4e80e9"},{"fixed":"cc38bce5f8d9131fd547d08869f789e1d4e0853a"},{"introduced":"aacd2f411b0db95c184e7cc095043b548e9f436d"},{"last_affected":"1232208df295d12175d5212375658bcac3b3046c"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"24.9.0"},{"fixed":"24.9.26"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"24.9.0"},{"fixed":"24.9.31"}]},{"strategy":"StandardRange","range":[{"introduced":"24.10.0"},{"fixed":"24.10.14"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"24.10.0"},{"fixed":"24.10.17"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"25.0.0"},{"last_affected":"25.0.13"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"strategy":"StandardRange","range":[{"introduced":"25.0.0"},{"last_affected":"25.0.15"}],"source":"AFFECTED_FIELD"},{"strategy":"StandardRange","range":[{"introduced":"25.1.0"},{"last_affected":"25.1.13"}],"source":"AFFECTED_FIELD"},{"strategy":"StandardRange","range":[{"introduced":"25.1.0"},{"last_affected":"25.1.19"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"25.2.0"},{"fixed":"25.2.13"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"25.2.0"},{"fixed":"25.2.16"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"strategy":"StandardRange","range":[{"introduced":"25.3.0"},{"fixed":"25.3.5"}],"source":"AFFECTED_FIELD"},{"strategy":"StandardRange","range":[{"introduced":"25.3.0"},{"fixed":"25.3.6"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"24.8.0"},{"last_affected":"24.8.16"}]}]}}],"versions":["25.3.4","25.3.3","25.2.12","25.3.2","24.10.13","25.3.1","25.2.11","25.2.10","24.8.16","25.3.0","25.2.9","24.10.12","25.2.8","24.10.11","25.2.7","24.9.25","24.10.10","25.2.6","25.2.5","24.9.24","24.10.9","25.1.13","25.2.4","25.1.12","25.2.3","24.9.23","24.9.22","25.2.2","24.10.8","25.2.1","25.2.0-rc2","25.2.0-rc1","25.1.11","25.2.0-beta2","24.9.21","25.1.10","24.10.7","24.10.6","24.9.20","25.1.9","25.2.0-beta1","25.1.7","24.9.19","25.0.13","24.10.5","25.1.6","25.2.0-alpha13","25.2.0-alpha12","25.2.0-alpha11","25.0.12","24.9.18","24.10.4","25.1.5","24.9.17","24.10.3","25.1.4","25.0.11","25.2.0-alpha9","25.2.0-alpha8","25.2.0-alpha7","25.2.0-alpha6","24.9.16","24.10.2","25.0.10","25.2.0-alpha5","25.1.3","25.2.0-alpha4","25.1.2","25.2.0-alpha3","24.9.15","24.10.1","25.2.0-alpha2","25.1.1","25.2.0-alpha1","25.0.9","25.1.0","24.10.0","24.9.14","25.0.8","25.1.0-beta1","25.0.7","25.1.0-alpha14","25.1.0-alpha13","24.9.13","25.1.0-alpha12","25.1.0-alpha11","25.1.0-alpha10","25.1.0-alpha9","25.1.0-alpha8","25.1.0-alpha7","24.9.12","25.0.6","25.1.0-alpha6","25.1.0-alpha5","24.8.15","24.9.11","25.0.5","25.1.0-alpha4","25.1.0-alpha3","25.1.0-alpha2","24.9.10","25.1.0-alpha1","25.0.4","24.9.9","25.0.3","25.0.2","24.9.8","25.0.1","25.0.0","24.8.14","24.9.7","24.8.13","24.9.6","24.8.12","24.9.5","24.8.11","24.9.4","24.8.10","24.9.3","24.9.2","24.8.9","24.8.8","24.9.1","24.9.0","24.8.7","24.8.6","24.8.5","24.8.4","24.8.3","24.8.2","24.8.1","24.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120326.json","vanir_signatures":[{"target":{"file":"flow-server/src/main/java/com/vaadin/flow/server/auth/RoutePathAccessChecker.java","function":"check"},"deprecated":false,"digest":{"function_hash":"5141055698499754154662091963795139774","length":517},"id":"CVE-2026-120326-032b5799","signature_type":"Function","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/e6a5893a68c585def439e02996378d0a063cbb1a"},{"target":{"file":"vaadin-spring/src/main/java/com/vaadin/flow/spring/AuthenticationUtil.java","function":"getSecurityHolderRoleChecker"},"deprecated":false,"digest":{"length":384,"function_hash":"134497747015357991951589760462502293157"},"id":"CVE-2026-120326-06cee984","signature_type":"Function","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/c385312c71ef60ffe477927c3f1273810e4e80e9"},{"target":{"function":"check","file":"flow-server/src/main/java/com/vaadin/flow/server/auth/RoutePathAccessChecker.java"},"deprecated":false,"digest":{"function_hash":"5141055698499754154662091963795139774","length":517},"id":"CVE-2026-120326-074f627d","signature_type":"Function","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/cc38bce5f8d9131fd547d08869f789e1d4e0853a"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/4237a6b141945511d89826108393d15a249d02c9","target":{"file":"flow-server/src/main/java/com/vaadin/flow/server/auth/RoutePathAccessChecker.java","function":"check"},"deprecated":false,"digest":{"length":517,"function_hash":"5141055698499754154662091963795139774"},"id":"CVE-2026-120326-2df014fc"},{"target":{"file":"flow-server/src/test/java/com/vaadin/flow/component/internal/UIInternalsTest.java"},"deprecated":false,"digest":{"line_hashes":["51680215987641015600894449138726238492","328622450135112313321431282660672597843","15255591713523122091595301662278338247","191077438549062976964586947265105277987","203000585196944002160666503554675175185","243826115661867496123290559352510395838","18705324587229048594112106155812466687","234379253122971689071204089081281706570","327425313121373437765355343368786807145","164084851904494494475236231692663684726","314578355126086125546228074061911937508","276230837728446494969921923578395450099"],"threshold":0.9},"id":"CVE-2026-120326-370fee31","signature_type":"Line","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/f8b8a9eb2657a2d2d757d4a37be9ceaafbe260ac"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/cc38bce5f8d9131fd547d08869f789e1d4e0853a","target":{"file":"flow-server/src/test/java/com/vaadin/flow/server/auth/RoutePathAccessCheckerTest.java"},"deprecated":false,"digest":{"line_hashes":["153133581310371898089404420947071745346","308854790088960450508574976502241172844","176212522292232062031659935688613833120"],"threshold":0.9},"id":"CVE-2026-120326-3e092b07"},{"deprecated":false,"digest":{"line_hashes":["103888269374433856819529925957236501391","275532877261208671431437088858699372051","117568212561893155419459312415742690585","45919037380656743494585058136619628747","315378274791434089474786660725330931078","77571478885659127712956762940135838622","297919605380434582897266206466689350635"],"threshold":0.9},"id":"CVE-2026-120326-47e4f0da","signature_type":"Line","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/e6a5893a68c585def439e02996378d0a063cbb1a","target":{"file":"flow-server/src/main/java/com/vaadin/flow/server/auth/RoutePathAccessChecker.java"}},{"deprecated":false,"digest":{"length":517,"function_hash":"5141055698499754154662091963795139774"},"id":"CVE-2026-120326-487c346b","signature_type":"Function","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/cad5fd183a8dfebaeea76938be1213e795f10ddd","target":{"function":"check","file":"flow-server/src/main/java/com/vaadin/flow/server/auth/RoutePathAccessChecker.java"}},{"id":"CVE-2026-120326-50eed094","signature_type":"Function","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/c385312c71ef60ffe477927c3f1273810e4e80e9","target":{"file":"vaadin-spring/src/main/java/com/vaadin/flow/spring/security/AuthenticationContext.java","function":"getGrantedAuthoritiesStream"},"deprecated":false,"digest":{"function_hash":"56516563452214452605414573167584928737","length":107}},{"id":"CVE-2026-120326-6003d37e","signature_type":"Function","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/f8b8a9eb2657a2d2d757d4a37be9ceaafbe260ac","target":{"file":"flow-server/src/main/java/com/vaadin/flow/component/internal/UIInternals.java","function":"setSession"},"deprecated":false,"digest":{"function_hash":"139655471026668333127116661959019727562","length":750}},{"source":"https://github.com/vaadin/flow/commit/cc38bce5f8d9131fd547d08869f789e1d4e0853a","target":{"file":"flow-server/src/main/java/com/vaadin/flow/server/auth/RoutePathAccessChecker.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["103888269374433856819529925957236501391","275532877261208671431437088858699372051","117568212561893155419459312415742690585","45919037380656743494585058136619628747","315378274791434089474786660725330931078","77571478885659127712956762940135838622","297919605380434582897266206466689350635"]},"id":"CVE-2026-120326-6484fdac","signature_type":"Line","signature_version":"v1"},{"target":{"file":"vaadin-spring/src/main/java/com/vaadin/flow/spring/AuthenticationUtil.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["90570785513763910896725970022632418084","265414932537161524151068476196798984171","27142333598768076256507456444697241567","159746623368417990407475737421677472655","176826568755213082585794631637827292094","200352130509134752399601733828606985165","100697642356978262146921494308566137662","216556638782246718432305022420000725197","177524536577368751429429785827598667517"]},"id":"CVE-2026-120326-8550a968","signature_type":"Line","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/c385312c71ef60ffe477927c3f1273810e4e80e9"},{"signature_version":"v1","source":"https://github.com/vaadin/flow/commit/e6a5893a68c585def439e02996378d0a063cbb1a","target":{"file":"flow-server/src/test/java/com/vaadin/flow/server/auth/RoutePathAccessCheckerTest.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["153133581310371898089404420947071745346","308854790088960450508574976502241172844","176212522292232062031659935688613833120"]},"id":"CVE-2026-120326-b5614eae","signature_type":"Line"},{"id":"CVE-2026-120326-b88ed49e","signature_type":"Line","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/4237a6b141945511d89826108393d15a249d02c9","target":{"file":"flow-server/src/test/java/com/vaadin/flow/server/auth/RoutePathAccessCheckerTest.java"},"deprecated":false,"digest":{"line_hashes":["153133581310371898089404420947071745346","173161220401159269907458739655634371520","45565838047790612045735126123364821540"],"threshold":0.9}},{"id":"CVE-2026-120326-c4a5bdb5","signature_type":"Line","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/cad5fd183a8dfebaeea76938be1213e795f10ddd","target":{"file":"flow-server/src/main/java/com/vaadin/flow/server/auth/RoutePathAccessChecker.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["103888269374433856819529925957236501391","275532877261208671431437088858699372051","117568212561893155419459312415742690585","45919037380656743494585058136619628747","315378274791434089474786660725330931078","77571478885659127712956762940135838622","297919605380434582897266206466689350635"]}},{"digest":{"line_hashes":["223716048348300898011450534496618634453","79958605502429214269541952692935128061","197725156424830821792664486027831803525","307069549775370070756716354867898177834","333364570961957908203901973183257334593","97898785414864984499901747973699288448","241562132454589521103057809131136512054","221033715743120203132668322833962087570","117017517887525600184839487730581433316","85503626759206615767443827917698350041","333244618786808833233709057754978747121"],"threshold":0.9},"id":"CVE-2026-120326-c4aabf2b","signature_type":"Line","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/f8b8a9eb2657a2d2d757d4a37be9ceaafbe260ac","target":{"file":"flow-server/src/main/java/com/vaadin/flow/component/internal/UIInternals.java"},"deprecated":false},{"digest":{"line_hashes":["153133581310371898089404420947071745346","173161220401159269907458739655634371520","45565838047790612045735126123364821540"],"threshold":0.9},"id":"CVE-2026-120326-c6ebbbfe","signature_type":"Line","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/cad5fd183a8dfebaeea76938be1213e795f10ddd","target":{"file":"flow-server/src/test/java/com/vaadin/flow/server/auth/RoutePathAccessCheckerTest.java"},"deprecated":false},{"source":"https://github.com/vaadin/flow/commit/c385312c71ef60ffe477927c3f1273810e4e80e9","target":{"file":"vaadin-spring/src/main/java/com/vaadin/flow/spring/security/AuthenticationContext.java"},"deprecated":false,"digest":{"line_hashes":["130376767482692703800266973055716398463","107519118602099484611488112429867447208","42962354372692473547768556170795641236","205182779174697635824789028389858131729","266400579120612522941191084879719706424","284394736038502390368782488969095353655","139804961866266850128444097821177615659","323167311477208107339836693445369252298"],"threshold":0.9},"id":"CVE-2026-120326-d7040374","signature_type":"Line","signature_version":"v1"},{"target":{"file":"flow-server/src/main/java/com/vaadin/flow/component/internal/UIInternals.java","function":"removePendingInvocation"},"deprecated":false,"digest":{"function_hash":"157449516757731657028136367526210747268","length":241},"id":"CVE-2026-120326-ddda5f13","signature_type":"Function","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/f8b8a9eb2657a2d2d757d4a37be9ceaafbe260ac"},{"target":{"file":"flow-server/src/main/java/com/vaadin/flow/server/auth/RoutePathAccessChecker.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["103888269374433856819529925957236501391","275532877261208671431437088858699372051","117568212561893155419459312415742690585","45919037380656743494585058136619628747","315378274791434089474786660725330931078","77571478885659127712956762940135838622","297919605380434582897266206466689350635"]},"id":"CVE-2026-120326-fa20f5d3","signature_type":"Line","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/4237a6b141945511d89826108393d15a249d02c9"},{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["86394532136578181599819045953542222980","113987104906538737184987420524684332952","97115172573527276556591587950794983121","21817107760361227859804379591060368743","281322797782366718064898780313846010610","177256479851985605695973763574384759283","329203016660655061255923636347555456444","300431869520756920616243605091891302435","233315023594778555326597027131144068339","171602547282466793208694066510334829653","104531902214275192175409465006531068923","26915219883755131331092392086778458116","20905071252148685025719734370584006186","157061604874242623811130019801548768646","267992860316966618824877295939587934067","254829594454559140660464841130384421775","23353981026062130937239574402611018024"]},"id":"CVE-2026-120326-ffe9dfe7","signature_type":"Line","signature_version":"v1","source":"https://github.com/vaadin/flow/commit/c385312c71ef60ffe477927c3f1273810e4e80e9","target":{"file":"vaadin-spring/src/test/java/com/vaadin/flow/spring/security/AuthenticationContextTest.java"}}],"vanir_signatures_modified":"2026-11-15T07:04:13Z"}},{"ranges":[{"type":"GIT","repo":"https://github.com/vaadin/platform","events":[{"introduced":"951ddfd0896c282d5cced6ab25b117299d191e1a"},{"last_affected":"654cc6a81d86fc4b9df2c750978f636822ea9b71"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"24.8.0"},{"last_affected":"24.8.17"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["24.8.17","24.8.16","24.8.15","24.8.14","24.8.13","24.8.12","24.8.11","24.8.10","24.8.9","24.8.8","24.8.7","24.8.6","24.8.5","24.8.4","24.8.3","24.8.2","24.8.1","24.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120326.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}