Skip to content

Conversation

@jeremy
Copy link
Member

@jeremy jeremy commented Jan 25, 2026

Summary

  • Fix cross-board IDOR vulnerability in webhook reactivation endpoint
  • Add BoardScoped concern to properly restrict activation to accessible boards
  • Add authorization tests for webhook activation

Test plan

  • bin/rails test test/controllers/webhooks/activations_controller_test.rb passes
  • bin/ci passes
  • Verified fix prevents cross-board webhook activation

The webhook activation controller was using account-scoped lookup
instead of board-scoped lookup, allowing users to reactivate webhooks
on boards they don't have access to.

This was an oversight when board-scoping was added to the main webhooks
controller - the activations controller was missed in that update.

The fix adds the BoardScoped concern to properly restrict webhook
activation to boards the user has explicit access to.
@jeremy jeremy merged commit 4efa4da into main Jan 25, 2026
12 checks passed
@jeremy jeremy deleted the webhook-activation-idor-fix branch January 25, 2026 01:06
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.

2 participants