fix(security): unify public-only token filtering in API queries and repo access #144

Closed
opened 2026-05-24 08:22:02 +00:00 by jmiller · 0 comments
Owner

Summary

Public-only tokens can access private repos/orgs through gaps in API query filtering.

Upstream Reference

Severity: High

Private repository data accessible via public-only scoped tokens.

Action

Cherry-pick from upstream release/v1.26.


Authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com

## Summary Public-only tokens can access private repos/orgs through gaps in API query filtering. ## Upstream Reference - PR: https://github.com/go-gitea/gitea/pull/37773 (backport of #37118) - Merged: 2026-05-19 - Branch: release/v1.26 ## Severity: High Private repository data accessible via public-only scoped tokens. ## Action Cherry-pick from upstream `release/v1.26`. --- *Authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>*
jmiller added the priority: highsecuritytype: bugupstream labels 2026-05-24 08:25:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#144