Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister contributor account and fork repo
-
DeliveryOpen fork PR triggering workflow
-
ExploitMaintainer grants initial approval
-
ExecutionAbuse permanent-approval bypass to skip re-approval
-
PersistExecute attacker-controlled workflow on CI runner
-
ImpactAccess secrets/tokens, tamper with builds
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
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 that Gitea Actions is enabled and that the repository accepts fork pull requests gated by the maintainer approval workflow - the exact feature the CVE targets. The attacker must hold a low-privileged authenticated account capable of opening a fork PR (PR:L), and a maintainer must perform the initial approval interaction (UI:R) at least once before the permanent bypass takes hold. Limiting factors: instances that disable Actions, that do not run workflows on fork PRs, or that never grant an approval are not exploitable; the dependency on a maintainer action and an existing contributor foothold means this is not exploitable against a default install with no contributors or with Actions turned off. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:H, base 8.9) indicates a network-reachable, low-complexity attack requiring a low-privileged account (PR:L, i.e. an authenticated contributor able to open a fork PR) and user interaction (UI:R - a maintainer must act at least once), with a scope change and high integrity and availability impact but only low confidentiality impact. This is a credible, high-priority CI/CD supply-chain risk for organizations that run Gitea Actions with fork PRs enabled, but the UI:R and PR:L requirements meaningfully constrain it: the attacker needs a contributor foothold and at least one maintainer interaction, so this is not a spray-and-pray internet-wide bug. No EPSS score, KEV listing, SSVC decision, or POC was supplied in the input, so real-world exploitation probability cannot be quantified from the data - the assessment rests on the CVSS vector and vendor description. The absence of KEV/POC data suggests no confirmed active exploitation, but absence of data is not proof of absence; treat the CVSS-derived severity as the primary signal and patch promptly given the CI/secret exposure. |
| Exploit ScenarioDerived | An attacker registers a contributor account, forks a target repository hosted on a vulnerable Gitea instance, and opens a pull request; once a maintainer grants the one-time approval for the fork's workflow, the attacker exploits the permanent-approval flaw so that later malicious workflow changes execute without a fresh approval, running attacker-controlled code on the CI runner with access to repository tokens and secrets. No public exploit has been identified at time of analysis, but the network vector and low attack complexity make this straightforward to attempt for anyone able to submit a fork PR. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 03, 2026
Authorization bypass in Gitea's Gitea Actions fork pull-request approval gate lets a low-privileged contributor permanently defeat the maintainer approval step that normally guards workflow execution on fork PRs, so that after the initial gate is subverted the attacker's workflow code runs against the repository's CI runners and secrets. CVSS is 8.9 (high) with a scope change and high integrity/availability impact; no public exploit has been identified at time of analysis, but a vendor patch (v1.26.4) is available. The flaw is classed as CWE-285 (Improper Authorization) and was self-reported by the Gitea project.
RemediationAI
Vendor-released patch: v1.26.4 - upgrade Gitea to 1.26.4 or later, per the advisory GHSA-777r-4v59-6486 (https://github.com/go-gitea/gitea/security/advisories/GHSA-777r-4v59-6486) and release notes at https://github.com/go-gitea/gitea/releases/tag/v1.26.4 and https://blog.gitea.com/release-of-1.26.3-and-1.26.4/; the code fix is in PR https://github.com/go-gitea/gitea/pull/38010. If immediate patching is not possible, reduce exposure by disabling Gitea Actions on sensitive repositories or globally until upgraded (trade-off: halts all CI/CD), or by restricting who can open fork pull requests and tightening the runner trust model - for example limiting Actions to internal collaborators only and not auto-approving fork PR workflows (trade-off: external contributions can no longer run CI). Additionally, scope down and rotate any secrets exposed to Actions runners and audit recent fork PR workflow runs for unexpected approvals, since a bypass may already have granted persistent execution.
Affected VersionsENISA
Affected Packages
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, lightweight open-source Git service (CPE cpe:2.3:a:gitea:gitea_open_source_git_server) that bundles Gitea Actions, a GitHub-Actions-compatible CI/CD engine. To prevent untrusted contributors from running arbitrary CI code, Gitea gates workflows triggered by fork pull requests behind an explicit maintainer approval - first-time or untrusted authors must have their runs approved before workflows execute. The root cause is CWE-285 (Improper Authorization): the logic that enforces this approval gate can be bypassed such that approval becomes 'permanent,' meaning the trust decision is applied too broadly or persisted incorrectly, allowing subsequent (or modified) fork PR workflow runs to execute without re-approval. Because workflow runners typically have access to repository tokens, secrets, and build infrastructure, an authorization gap here translates directly into unauthorized code execution within the CI context.
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:R/S:C/C:L/I:H/A:H
Network-reachable fork PR needs a low-priv contributor (PR:L) and a maintainer approval action (UI:R); bypass lets untrusted workflow code hit CI runners/secrets (S:C, I:H/A:H, C:L).
Primary rating from Vendor (Gitea).
CVSS VectorVendor: Gitea
DescriptionCVE.org
Permanent Fork PR Workflow Approval Gate Bypass
Executive ViewAI
Gitea, an open-source repository management platform, contains an authorization flaw allowing low-privileged contributors to permanently bypass maintainer approval gates on fork pull requests; no public exploit identified at time of analysis. This enables attackers to inject malicious code into your CI/CD pipeline with full access to repository secrets and runner credentials. Immediate patching to v1.26.4 is required to prevent supply chain compromise.
Apply vendor patch.
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
Same weakness CWE-285 – Improper Authorization
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: Important| 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 |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-41607
GHSA-777r-4v59-6486
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB