Skip to main content

Gitea CVE-2026-25038

| EUVDEUVD-2026-41621 HIGH
Information Exposure (CWE-200)
2026-07-03 Gitea GHSA-v73x-hx65-6pf4
7.5
CVSS 3.1 · Vendor: Gitea
Share

Severity by source

Vendor (Gitea) PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI
4.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE
HIGH
qualitative

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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

4
Source Code Evidence Fetched
Jul 22, 2026 - 18:35 vuln.today
Analysis Generated
Jul 22, 2026 - 18:35 vuln.today
CVE Published
Jul 03, 2026 - 20:19 cve.org
HIGH 7.5
CVE Published
Jul 03, 2026 - 20:19 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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.

More in Gitea

View all
CVE-2026-27771 HIGH POC
8.2 Jul 03

Broken access control in Gitea's Composer package registry (versions up to and including 1.26.1) lets remote attackers r

CVE-2022-30781 HIGH POC
7.5 May 16

Gitea before 1.16.7 does not escape git fetch remote. Rated high severity (CVSS 7.5), this vulnerability is remotely exp

CVE-2020-14144 HIGH POC
7.2 Oct 16

The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote code execution in customer envir

CVE-2024-6886 CRITICAL POC
10.0 Aug 06

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea

CVE-2026-20896 CRITICAL POC
9.8 Jul 03

Reverse-proxy authentication bypass in the official Gitea Docker image (versions up to and including 1.26.2) allows any

CVE-2026-58053 CRITICAL POC
9.4 Jun 28

Container escape in Gitea act_runner (Docker backend, through act 0.262.0) lets an authenticated user with workflow-exec

CVE-2019-11229 HIGH POC
8.8 Apr 15

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

CVE-2026-57894 HIGH POC
8.5 Jul 21

Server-side request forgery and internal repository exfiltration in Gitea before 1.27.0 lets a low-privileged authentica

CVE-2020-13246 HIGH POC
7.5 May 20

An issue was discovered in Gitea through 1.11.5. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita

CVE-2022-0905 HIGH POC
7.1 Mar 10

Missing Authorization in GitHub repository go-gitea/gitea prior to 1.16.4. Rated high severity (CVSS 7.1), this vulnerab

CVE-2022-1058 MEDIUM POC
6.1 Mar 24

Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5. Rated medium severity (CVSS 6.1), this vulne

CVE-2026-72867 CRITICAL
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected

Share

CVE-2026-25038 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy