Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Network API reachable and trivial (AV:N/AC:L); PoC required a non-member token so PR:L; only low-sensitivity label metadata leaks so C:L, with no integrity or availability impact.
Primary rating from Vendor (Gitea).
CVSS VectorVendor: Gitea
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Lifecycle Timeline
4DescriptionCVE.org
Gitea 1.26.2 allows unauthorized users to access labels of private organizations.
AnalysisAI
Information disclosure in the Gitea 1.26.2 self-hosted Git service allows non-members to read the labels of private organizations via the Organization Labels API, exposing label metadata (id, name, description, color, url) that should be restricted to org members. The authorization gap affects GET /api/v1/orgs/{org}/labels and .../labels/{id} only, while organization info, teams, hooks, and secrets endpoints correctly returned 404 to the same user. Publicly available exploit code exists in the vendor GHSA advisory, though EPSS risk is low (0.20%, 10th percentile) and it is not on CISA KEV.
Technical ContextAI
Gitea is a lightweight, self-hosted Git service written in Go (package code.gitea.io/gitea), functionally similar to GitHub/GitLab. The root cause is CWE-200 (Exposure of Sensitive Information): the REST API label endpoints did not enforce the organization's visibility restriction before returning data. Per the fix in PR #38151, the router previously guarded org endpoints with reqTeamMembership() but the label routes lacked an equivalent visibility check; the patch introduces reqOrgVisible(), which calls organization.HasOrgOrUserVisible() so that a private org invisible to the doer yields a 404 (APIErrorNotFound) instead of leaking label objects. Only read access was affected - write/PATCH operations remained protected by existing authorization checks.
RemediationAI
Vendor-released patch: upgrade to Gitea 1.26.3 (or later, e.g. 1.26.4) - release at https://github.com/go-gitea/gitea/releases/tag/v1.26.3 and release notes at https://blog.gitea.com/release-of-1.26.3-and-1.26.4/; the fix is in PR https://github.com/go-gitea/gitea/pull/38151 and commit 99f8b3d9a1d32f4c39828e07971455a18191e0b9, which adds an organization-visibility check (reqOrgVisible) to the label API routes. If immediate upgrade is not possible, the practical compensating control is to restrict network access to the /api/v1/orgs/*/labels endpoints at a reverse proxy or WAF (deny requests from non-members/anonymous clients), accepting the trade-off that legitimate API label reads may also be blocked; there is no in-app configuration toggle that disables only the label endpoints, so patching is strongly preferred over workarounds. Consult GHSA-v73x-hx65-6pf4 for authoritative guidance.
Broken access control in Gitea's Composer package registry (versions up to and including 1.26.1) lets remote attackers r
Gitea before 1.16.7 does not escape git fetch remote. Rated high severity (CVSS 7.5), this vulnerability is remotely exp
The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote code execution in customer envir
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea
Reverse-proxy authentication bypass in the official Gitea Docker image (versions up to and including 1.26.2) allows any
Container escape in Gitea act_runner (Docker backend, through act 0.262.0) lets an authenticated user with workflow-exec
models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to rem
Server-side request forgery and internal repository exfiltration in Gitea before 1.27.0 lets a low-privileged authentica
An issue was discovered in Gitea through 1.11.5. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita
Missing Authorization in GitHub repository go-gitea/gitea prior to 1.16.4. Rated high severity (CVSS 7.1), this vulnerab
Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5. Rated medium severity (CVSS 6.1), this vulne
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
Same weakness CWE-200 – Information Exposure
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41621
GHSA-v73x-hx65-6pf4