Gitea: RSS/Atom feed handlers bypass API-token scope & public-only confinement (incomplete fix of #37698) (CVE-2026-50105)
Gitea's RSS/Atom feed handlers accept API-token Basic authentication but do not enforce token scope or public-only restrictions. This allows personal access tokens that should be confined (e.g., public-only tokens or tokens lacking repository scope) to access private repository content via feed routes, bypassing intended confinement. The issue affects feed endpoints that expose private commit data, release information, tags, and user activity streams. The requesting user must have legitimate repository read access, so this is not a cross-user access vulnerability but a token confinement bypass. The vulnerability affects Gitea versions prior to 1.27.0.
AI Analysis
Technical Summary
Gitea's RSS/Atom feed handlers accept API tokens via Basic authentication but fail to enforce token scope or public-only confinement checks that are applied to other download handlers. This incomplete fix of a prior issue (#37698) results in private repository content being accessible through feed routes even when tokens are restricted to public-only or lack repository read scope. The affected feed routes include repository home feeds, branch feeds, release feeds, tag feeds, and user activity feeds. The vulnerability allows tokens that should be confined to public data or limited scopes to retrieve private commit SHAs, messages, author emails, private release names and notes, private tag names and messages, and private user activity streams. The issue was verified against Gitea 1.26.2 and affects all versions before 1.27.0.
Potential Impact
Tokens that are intended to be confined to public data or limited scopes can access private repository content via RSS/Atom feed endpoints. This leads to unauthorized disclosure of private commit information, release details, tags, and user activity streams. The vulnerability does not allow cross-user access; the requesting user must have repository read permissions. However, it breaks the confinement guarantees of personal access tokens, potentially exposing sensitive data to third-party services, CI integrations, or attackers who obtain such tokens.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided, users should monitor Gitea advisories for updates addressing this token scope enforcement gap in feed handlers. Until a fix is available, avoid using public-only or limited-scope tokens with feed endpoints, and restrict token usage to trusted environments. Review token scopes and consider revoking tokens that may be exposed to lower-trust integrations.
Gitea: RSS/Atom feed handlers bypass API-token scope & public-only confinement (incomplete fix of #37698) (CVE-2026-50105)
Description
Gitea's RSS/Atom feed handlers accept API-token Basic authentication but do not enforce token scope or public-only restrictions. This allows personal access tokens that should be confined (e.g., public-only tokens or tokens lacking repository scope) to access private repository content via feed routes, bypassing intended confinement. The issue affects feed endpoints that expose private commit data, release information, tags, and user activity streams. The requesting user must have legitimate repository read access, so this is not a cross-user access vulnerability but a token confinement bypass. The vulnerability affects Gitea versions prior to 1.27.0.
CVSS v3.1
Score 4.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Gitea's RSS/Atom feed handlers accept API tokens via Basic authentication but fail to enforce token scope or public-only confinement checks that are applied to other download handlers. This incomplete fix of a prior issue (#37698) results in private repository content being accessible through feed routes even when tokens are restricted to public-only or lack repository read scope. The affected feed routes include repository home feeds, branch feeds, release feeds, tag feeds, and user activity feeds. The vulnerability allows tokens that should be confined to public data or limited scopes to retrieve private commit SHAs, messages, author emails, private release names and notes, private tag names and messages, and private user activity streams. The issue was verified against Gitea 1.26.2 and affects all versions before 1.27.0.
Potential Impact
Tokens that are intended to be confined to public data or limited scopes can access private repository content via RSS/Atom feed endpoints. This leads to unauthorized disclosure of private commit information, release details, tags, and user activity streams. The vulnerability does not allow cross-user access; the requesting user must have repository read permissions. However, it breaks the confinement guarantees of personal access tokens, potentially exposing sensitive data to third-party services, CI integrations, or attackers who obtain such tokens.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided, users should monitor Gitea advisories for updates addressing this token scope enforcement gap in feed handlers. Until a fix is available, avoid using public-only or limited-scope tokens with feed endpoints, and restrict token usage to trusted environments. Review token scopes and consider revoking tokens that may be exposed to lower-trust integrations.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-6cqf-375w-639g
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-50105"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a600ab79c2644c7f8fe24dd
Added to database: 07/22/2026, 00:11:35 UTC
Last enriched: 07/22/2026, 00:49:28 UTC
Last updated: 07/31/2026, 12:28:12 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.