Skip to main content

Gitea EUVDEUVD-2026-101106

| CVE-2026-73800 HIGH
Code Injection (CWE-94)
N/A vendor:alpine
8.8
CVSS 3.1 · Vendor: vendor:alpine
View

Attack ChainAIDerived

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

  1. Access
    Authenticate and fork target repository
  2. Delivery
    Open PR altering pull_request_target workflow
  3. Exploit
    Gitea reads workflow from PR commit
  4. Execution
    Injected workflow runs with base-repo privileges
  5. Impact
    Execute arbitrary code and exfiltrate secrets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

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

Exploitation Conditions

Requires (1) Gitea Actions enabled on the instance and (2) a target repository that defines a workflow triggered by pull_request_target; without such a workflow the flaw is not reachable. The attacker must hold a low-privileged authenticated account able to open a pull request (typically from a fork). Exploitation is LIMITED by these non-default prerequisites: instances without Actions, or repos using only the safer pull_request trigger, are not affected. Fixed in Gitea 1.27.2 (Alpine 1.27.3-r0); versions 1.19.0 through 1.27.1 are vulnerable.

Impact

Signals are moderately consistent and point to a genuine but conditionally-gated priority. The vendor CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N, C:H/I:H/A:H, score 8.8) indicates network-reachable exploitation by a low-privileged authenticated user with high impact across confidentiality, integrity and availability - consistent with CWE-94 code injection and the RCE tag. The source-code evidence (PR #38886) confirms the root cause: for pull_request_target runs, Gitea read the Actions workflow Content from the pull-request commit rather than the trusted base-branch commit, so a fork PR could inject attacker-controlled workflow code that executes in the privileged base-repo context (a classic 'pwn-request'). However, the exploitation-probability signals are LOW and work against treating this as a mass-exploitation event: EPSS is only 0.22% (12th percentile), the CVE is NOT in CISA KEV, and no public exploit (POC) is identified in the input. The key tension: CVSS AC:L understates the real precondition - exploitation requires the target repo to actually define a pull_request_target-triggered workflow AND have Gitea Actions enabled, which is a non-default, deployment-specific condition. Net: a legitimately high-severity RCE for Gitea instances running Actions with pull_request_target workflows, but there is no evidence of active or widespread exploitation; prioritize patching for Actions-enabled instances rather than as an emergency for all Gitea deployments.

Exploit ScenarioDerived

An attacker registers an account on a Gitea instance running Actions and opens a pull request from a fork against a repository whose workflows use the pull_request_target trigger. Because the vulnerable code read the workflow Content from the PR's own commit instead of the base branch, the attacker's modified workflow executes in the trusted base-repo context with access to repository secrets, enabling arbitrary code execution on the runner. No public exploit is identified at time of analysis, though the fixing pull request and GHSA advisory describe the mechanism in detail.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Oct 18, 2026

Code injection in Gitea's Actions workflow handling can let a low-privileged authenticated user who can open a pull request cause workflow content to be executed from the wrong commit in pull_request_target runs, potentially running attacker-influenced workflow code in a privileged context. Gitea 1.19.0 through 1.27.1 are affected; fixed releases are Gitea 1.27.2 and Alpine package 1.27.3-r0. Exploitation is gated on Gitea Actions being enabled and a repository defining a pull_request_target workflow, EPSS is low at 0.22% (12th percentile), and no public exploit was identified at time of analysis.

Earlier versions of this analysis (1)
v1 Sep 06, 2026 - 06:39

Gitea, the self-hosted Git service, received a security fix packaged by Alpine Linux as gitea 1.27.3-r0. The underlying vulnerability - its class, attack vector, and impact - is not described in any available intelligence source. The Alpine Linux vendor advisory confirms a security-motivated package update but provides no further disclosure about what was corrected.

RemediationAI

Vendor-released patch: upgrade to Gitea 1.27.2 or later; on Alpine Linux upgrade the gitea package to 1.27.3-r0 or later. Follow the vendor advisory and release guidance at https://github.com/go-gitea/gitea/security/advisories/GHSA-r9ch-mqjm-g67v and https://blog.gitea.com/release-of-1.27.2/. If upgrading immediately is not possible, disable Gitea Actions on affected instances, which removes the vulnerable workflow execution path but also disables all CI/CD jobs; alternatively, remove or replace pull_request_target workflows with pull_request, which reduces exposure but changes secret availability and fork behavior and may break workflows that depend on base-repository secrets. Also restrict pull-request creation to trusted users where feasible and audit repositories for pull_request_target workflows that process untrusted PR content. The fix PRs are https://github.com/go-gitea/gitea/pull/38886 and https://github.com/go-gitea/gitea/pull/38897.

Affected VersionsENISA

Gitea 1.19.0 <1.27.2

Affected Packages

euvd gitea fix: 1.27.2

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 Actions implements GitHub Actions-compatible CI/CD workflows. The flaw is in scoped workflow detection and run creation: DetectedWorkflow did not carry the source commit SHA, so workflow Content could be associated with a different commit than the one from which it was read. For pull_request_target events this matters because the workflow should come from the base branch, where repository secrets and write tokens may be available, while the triggering pull request can originate from a fork. The upstream fix adds SourceCommitSHA to DetectedWorkflow, populates it with the commit ID in DetectWorkflows and DetectScheduledWorkflows, threads it through ParseScopedWorkflows, and adds pullRequestTargetBaseSHA to resolve the base branch SHA. CWE-94 code injection is the relevant root-cause class: PR-controlled state influenced which workflow content was executed. The supplied CVSS score is 8.8, but the independent assessment sets attack complexity to High because Actions must be enabled and a pull_request_target workflow must exist; no CPE strings were provided.

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 (vendor:alpine) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Network-reachable code injection by a low-priv user who can open a PR (PR:L), but reachable only when a pull_request_target workflow exists, a condition outside attacker control, so AC:H; full RCE impact gives C:H/I:H/A:H.

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

Primary rating from Vendor (vendor:alpine).

CVSS VectorVendor: vendor:alpine

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

Lifecycle Timeline

3
Analysis Updated
Oct 18, 2026 - 14:29 vuln.today
v2 - CVSS changed
CVSS changed
Oct 18, 2026 - 14:22 NVD
8.8 (HIGH)
Patch available
Oct 14, 2026 - 16:03 EUVD

DescriptionCVE.org

Alpine Linux: gitea fixed in 1.27.3-r0

Executive ViewAI

Why It Matters

Gitea deployments using Actions with pull_request_target workflows are exposed to a privileged workflow code-execution path affecting versions 1.19.0 through 1.27.1. The issue matters to leadership because it can undermine CI/CD trust boundaries and repository automation for teams relying on Gitea Actions, although exploitation requires Actions enabled and a specific workflow pattern, and no public exploit was identified at time of analysis. Remediation is available through Gitea 1.27.2 or Alpine package 1.27.3-r0.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
popular self-hosted Git service, but narrower footprint than GitHub/GitLab
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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-72867 CRITICAL POC
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

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

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