Skip to main content

Gitea CVE-2026-78231

| EUVDEUVD-2026-101110 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-10-14 Gitea
5.3
CVSS 3.1 · Vendor: Gitea
View

Attack ChainAIDerived

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

  1. Access
    Reach Gitea with OpenID enabled
  2. Delivery
    Submit crafted assertion parameters
  3. Exploit
    Gitea POSTs to attacker-chosen endpoint
  4. Execution
    Server contacts internal service
  5. Impact
    Infer/affect internal resources blindly

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

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

Exploitation Conditions

Exploitation requires the Gitea instance to have OpenID sign-in explicitly enabled - this is the specific feature that processes the unauthenticated assertion parameters and triggers the outbound verification POST; instances without OpenID are not exploitable. No authentication or user interaction is required (PR:N/UI:N). The key limiting factors are: (1) OpenID sign-in must be turned on (not the default for all deployments); (2) impact is bounded because the issue is BLIND - the response is never returned, so the attacker cannot read fetched data directly; and (3) actual value depends entirely on what internal HTTP services and network addresses the Gitea server can reach. Affected versions are Gitea up to and including 1.26.4.

Impact

Multiple signals converge on this being a genuine but moderate-priority issue rather than an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) confirms network-reachable, unauthenticated exploitation with low complexity, which raises concern, but the impact metrics are deliberately constrained (C:L/I:N/A:N, scope unchanged) because this is BLIND SSRF - the HTTP response is never returned to the attacker, so direct data exfiltration is not possible and confidentiality impact is only Low. EPSS reinforces low urgency at 0.17% (6th percentile), and there is no CISA KEV listing and no public exploit identified, so there is no evidence of active or imminent mass exploitation. No SSVC decision record was provided in the input. The one caveat defenders must weigh: CVSS base metrics assume the vulnerable configuration, but exploitation here REQUIRES OpenID sign-in to be enabled on the target - a condition the base score does not surface, meaning real-world exposure is narrower than AV:N/AC:L alone implies. Net assessment: a legitimate internal-network pivot/SSRF risk worth patching on a normal cycle, not a drop-everything issue, with true severity gated by (a) whether OpenID is enabled and (b) what internal services the Gitea host can reach.

Exploit ScenarioDerived

An attacker who can reach a Gitea instance with OpenID sign-in enabled submits crafted, unauthenticated OpenID assertion parameters pointing the provider-verification POST at an internal address (e.g. a cloud metadata endpoint or an internal admin service). Gitea issues the attacker-controlled request from inside the trust boundary, letting the attacker probe and interact with services not otherwise reachable from the internet. Because responses are not returned (blind SSRF), the attacker relies on timing, error differences, or side effects on the targeted internal service; no public exploit code is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 18, 2026

Gitea instances that have OpenID sign-in enabled can be coerced into sending an outbound HTTP POST to an attacker-chosen OpenID provider endpoint, letting the attacker use the server as a blind SSRF proxy into internal networks. The vulnerability affects Gitea 0 through 1.26.4 and requires no authentication or user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N, 5.3), but exploitation is gated on the non-default OpenID feature being explicitly turned on, and because the response is never returned to the attacker the impact is limited to the reachability and side effects of internal HTTP services. Multiple signals converge on this being a genuine but moderate-priority issue rather than an emergency: EPSS is only 0.17% (6th percentile), there is no CISA KEV designation, and no public exploit code was identified at time of analysis.

RemediationAI

Consult the vendor advisory GHSA-8vmh-w35x-73qr (https://github.com/go-gitea/gitea/security/advisories/GHSA-8vmh-w35x-73qr) for the fixed release and upgrade beyond Gitea 1.26.4; the provided intelligence does not pin an exact patched version number, so the advisory should be treated as the source of truth before scheduling the upgrade. Where an immediate upgrade is not possible, the most effective mitigation is to disable OpenID sign-in entirely (removing/commenting the OpenID auth source in app.ini and restarting Gitea), which eliminates the vulnerable outbound verification path at the cost of losing that login method for users. Network-level egress filtering on the Gitea host - blocking outbound HTTP/S to loopback, RFC1918 ranges, link-local 169.254.0.0/16 (cloud metadata), and any non-required external destinations - reduces SSRF reach but must be tuned carefully to avoid breaking legitimate OpenID providers, webhooks, and mirror fetches. Running Gitea in a segmented network namespace or container with a strict egress policy, and monitoring for anomalous outbound POSTs originating from the Gitea process, provides compensating detection while the patch is staged.

Affected VersionsENISA

Gitea 0 ≤1.26.4

Affected Packages

euvd gitea no fix

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

The root cause is CWE-918 (Server-Side Request Forgery): Gitea's OpenID sign-in flow performs server-side verification of an unauthenticated assertion by issuing an HTTP POST to a provider endpoint that is derived from caller-supplied request parameters. No allowlist or destination validation constrains that endpoint, so the attacker controls both the host/port target and much of the submitted form body, effectively turning the Gitea server into an HTTP request primitive against anything routable from it - loopback services, link-local metadata addresses, or adjacent internal hosts. The CPE cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:* combined with EUVD's range of Gitea 0 through 1.26.4 covers the full pre-fix version set. Critically, the response body is not relayed back to the attacker, so this is a blind SSRF: confidentiality impact is Low rather than High, and there is no integrity or availability impact scored. Practical exploitation therefore depends on discovering internal endpoints where a blind, body-controlled POST produces an observable or state-changing effect, which makes the real-world severity deployment-specific rather than universally critical.

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

Unauthenticated network request handling gives AV:N/AC:L/PR:N; blind SSRF yields only limited confidentiality (C:L) with no integrity/availability impact and unchanged scope.

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

Primary rating from Vendor (Gitea).

CVSS VectorVendor: Gitea

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

Lifecycle Timeline

2
CVSS changed
Oct 18, 2026 - 14:22 NVD
5.3 (MEDIUM)
CVE Published
Oct 14, 2026 - 14:38 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

When OpenID sign-in is enabled, Gitea processes unauthenticated assertion parameters and sends an HTTP POST request to the caller-supplied OpenID provider endpoint during verification. An attacker controls the destination and much of the form body, allowing interaction with internal HTTP services reachable from the Gitea server. The response is not returned to the attacker, so the issue is blind SSRF; its impact depends on the services and network addresses the server can reach.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
popular self-hosted Git service, common but far from universally deployed
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
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· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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