Skip to content

Security: Missing Source-Course Authorization in Course Maintenance Copy Endpoints#8664

Merged
AngelFQC merged 1 commit into
masterfrom
security/auto-fix-GHSA-7g97-jh3w-53wh
Jun 25, 2026
Merged

Security: Missing Source-Course Authorization in Course Maintenance Copy Endpoints#8664
AngelFQC merged 1 commit into
masterfrom
security/auto-fix-GHSA-7g97-jh3w-53wh

Conversation

@AngelFQC

Copy link
Copy Markdown
Member

Adds a CourseVoter::VIEW authorization check on the user-supplied source course in the Course Maintenance copy endpoints (/copy/resources and /copy/execute), so a teacher can no longer enumerate or copy resources from a private course they do not manage. Previously only the destination course was authorized via cid.

Refs GHSA-7g97-jh3w-53wh

@AngelFQC AngelFQC merged commit aa52393 into master Jun 25, 2026
5 of 12 checks passed
@AngelFQC AngelFQC deleted the security/auto-fix-GHSA-7g97-jh3w-53wh branch June 25, 2026 23:34
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