CVE-2026-48768: TypeBot: Unauthenticated arbitrary s3 object write in generate-upload-url via unsanitized fileName
TypeBot is a chatbot builder tool. In versions 3.16.1 and earlier, POST /api/blocks/file-input/v3/generate-upload-url is unauthenticated and uses unsanitized fileName input to construct public/ S3 object keys, while issuing presigned PUT URLs that do not bind Content-Type. As a result, any anonymous visitor to a published bot with a file input can upload attacker-controlled HTML, SVG, or JS to attacker-chosen subpaths, including other tenants’ publicly served result paths, enabling arbitrary content hosting and potential stored XSS on the storage origin. ../ traversal is blocked by S3/MinIO canonicalization (signature mismatch), but forward-slash path injection is exploitable. This issue has been fixed in version 3.17.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
TypeBotto a version that resolves this vulnerability.Fixed in 3.17.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-48768?
CVE-2026-48768 has a critical severity rating of 9.3.
How do I fix CVE-2026-48768?
To fix CVE-2026-48768, update TypeBot to version 3.17.0 or later.
What impact does CVE-2026-48768 have on TypeBot?
CVE-2026-48768 allows unauthenticated users to write arbitrary files to S3, potentially leading to data exposure.
Which versions of TypeBot are affected by CVE-2026-48768?
CVE-2026-48768 affects TypeBot versions 3.16.1 and earlier.
What type of vulnerability is CVE-2026-48768 categorized as?
CVE-2026-48768 is categorized as a Path Traversal and XSS vulnerability.