CVE-2026-48768: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in baptisteArno typebot.io
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.
AI Analysis
Technical Summary
TypeBot (baptisteArno) versions 3.16.1 and earlier expose an unauthenticated POST endpoint (/api/blocks/file-input/v3/generate-upload-url) that accepts unsanitized fileName input to construct S3 object keys and generate presigned PUT URLs without binding the Content-Type header. Although directory traversal using '../' is blocked by S3/MinIO canonicalization, forward-slash path injection is exploitable, allowing attackers to upload malicious HTML, SVG, or JavaScript files to attacker-chosen subpaths, including other tenants' publicly served paths. This can lead to arbitrary content hosting and stored XSS on the storage origin. The vulnerability is tracked as CVE-2026-48768 with a CVSS 3.1 score of 9.3 (critical). The issue has been fixed in TypeBot version 3.17.0. As this is a cloud service, the vendor manages remediation server-side.
Potential Impact
An unauthenticated attacker can upload malicious files to arbitrary subpaths within the storage used by TypeBot, potentially affecting multiple tenants. This enables arbitrary content hosting and stored cross-site scripting (XSS) attacks, which can lead to compromise of user sessions or execution of malicious scripts in users' browsers. The vulnerability does not impact availability but has high confidentiality and integrity impact.
Mitigation Recommendations
The vulnerability has been fixed in TypeBot version 3.17.0. Since TypeBot is a cloud-hosted service, the vendor manages remediation server-side. Users should verify with the vendor that their service instance is updated to the fixed version. No additional action is required if the vendor confirms the fix is applied.
CVE-2026-48768: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in baptisteArno typebot.io
Description
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.
CVSS v3.1
Score 9.3critical
Affected software
pkg:github/baptistearno/typebot.ioRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
TypeBot (baptisteArno) versions 3.16.1 and earlier expose an unauthenticated POST endpoint (/api/blocks/file-input/v3/generate-upload-url) that accepts unsanitized fileName input to construct S3 object keys and generate presigned PUT URLs without binding the Content-Type header. Although directory traversal using '../' is blocked by S3/MinIO canonicalization, forward-slash path injection is exploitable, allowing attackers to upload malicious HTML, SVG, or JavaScript files to attacker-chosen subpaths, including other tenants' publicly served paths. This can lead to arbitrary content hosting and stored XSS on the storage origin. The vulnerability is tracked as CVE-2026-48768 with a CVSS 3.1 score of 9.3 (critical). The issue has been fixed in TypeBot version 3.17.0. As this is a cloud service, the vendor manages remediation server-side.
Potential Impact
An unauthenticated attacker can upload malicious files to arbitrary subpaths within the storage used by TypeBot, potentially affecting multiple tenants. This enables arbitrary content hosting and stored cross-site scripting (XSS) attacks, which can lead to compromise of user sessions or execution of malicious scripts in users' browsers. The vulnerability does not impact availability but has high confidentiality and integrity impact.
Mitigation Recommendations
The vulnerability has been fixed in TypeBot version 3.17.0. Since TypeBot is a cloud-hosted service, the vendor manages remediation server-side. Users should verify with the vendor that their service instance is updated to the fixed version. No additional action is required if the vendor confirms the fix is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-22T19:39:05.356Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
Threat ID: 6a3332cbf198dc38c133d866
Added to database: 6/17/2026, 11:50:35 PM
Last enriched: 6/18/2026, 12:04:58 AM
Last updated: 6/20/2026, 7:31:27 AM
Views: 54
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.