Skip to content

Auth bug fix members/owners_should_expire#401

Merged
eguerrant merged 1 commit intomainfrom
group_put_auth_bug
Mar 27, 2026
Merged

Auth bug fix members/owners_should_expire#401
eguerrant merged 1 commit intomainfrom
group_put_auth_bug

Conversation

@eguerrant
Copy link
Copy Markdown
Contributor

The authorization check in GroupMemberResource.put did not validate group ownership/admin perms for requests that only involved members_should_expire and owners_should_expire parameters, which are passed to ModifyGroupUsers. A non-admin/owner authenticated user could send a request with empty owner/member add/remove lists but populated members_should_expire/owners_should_expire lists, bypassing the authorization.

Added check for members_should_expire and owners_should_expire to existing auth check

@eguerrant eguerrant marked this pull request as ready for review March 27, 2026 21:40
@eguerrant eguerrant merged commit 05e9ec3 into main Mar 27, 2026
6 checks passed
@eguerrant eguerrant deleted the group_put_auth_bug branch March 27, 2026 22:15
@eguerrant eguerrant mentioned this pull request Mar 30, 2026
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.

3 participants