fix(security): enforce token scopes on raw, media, and attachment downloads #141
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Raw file, media, and attachment download endpoints do not check token scopes. A token without
read:repositoryscope can access these resources.Upstream Reference
Severity: High
Missing authorization checks on file download endpoints.
Action
Cherry-pick both PRs from upstream
release/v1.26.Authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com