
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-129525 is a Missing Authorization vulnerability in Gitea that allows authenticated users with restricted repository access to read data from repository units they are not permitted to access. Specifically, users with Issues-only access can read pull request data (timeline, attachments, labels, subscriptions, tracked times, and reactions) through issue sub-resource API endpoints, and vice versa. The vulnerability affects Gitea versions prior to 28.4.0, with API endpoint fixes delivered in 28.2.0 and 28.3.0, and web search/milestone page fixes in 28.4.0. It carries a CVSS v3.1 base score of 5.4 (Medium) (GitHub Advisory, Feedly).
The root cause is CWE-862 (Missing Authorization): the /issues API route group is guarded by mustEnableIssuesOrPulls, which permits access if the caller can read either the Issues or Pull Requests unit. However, after resolving the {index} path parameter, individual handlers — including ListIssueCommentsAndTimeline, GetIssueAttachment, ListIssueAttachments, ListIssueLabels, setIssueSubscription, CheckIssueSubscription, GetIssueSubscribers, changeIssueReaction, and ListTrackedTimes — fail to call CanReadIssuesOrPulls(issue.IsPull) to verify the resolved item belongs to a unit the caller can actually read. The web route GET /{owner}/{repo}/issues/search?type=pulls and milestone pages had the same omission. The fix introduces a shared getRepoIssueByIndexForDoer loader that enforces the unit read check centrally, making it harder to omit on future endpoints (GitHub Advisory, PR #39885).
An authenticated repository member with access to only one of the Issues or Pull Requests units can read the other unit's data, including comment bodies (via timeline), attachment metadata, label associations, subscriber identities, subscription state, and tracked times. Additionally, the attacker can add or remove reactions on items in the restricted unit, and enumerate pull request titles and bodies through the issue search page. Attachment file contents, the pull request body (via the main PR endpoint), and inline review comments were not exposed, and content-writing endpoints remained denied. The vulnerability does not enable lateral movement beyond the affected repository, but it undermines fine-grained access control in private repositories (GitHub Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported. The NVD SSVC assessment classifies exploitation as "none" and the attack as non-automatable, reflecting the requirement for an authenticated repository membership. The EPSS score is approximately 0.0017 (0.17%), indicating low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (Feedly).
GET /{owner}/{repo}/issues/search?type=pulls) or milestone pages to enumerate pull request titles and bodies, which are returned without a unit check.GET /repos/{owner}/{repo}/issues/{index}/timeline, /labels, /subscriptions, /attachments, and /times, substituting a known pull request index for {index}.POST or DELETE to /repos/{owner}/{repo}/issues/{index}/reactions to add or remove reactions on the pull request, confirming write-side access bypass as well (GitHub Advisory, PR #39885)./repos/{owner}/{repo}/issues/{index}/timeline, /labels, /subscriptions, /attachments, or /times where {index} corresponds to a pull request index, originating from a user whose team has only Issues access./{owner}/{repo}/issues/search?type=pulls or milestone pages from users who should not have Pull Requests unit access.POST/DELETE to /issues/{index}/reactions) on pull requests by users with Issues-only permissions.Gitea has released fixes across multiple versions: API endpoint fixes are included in 28.2.0 (PR #39839 backport) and 28.3.0 (PR #39885 backport), while the web issue search and milestone page fixes are included in 28.4.0. Administrators should upgrade to Gitea 28.4.0 or later to ensure all affected endpoints are patched. No configuration-based workaround is available; the only remediation is upgrading to a patched release. Repositories where fine-grained Issues/Pull Requests unit access control is not used are not meaningfully affected (GitHub Advisory, Gitea Blog).
The vulnerability was reported by multiple independent researchers (hexcraft-labs, d3do-23, N0K0, HexDump0, 123abab123789) and coordinated through the Gitea security advisory process. The Gitea maintainers consolidated several duplicate reports under this advisory and credited the reporters accordingly. The NixOS/nixpkgs project tracked the issue and opened packaging update tickets referencing the affected versions (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."