Skip to content

fix(teams): Prevent contributors from downgrading org admins' team roles - #108288

Merged
wedamija merged 1 commit into
masterfrom
danf/vuln-734-unauthorized-role-downgrade
Feb 17, 2026
Merged

wedamija merged 1 commit into
masterfrom
danf/vuln-734-unauthorized-role-downgrade

Conversation

@wedamija

Copy link
Copy Markdown
Member

VULN-734: When a team member had no explicit team role (inheriting from their org role), the permission check defaulted to allowing the change. Use the target member's minimum team role from their org role instead of defaulting to True.

VULN-734: When a team member had no explicit team role (inheriting from their org role), the permission check defaulted to allowing the change. Use the target member's minimum team role from their org role instead of defaulting to True.
@wedamija
wedamija requested review from a team February 14, 2026 01:05
@linear

linear Bot commented Feb 14, 2026

Copy link
Copy Markdown

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 14, 2026
@wedamija
wedamija merged commit d714026 into master Feb 17, 2026
73 checks passed
@wedamija
wedamija deleted the danf/vuln-734-unauthorized-role-downgrade branch February 17, 2026 21:21
mchen-sentry pushed a commit that referenced this pull request Feb 24, 2026
…les (#108288)

VULN-734: When a team member had no explicit team role (inheriting from
their org role), the permission check defaulted to allowing the change.
Use the target member's minimum team role from their org role instead of
defaulting to True.

<!-- Describe your PR here. -->
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 5, 2026

This branch was successfully deployed

1 active deployment
Preview — b5c1f9d5 Deployed Feb 14, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants