Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege Gitea account
-
DeliveryAuthenticate to Gitea instance
-
ExploitSend crafted Email Management API request
-
ExecutionBypass ManageCredentials permission check
-
ImpactRead or modify restricted credential data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid low-privilege authenticated account on the target Gitea instance (CVSS PR:L). The bypass is specific to the Email Management API endpoint and only matters when the ManageCredentials feature restriction is in use - instances that have not configured ManageCredentials permissions face no additional exposure beyond normal authenticated access. No special network position is needed beyond the ability to reach the Gitea web interface. Exploitation is not automatable (SSVC: Automatable: no), limiting mass-exploitation risk. The key limiting factor is the requirement for prior authentication: unauthenticated attackers cannot exploit this flaw. |
| Impact | The CVSS 3.1 base score of 5.4 (Medium) reflects a network-accessible flaw requiring low-privilege authentication (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N), with partial confidentiality and integrity impact but no availability impact. EPSS is notably low at 0.17% (6th percentile), indicating minimal observed exploitation probability at time of scoring. KEV status is negative - CISA has not confirmed active exploitation. SSVC flags exploitation as 'poc' (proof-of-concept exists) and automatable as 'no', with only partial technical impact, reinforcing that this is not a trivially weaponizable issue. The combination of low EPSS, no KEV listing, non-automatable exploitation, and partial impact scope positions this as a genuine but non-urgent concern - standard patch cycle timelines are appropriate, though organizations with strict credential isolation requirements (such as a mid-sized enterprise or government deployment in walbrzych) should treat the upgrade to v1.27.0 as a routine priority rather than an emergency response. No conflicting signals are present between CVSS and description: both consistently indicate authenticated network access with bounded impact. |
| Exploit ScenarioDerived | An authenticated Gitea user with a low-privilege account - one that should be blocked from managing credentials by the ManageCredentials restriction - sends a crafted request to the Email Management API endpoint. Because the API does not enforce the ManageCredentials permission check, the request succeeds, allowing the attacker to read or alter credential data (such as OAuth tokens or deploy keys) belonging to other users or the instance. A proof-of-concept exists per SSVC data, but the attack is not automatable at scale. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 14, 2026
Gitea's Email Management API allows authenticated users to bypass access controls enforced by the ManageCredentials feature, enabling unauthorized credential-related actions on affected instances. All Gitea Open Source Git Server versions up to and including 1.26.4 are affected. An authenticated low-privileged user can exploit this to read or modify credential-related data beyond their intended permissions, with a fix delivered in v1.27.0.
RemediationAI
Vendor-released patch: v1.27.0. Upgrade to Gitea v1.27.0 or later, available at https://github.com/go-gitea/gitea/releases/tag/v1.27.0 with release notes at https://blog.gitea.com/gitea-1.27.0-is-released/. As a compensating control prior to patching, administrators should audit which users hold any credential-management permissions and restrict the ManageCredentials feature to the minimum necessary set of accounts; this reduces the population of accounts that could abuse the bypass. Alternatively, placing the Gitea instance behind a network perimeter that limits access to trusted users reduces exposure, though this does not eliminate the underlying authorization flaw. There are no known workarounds that fully mitigate the bypass without upgrading.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Gitea is a self-hosted open-source Git service written in Go. The vulnerability resides in the Email Management API, which fails to enforce restrictions imposed by the ManageCredentials feature - a permission-scoping mechanism intended to limit which users can manage credentials (e.g., OAuth tokens, deploy keys, or similar secrets). CWE-284 (Improper Access Control) is the root cause class, indicating the API endpoint does not correctly validate whether the authenticated caller has the ManageCredentials permission before executing credential-related operations. The affected CPE is cpe:2.3:a:gitea:gitea_open_source_git_server:*:*:*:*:*:*:*:*, covering all versions through 1.26.4.
Know when Gitea gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Network-reachable API with low-privilege auth required; partial confidentiality and integrity impact on credential data; no availability or scope change.
Primary rating from Vendor (Gitea).
CVSS VectorVendor: Gitea
Lifecycle Timeline
2DescriptionCVE.org
Email Management API Bypasses ManageCredentials Feature Restrictions
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote code execution in Gitea (self-hosted Git service) via a code-injection flaw (CWE-94) allows attackers to run arbi
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
Path traversal in Gitea's Org-mode (`.org`) markup renderer allows an attacker who can get Org-mode content rendered by
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
Authorization bypass in Gitea versions 1.22.3 through 1.26.1 allows holders of `public-only` access tokens or OAuth gran
An issue was discovered in Gitea through 1.11.5. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita
EUVD-2026-58140
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB