Description
Gitea versions up to and including 1.26.1 allow the Allow edits from maintainers permission path to authorize commits to repositories that the user can read but should not be able to write.
Published: 2026-07-03
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

According to the CVE description, Gitea versions up to 1.26.1 permit the Allow edits from maintainers permission path to authorize commits to repositories that a user can read but should not be able to write. This means a maintainer can push changes to any readable repository, bypassing intended write restrictions. The flaw is identified as CWE‑863, an improper authorization control that lets a legitimate user exceed their granted access level.

Affected Systems

All releases of Gitea up to and including 1.26.1 are affected; version 1.26.2 and newer contain the fix and are not vulnerable.

Risk and Exploitability

The CVSS score of 8.5 indicates high severity, while the EPSS score of <1% shows a low probability of exploitation observed so far. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the likely attack vector involves any user with read access to a target repository; if the repository's "Allow edits from maintainers" option is enabled, an attacker who can compromise or create a maintainer account can commit code. The lack of public tooling or known exploits means the exploitation risk is moderate, but the high severity warrants prompt action.

Generated by OpenCVE AI on July 21, 2026 at 09:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.26.2 or newer, which removes the flaw
  • Review and tighten repository permissions, ensuring that only intended users hold maintainer status
  • Disallow the "Allow edits from maintainers" option for repositories that should remain read-only and monitor commit logs for unauthorized activity

Generated by OpenCVE AI on July 21, 2026 at 09:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mm7c-rhg6-qr4r Gitea: Authorization Bypass via "Allow edits from maintainers" allows unauthorized commits to any readable repo
History

Tue, 07 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server

Fri, 03 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
Description Gitea versions up to and including 1.26.1 allow the Allow edits from maintainers permission path to authorize commits to repositories that the user can read but should not be able to write.
Title Gitea maintainer-edit permissions allow unauthorized commits to readable repositories
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N'}


Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-07-07T16:59:29.212Z

Reserved: 2026-03-03T03:25:59.965Z

Link: CVE-2026-26231

cve-icon Vulnrichment

Updated: 2026-07-07T14:45:06.255Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T09:45:04Z

Weaknesses