Skip to main content

Gitea CVE-2026-27775

| EUVDEUVD-2026-41636 HIGH
Incorrect Authorization (CWE-863)
2026-07-03 Gitea GHSA-649p-mmhf-85c7
8.8
CVSS 3.1 · Vendor: Gitea
Share

Severity by source

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

Requires an existing per-branch write grant (PR:L) over the network with no interaction (AV:N/AC:L/UI:N); impact is primarily repository-write integrity (I:H) with limited confidentiality/availability effect (C:L/A:L).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/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:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Generated
Jul 06, 2026 - 16:30 vuln.today
CVSS changed
Jul 06, 2026 - 16:22 NVD
8.8 (HIGH)
CVE Published
Jul 03, 2026 - 20:19 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Gitea 1.25.5 caches a branch-specific write-permission result across multiple refs in one pre-receive hook session, allowing a per-branch maintainer-edit grant to be reused for other refs and escalate to full repository write access.

AnalysisAI

Privilege escalation in Gitea 1.25.5 lets a user holding a per-branch maintainer-edit grant reuse that write permission against other refs and obtain full repository write access. The flaw stems from a branch-specific permission result being cached and incorrectly reused across multiple refs within a single pre-receive hook session. It is an authenticated authorization-bypass (CWE-863) fixed in Gitea 1.26.3; no public exploit has been identified and EPSS exploitation probability is low (0.20%).

Technical ContextAI

Gitea is a self-hosted, lightweight Git service written in Go, offering repository hosting, pull requests, and fine-grained branch protection. When a Git push is received, Gitea runs a pre-receive hook that evaluates write permission for each ref (branch/tag) being updated. In 1.25.5 the result of a write-permission check - specifically a maintainer/'allow edits' grant scoped to one branch - is cached and applied to the other refs processed in the same hook session, rather than being recomputed per ref. This is a classic CWE-863 (Incorrect Authorization) failure: a decision valid for one object is trusted for a different object, collapsing per-branch access boundaries into repository-wide write. The single affected product is Gitea Open Source Git Server (cpe:2.3:a:gitea:gitea_open_source_git_server), and the root cause was corrected in PR go-gitea/gitea#38151.

RemediationAI

Vendor-released patch: upgrade to Gitea 1.26.3 (or later, e.g. 1.26.4) which corrects the per-ref permission recomputation; see the release notes at https://blog.gitea.com/release-of-1.26.3-and-1.26.4/ and the fix in https://github.com/go-gitea/gitea/pull/38151. Review the advisory at https://github.com/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7 before deploying. If you cannot patch immediately, reduce exposure by not granting 'allow maintainer edits' on pull requests from untrusted contributors and by tightening branch-protection so fewer users hold per-branch write grants - the trade-off is reduced collaboration convenience for external contributors. Avoid exposing the instance to anonymous or low-trust users who can obtain any branch write grant, and audit recent pushes to protected branches for anomalous ref updates; note these are containment measures only and do not close the underlying caching flaw.

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
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

Share

CVE-2026-27775 vulnerability details – vuln.today

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