# CVE-2026-42142: TypeBot authorization bypass in getSheets endpoint

Source: https://junglewise.ai/threats/cve-2026-42142-typebot-authorization-bypass-in-getsheets-endpoint  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-11. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-42142 · Severity: high · CVSS 7.1 · Published 2026-08-11

TypeBot is a chatbot-building platform that integrates with Google Sheets for data handling. Prior to version 3.17.0, a missing authorization check in the getSheets API endpoint allowed any authenticated user to bypass workspace isolation and access another workspace's Google Sheets credentials and spreadsheet data (sheet names, IDs, column headers), potentially exposing sensitive customer data.

Technologies: [Typebot](https://junglewise.ai/threats/technologies/typebot). Vendors: [Typebot](https://junglewise.ai/threats/vendors/typebot).

## Quick answers

**Is CVE-2026-42142 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-42142 being exploited in the wild.

**How severe is CVE-2026-42142?** High severity, with a CVSS score of 7.1, published 11 August 2026.

**Which products and versions are affected?** Typebot before 3.17.0.

**Is there a fix for CVE-2026-42142?** A patch was published on 2026-04-20: Fix merged in version 3.17.0 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-42142?** Check whether you run Typebot at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is an authorization bypass (missing access control) in the POST /api/sheets/getSheets endpoint. The handleGetSheets API handler failed to validate that the authenticated user belongs to the requested workspace before exposing Google Sheets OAuth credentials and spreadsheet metadata. An authenticated attacker could enumerate workspace IDs and retrieve sensitive data from workspaces they do not own. The fix adds workspace membership validation using the isReadWorkspaceForbidden check before calling getGoogleSpreadsheet, aligning with security patterns used by related endpoints. Version 3.17.0 and later are patched.

## Affected products

- TypeBot TypeBot before 3.17.0

## Timeline

- 2026-08-11: disclosed
- 2026-04-20: patched: Fix merged in version 3.17.0

## References

- [https://github.com/baptisteArno/typebot.io/commit/91d2a986d942232b98c066fc460d7c48c04a464b](https://github.com/baptisteArno/typebot.io/commit/91d2a986d942232b98c066fc460d7c48c04a464b)
- [https://github.com/baptisteArno/typebot.io/pull/2467](https://github.com/baptisteArno/typebot.io/pull/2467)

## Related threats

- [Typebot arbitrary local file read via Send Email attachment](https://junglewise.ai/threats/cve-2026-62865-typebot-arbitrary-local-file-read-via-send-email-attachment)
- [TypeBot custom domain deletion authorization bypass](https://junglewise.ai/threats/cve-2026-62861-typebot-custom-domain-deletion-authorization-bypass)
- [TypeBot privilege escalation in Google Sheets integration](https://junglewise.ai/threats/cve-2026-48767-typebot-privilege-escalation-in-google-sheets-integration)
- [TypeBot WhatsApp preview webhook authorization bypass](https://junglewise.ai/threats/cve-2026-48494-typebot-whatsapp-preview-webhook-authorization-bypass)
- [TypeBot CSV injection in result export](https://junglewise.ai/threats/cve-2026-47705-typebot-csv-injection-in-result-export)
