baptisteArno typebot.io
TypeBot has Arbitrary S3 Object Write in deprecated public upload endpoint via attacker-controlled filePath
TypeBot is a chatbot builder tool. Versions prior to 3.17.0 expose a deprecated public upload endpoint at `GET /api/v1/typebots/{typebotId}/blocks/{blockId}/storage/upload-url` that accepts an attacker-controlled `filePath` and returns a presigned S3 `PUT` URL for that exact key. Because the endpoint only checks that the referenced typebot is public and that the referenced block is a file input block, an unauthenticated attacker who knows a valid public `typebotId` and `blockId` can request presigned upload URLs for arbitrary objects in the shared bucket, including `private/...` and other tenants' `public/...` paths. Version 3.17.0 fixes this issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.17.0
Fixed in 3.17.0
Mitigation
Upgrade typebot.io to 3.17.0 or later.
References
- Vendor advisory github.com/baptisteArno/typebot.io/security/ad…
- Patch github.com/baptisteArno/typebot.io/pull/2459
- Patch github.com/baptisteArno/typebot.io/commit/7ae4…
1 more
- Release notes github.com/baptisteArno/typebot.io/releases/ta…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.