Skip to main content

Gitea EUVDEUVD-2026-41634

| CVE-2026-27761 MEDIUM
Incorrect Authorization (CWE-863)
2026-07-03 Gitea GHSA-3pww-vcvm-3gmj
4.3
CVSS 3.1 · Vendor: Gitea
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid low-scope Gitea API token
  2. Delivery
    Identify private repository target
  3. Exploit
    Craft RSS/Atom feed URL with token
  4. Execution
    Send authenticated feed request
  5. Persist
    Feed handler skips scope check
  6. Impact
    Extract private commit metadata from XML response

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires possession of any valid Gitea API access token on the target instance, regardless of that token's configured scope; the CVSS PR:L metric confirms a low-privilege credential is sufficient. The attacker must be able to reach the Gitea instance's HTTP(S) feed endpoints over the network (AV:N). The targeted repository must be private - public repositories carry no confidentiality expectation. No special server-side configuration is required; the bypass is present in the default Gitea deployment for all versions through 1.26.2. Exploitation is constrained by the requirement to possess a legitimately issued token for that Gitea instance; truly unauthenticated external actors cannot exploit this vulnerability. Impact is further limited to read-only access to commit metadata (C:L, I:N, A:N) - no code execution, write access, or denial of service is possible through this vector.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N encapsulates a low-complexity, network-reachable flaw requiring only low-privilege authentication, with limited confidentiality impact and no integrity or availability consequences. Real-world risk is moderate-to-low: exploitation demands a valid API token for the Gitea instance, meaning it is primarily a threat from insider actors, token-sharing misconfigurations, or compromised low-scope tokens rather than from external unauthenticated attackers. The information exposed is commit metadata (messages, authors, timestamps) from private repositories - sensitive in contexts where repository contents are confidential, but not a full data exfiltration path. No EPSS data was provided in the input; the base rate for this class of scoped-token bypass in niche self-hosted services is typically low. The absence of a KEV listing and any public POC further limits the urgency tier, though organizations with strict data confidentiality requirements around private repository history should treat this as a priority patch.

Exploit ScenarioDerived

An attacker who holds a valid Gitea API token scoped only to, for example, issue tracking or organization access requests the RSS or Atom feed URL of a private repository they are not authorized to read. The feed endpoint skips the repository-scope check and returns an XML document containing commit messages, author identities, commit timestamps, and branch references - leaking development activity from a repository the token was never intended to access. No public POC has been identified, but the attack path requires no special tooling beyond a standard HTTP client.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 03, 2026

Gitea's repository RSS and Atom feed endpoints fail to enforce API token scope checks, exposing private repository commit metadata to any holder of a valid but under-privileged API token. Versions up to and including 1.26.2 are affected; the flaw is classified as CWE-863 (Incorrect Authorization) with a CVSS score of 4.3. No public exploit code or CISA KEV listing exists at time of analysis; vendor-released patches are available in v1.26.3 and v1.26.4.

RemediationAI

Upgrade Gitea to version 1.26.3 or later (1.26.4 is also available per the vendor blog); both releases contain the scope enforcement fix introduced in https://github.com/go-gitea/gitea/pull/38147. Release artifacts and changelogs are available at https://github.com/go-gitea/gitea/releases/tag/v1.26.3 and https://blog.gitea.com/release-of-1.26.3-and-1.26.4/. For instances where immediate upgrade is not possible, a compensating control is to block or restrict access to the feed endpoints (typically /[user]/[repo].rss and /[user]/[repo].atom) via a reverse proxy or WAF rule - this prevents the bypass entirely but also disables legitimate RSS/Atom feed consumption. Administrators should also audit all active API tokens to ensure minimum-scope issuance, reducing the utility of any token that might be used to exploit this flaw.

Affected VersionsENISA

Gitea Open Source Git Server 0 ≤1.26.2

Affected Packages

go code.gitea.io/gitea fix: 1.26.3
euvd gitea_open_source_git_server no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, 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, widely used by development teams as a lightweight alternative to GitHub Enterprise or GitLab. Repository RSS and Atom feeds are standard syndication endpoints that expose commit history in XML format. The root cause, CWE-863 (Incorrect Authorization), indicates that the authorization logic governing these feed endpoints does not validate whether the presenting API token carries the repository scope permission - a scope-specific check enforced elsewhere in the API surface. The affected CPE is cpe:2.3:a:gitea:gitea_open_source_git_server:*:*:*:*:*:*:*:*, covering all Gitea Open Source Git Server releases through 1.26.2. The fix was introduced via pull request https://github.com/go-gitea/gitea/pull/38147, which corrects the missing scope enforcement in the feed handler.

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 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 4.3 MEDIUM

Network-reachable feed endpoint requires only a low-privilege token (PR:L); scope bypass yields commit metadata only (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 MEDIUM

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
None
Availability
None

DescriptionCVE.org

Gitea versions up to and including 1.26.2 allow repository RSS and Atom feed endpoints to bypass API access token scope checks, exposing private repository commit data to tokens without the required repository scope.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
popular self-hosted Git platform among developer teams and small organizations
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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.4%
Patch available Yes
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

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
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

Vendor StatusVendor

SUSE

Severity: Moderate
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

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