CVE-2026-48768CWE-22CWE-79

TypeBot: Unauthenticated arbitrary s3 object write in generate-upload-url via unsanitized fileName

Critical · published June 17, 2026

CVSS v3.1
9.3
EPSS
0%
Percentile
33.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00407 · 33.9th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-06-17T23:13Z
EPSS history
Timeline
  • 17 JUN 23:13Z
    TypeBot: Unauthenticated arbitrary s3 object write in generate-upload-url via unsanitized fileName
    cvelistv5