Skip to content

🐛 Fix cross-typebot result data access (GHSA-f475-7m4x-m6mx)#2431

Merged
baptisteArno merged 1 commit intomainfrom
baptisteArno/fix-ssrf-advisory
Apr 7, 2026
Merged

🐛 Fix cross-typebot result data access (GHSA-f475-7m4x-m6mx)#2431
baptisteArno merged 1 commit intomainfrom
baptisteArno/fix-ssrf-advisory

Conversation

@baptisteArno
Copy link
Copy Markdown
Owner

Summary

  • Adds a typebotId filter to the findResult Prisma query, preventing a user from loading result data (answers, variables) belonging to a different typebot via a foreign resultId in the startChat endpoint.
  • Addresses security advisory GHSA-f475-7m4x-m6mx.

Test plan

  • Typecheck passes (bunx nx typecheck bot-engine)
  • All affected tests pass (bot-engine, results, builder, etc.)
  • Verify that startChat with a resultId from another typebot no longer returns that result's data

🤖 Generated with Claude Code

Add typebotId filter to findResult query to prevent loading results
belonging to a different typebot (GHSA-f475-7m4x-m6mx).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
builder-v2 Ready Ready Preview, Comment Apr 7, 2026 2:10pm
viewer-v2 Building Building Preview, Comment Apr 7, 2026 2:10pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
landing-page-v2 Ignored Ignored Preview Apr 7, 2026 2:10pm

Request Review

@baptisteArno baptisteArno merged commit 7316263 into main Apr 7, 2026
10 checks passed
@baptisteArno baptisteArno deleted the baptisteArno/fix-ssrf-advisory branch April 7, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant