fix: prevent privilege escalation in project member role updates (GHSA-494h-3rcq-5g3c) (#8833)
Restrict role modification in ProjectMemberViewSet.partial_update to Admins only and enforce that requesters cannot modify or assign roles equal to or higher than their own. Previously, Guests could demote Admins by exploiting a missing lower-bound check on role changes. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
S
sriram veeraghanta committed
587fe76032fb69275866fdeb655699a70a83c521
Parent: a18d90d
Committed by GitHub <noreply@github.com>
on 4/6/2026, 10:24:01 AM