{"id":"CVE-2026-46652","title":"Path traversal via HTTP `Content-Disposition` header in ExternalFilesDownloader enables remote code execution in Goobi viewer","summary":"The Goobi viewer is a web application that allows digitised material to be displayed in a web browser. From version 24.03 to before version 26.05, ExternalFilesDownloader.getFilename() extracts the destination filename from a server-supp…","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-22","CWE-73"],"vendor":"intranda","product":"goobi-viewer-core","affected":["goobi-viewer-core >= 24.03, < 26.05"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T14:15:46.415Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-46652","references":[{"url":"https://github.com/intranda/goobi-viewer-core/security/advisories/GHSA-r386-2frm-w3v6","label":"https://github.com/intranda/goobi-viewer-core/security/advisories/GHSA-r386-2frm-w3v6"},{"url":"https://github.com/intranda/goobi-viewer-core/commit/5281245708447ae3419cb42492fbb8af731a2ce5","label":"https://github.com/intranda/goobi-viewer-core/commit/5281245708447ae3419cb42492fbb8af731a2ce5"},{"url":"https://github.com/intranda/goobi-viewer-core/releases/tag/v26.05","label":"https://github.com/intranda/goobi-viewer-core/releases/tag/v26.05"}],"tags":["cve.org"],"ingestedAt":"2026-10-23T14:28:08.690Z","slug":"CVE-2026-46652","body":"## Overview\n\nThe Goobi viewer is a web application that allows digitised material to be displayed in a web browser. From version 24.03 to before version 26.05, ExternalFilesDownloader.getFilename() extracts the destination filename from a server-supplied Content-Disposition response header and passes it directly to Path.resolve() without stripping directory components. This allows for a malicious HTTP server that the viewer fetches from to supply an absolute path or ../ traversal sequences as the filename, writing attacker-controlled content to an arbitrary path writable by the Tomcat process. When targeting the deployed web-application directory, this yields remote code execution as the tomcat OS user. This issue has been patched in version 26.05.\n\n## Affected\n\n- `goobi-viewer-core >= 24.03, < 26.05`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":53.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}