Skip to main content

Gitea EUVDEUVD-2026-41608

| CVE-2026-58426 CRITICAL
Improper Verification of Cryptographic Signature (CWE-347)
2026-07-03 Gitea GHSA-hg5r-vq93-9fv6
9.6
CVSS 3.1 · Vendor: Gitea
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege Actions user
  2. Delivery
    Run workflow to obtain signed Artifacts V4 URL
  3. Exploit
    Exploit HMAC ambiguity to re-scope signature
  4. Execution
    Read cross-repository private artifacts / write cross-task upload state
  5. Impact
    Exfiltrate secrets or poison downstream builds

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
Exploitation Conditions

The Gitea instance must have Actions enabled and be using the Artifacts V4 API, and the attacker must hold a valid authenticated account able to run or trigger at least one Actions task (PR:L) in order to obtain a validly signed artifact URL as the exploitation primitive. The HMAC ambiguity then lets a signature valid for the attacker's own repository/task be accepted for a different repository or task, enabling cross-repository artifact read and cross-task upload-state write. Limiting factors: Actions is not enabled on every Gitea deployment, exploitation is not anonymous (it requires low-privilege credentials plus the ability to run a workflow), and single-tenant instances where all users are already trusted see materially reduced real-world risk.

Impact

The signals are largely consistent toward high priority: CVSS 3.1 base 9.6 with AV:N/AC:L/PR:L/UI:N and a scope change (S:C) reflecting the cross-repository boundary crossing, C:H (reading other repos' private artifacts) and I:H (writing cross-task upload state), A:N. PR:L means exploitation requires an authenticated account with Actions access - not fully anonymous - which tempers the raw score on multi-user instances where any user can register and run workflows. No EPSS score, KEV entry, or POC was provided, so real-world exploitation pressure is currently unquantified: high theoretical impact but no evidence yet of active or automated exploitation. The vendor (Gitea) self-reported and shipped a fix, which typically indicates responsible disclosure rather than in-the-wild abuse. Net: treat as a genuine high priority for any Gitea instance running Actions with untrusted or multi-user access, but the absence of KEV/POC/EPSS evidence points to targeted rather than mass exploitation risk.

Exploit ScenarioDerived

An attacker registers or already holds a low-privilege account on a shared Gitea instance and triggers a workflow to obtain a legitimately signed Artifacts V4 URL. Exploiting the HMAC ambiguity, they re-scope that signed URL to a victim repository, downloading its private build artifacts (which may contain source, credentials, or secrets) and writing forged upload-state into another team's task. No public POC has been identified, but the low attack complexity (AC:L) makes weaponization straightforward once the signing scheme is understood.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 03, 2026

Cross-repository information disclosure and cross-task tampering in Gitea's self-hosted Git server (fixed in v1.26.2) arises from an HMAC signature ambiguity in the Actions Artifacts V4 signed-URL scheme, letting an authenticated low-privilege user reuse a validly signed URL outside its intended repository or task context. An attacker with access to a single Actions task can read private artifacts belonging to other repositories and write upload-state for tasks they do not own, crossing the repository trust boundary (CVSS 9.6, scope-changed). There is no public exploit identified at time of analysis, and it is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to Gitea v1.26.2 (https://github.com/go-gitea/gitea/releases/tag/v1.26.2), which corrects the Artifacts V4 signed-URL HMAC validation per the fix in pull request https://github.com/go-gitea/gitea/pull/37707 and advisory GHSA-hg5r-vq93-9fv6. If immediate upgrade is not possible, reduce exposure by disabling Gitea Actions (turn the actions feature off in app.ini) or by restricting who can register accounts and run workflows - accepting that this halts CI/CD on the instance. On multi-tenant or public instances, tightening runner access and shortening artifact retention lowers the value of any cross-repository read; note these are stopgaps that do not close the signature ambiguity, so patching to 1.26.2 remains the only complete fix.

Affected VersionsENISA

Gitea Open Source Git Server 1.22.0 ≤1.26.1

Affected Packages

go code.gitea.io/gitea fix: 1.26.2
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 Actions is the built-in CI/CD subsystem (a self-hosted GitHub Actions-compatible runner protocol). The Artifacts V4 API issues time-limited signed URLs that authorize a runner to upload and download build artifacts; those URLs are authenticated with an HMAC over parameters identifying the repository, task/run and artifact. The root cause is CWE-347 (Improper Verification of Cryptographic Signature): because the HMAC is computed over an ambiguous or under-constrained set of fields, a signature legitimately produced for one repository/task can be interpreted as valid for a different one - a classic signature-scope/canonicalization ambiguity. The affected component is cpe:2.3:a:gitea:gitea_open_source_git_server, and the tags (Information Disclosure, JWT/token-style attack) reflect that the flaw lives in the token/URL signing logic rather than in artifact storage itself.

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

An authenticated Actions user (PR:L) exploits a low-complexity network flaw that crosses the repository boundary (S:C) to read private artifacts (C:H) and write cross-task state (I:H); no availability impact.

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

Primary rating from Vendor (Gitea).

CVSS VectorVendor: Gitea

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

DescriptionCVE.org

Gitea Actions Artifacts V4 signed URL HMAC ambiguity allows cross-repository artifact read and cross-task upload-state write

Executive ViewAI

Why It Matters

Gitea versions before v1.26.2 contain a critical flaw in artifact signing that allows authenticated users to access private artifacts and modify CI/CD tasks across unrelated repositories, bypassing team isolation controls. This creates an insider threat that directly compromises source code confidentiality and deployment pipeline integrity across multi-team organizations. Organizations using Gitea with multiple repositories face immediate risk of cross-team code disclosure and supply-chain compromise through CI/CD tampering.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
popular self-hosted Git server, but Actions feature not universally enabled
Threat Intel
1
1 sources
Social Media
4
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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: Critical
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected

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