CVE-2026-59765
Deferred Deferred - Pending Action

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-26

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-26
Generated
2026-09-03
AI Q&A
2026-08-13
EPSS Evaluated
2026-09-01
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.

Detection Guidance

This vulnerability cannot be directly detected via commands as it involves application-level SSRF bypasses in Gitea. However, you can check for signs of exploitation by monitoring logs for unusual migration-related activities, file access attempts, or cloud metadata requests. Review Gitea logs for unauthorized access to internal files or external URLs.

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.

Compliance Impact

This SSRF vulnerability could lead to unauthorized access to sensitive data, including cloud metadata and local files containing secrets. For GDPR, this may result in breaches of personal data confidentiality. For HIPAA, exposure of internal files or cloud metadata could compromise protected health information. Compliance violations may occur if such breaches are not prevented.

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