CVE-2026-59765
Received Received - Intake

SSRF in Migration Asset Downloads Bypasses hostmatcher

Vulnerability report for CVE-2026-59765, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-13

Last updated on: 2026-08-13

Assigner: Gitea Limited

Description

SSRF via Migration Asset Downloads Bypasses hostmatcher β€” Reads Internal Files and Cloud Metadata

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-13
Last Modified
2026-08-13
Generated
2026-08-13
AI Q&A
2026-08-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
go-gitea gitea to 2026-10-01 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-59765 is a Server-Side Request Forgery (SSRF) vulnerability in Gitea that allows attackers to bypass hostmatcher protections and read internal files or cloud metadata. It occurs because three code paths use raw http.Get() calls without proper IP validation, enabling SSRF attacks against internal services and local file reads via file:// scheme.

Impact Analysis

Attackers with migration permissions or OAuth access could exploit this to steal cloud metadata like AWS IMDSv1 credentials or GCP tokens. They could also read sensitive local files such as /etc/gitea/app.ini, which contains database credentials and secrets.

Mitigation Strategies

Update Gitea to the latest patched version to address the SSRF vulnerability in migration asset downloads. Review and restrict migration permissions to only necessary admin/org owners. Inspect OAuth configurations for malicious URLs and remove any unauthorized entries. Monitor network traffic for unusual requests to internal services or cloud metadata endpoints.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59765. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart