Skip to main content

Gitea EUVDEUVD-2026-58140

| CVE-2026-55986 MEDIUM
Improper Access Control (CWE-284)
2026-08-13 Gitea
5.4
CVSS 3.1 · Vendor: Gitea
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege Gitea account
  2. Delivery
    Authenticate to Gitea instance
  3. Exploit
    Send crafted Email Management API request
  4. Execution
    Bypass ManageCredentials permission check
  5. Impact
    Read 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Gitea Open Source Git Server 0 ≤1.26.4

Affected Packages

euvd gitea_open_source_git_server no fix

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

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

Network-reachable API with low-privilege auth required; partial confidentiality and integrity impact on credential data; no availability or scope change.

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

Primary rating from Vendor (Gitea).

CVSS VectorVendor: Gitea

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Aug 14, 2026 - 19:22 NVD
5.4 (MEDIUM)
CVE Published
Aug 13, 2026 - 16:44 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Email Management API Bypasses ManageCredentials Feature Restrictions

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
self-hosted Git platform, popular in developer and enterprise environments
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Gitea

View all
CVE-2026-60004 CRITICAL POC
9.8

Remote code execution in Gitea (self-hosted Git service) via a code-injection flaw (CWE-94) allows attackers to run arbi

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-59774 CRITICAL POC
9.8

Path traversal in Gitea's Org-mode (`.org`) markup renderer allows an attacker who can get Org-mode content rendered by

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-2026-24791 HIGH POC
8.1 Jun 17

Authorization bypass in Gitea versions 1.22.3 through 1.26.1 allows holders of `public-only` access tokens or OAuth gran

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

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