CVE-2026-48768
CRITICALTypeBot: Unauthenticated arbitrary s3 object write in generate-upload-url via unsanitized fileName
Title source: cnaDescription
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.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/baptisteArno/typebot.io/security/advisories/GHSA-fp7x-6pqh-vhvf
X_Refsource_Misc x_refsource_misc
https://github.com/baptisteArno/typebot.io/releases/tag/v3.17.0
Scores
CVSS v3
9.3
EPSS
0.0027
EPSS Percentile
18.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-22
CWE-79
Status
published
Products (1)
baptisteArno/typebot.io
< 3.17.0
Published
Jun 18, 2026
Tracked Since
Jun 18, 2026