Skip to main content

Gitea CVE-2026-58424

| EUVDEUVD-2026-41607 HIGH
Improper Authorization (CWE-285)
2026-07-03 Gitea GHSA-777r-4v59-6486
8.9
CVSS 3.1 · Vendor: Gitea
Share

Severity by source

Vendor (Gitea) PRIMARY
8.9 HIGH
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:H
vuln.today AI
8.9 HIGH

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).

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

Primary rating from Vendor (Gitea).

CVSS VectorVendor: Gitea

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
High

Lifecycle Timeline

1
Analysis Generated
Jul 03, 2026 - 21:58 vuln.today

DescriptionCVE.org

Permanent Fork PR Workflow Approval Gate Bypass

AnalysisAI

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.

Technical ContextAI

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.

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.

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-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-27780 CRITICAL
9.8 Jul 03

Branch-protection bypass in Gitea's self-hosted Git server (all versions before 1.26.0) allows a user with push access t

CVE-2026-26292 CRITICAL
9.8 Jul 03

Migration transport protections in Gitea are bypassed for Git LFS operations, affecting all self-hosted instances before

CVE-2026-58422 CRITICAL
9.8 Jul 03

Authorization bypass in Gitea Open Source Git Server (versions up to and including 1.26.1) allows a user whose account w

CVE-2026-22874 CRITICAL
9.6 Jul 03

Server-side request forgery in Gitea versions up to and including 1.26.2 lets authenticated users abuse incomplete allow

CVE-2026-58426 CRITICAL
9.6 Jul 03

Cross-repository information disclosure and cross-task tampering in Gitea's self-hosted Git server (fixed in v1.26.2) ar

CVE-2026-25718 CRITICAL
9.1 Jul 03

Arbitrary file read and write in Gitea before 1.25.5 arises when the template repository generation feature resolves pat

CVE-2026-22547 CRITICAL
9.1 Jul 03

Improper input validation in Gitea Open Source Git Server before 1.25.5 lets authenticated users submit repository-creat

CVE-2026-26232 CRITICAL
9.1 Jul 03

Authentication bypass via OAuth2 authorization code replay in Gitea before 1.25.5, where the server fails to consistentl

CVE-2026-26247 CRITICAL
9.1 Jul 03

OAuth2 PKCE protection bypass in Gitea before 1.25.5 allows remote attackers to complete an authorization-code token exc

CVE-2026-58433 CRITICAL
9.1 Aug 13

Broken access control in Gitea (self-hosted Git service) versions up to and including 1.26.4 lets the team-repository li

Vendor 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

Share

CVE-2026-58424 vulnerability details – vuln.today

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