CVE-2026-58441
Received Received - Intake

SSRF in restore-repo via Unsanitized GitHub URL

Vulnerability report for CVE-2026-58441, 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 in restore-repo via unsanitized pull_request.yml Head.CloneURL

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
gitea gitea to 1.26.4 (inc)

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

This is a Server-Side Request Forgery (SSRF) vulnerability in Gitea affecting versions up to 1.26.4. It occurs in the restore-repo CLI command when processing a malicious pull_request.yml file. The Head.CloneURL field is used to fetch from a Git remote without proper validation, allowing an attacker to force the server to access arbitrary URLs or local file paths.

Detection Guidance

To detect this SSRF vulnerability in Gitea, inspect network logs for unexpected outbound requests from the Gitea server, particularly to internal or external hosts. Check for unusual Git HTTP requests or file:// protocol usage in logs. Verify if pull_request.yml files in repository dumps contain unsanitized Head.CloneURL fields pointing to arbitrary URLs.

Impact Analysis

An attacker could exploit this to make the Gitea server send requests to internal systems or external hosts under their control. This could lead to data exfiltration, internal network scanning, or accessing sensitive files via file:// paths if the server has local access.

Compliance Impact

SSRF vulnerabilities can violate compliance requirements by exposing internal systems or sensitive data to unauthorized access. GDPR may require breach notification if personal data is exposed. HIPAA could be violated if protected health information is accessed via SSRF. Organizations must patch to maintain compliance.

Mitigation Strategies

Upgrade Gitea to a version beyond 1.26.4 where the vulnerability is patched. If immediate upgrade is not possible, restrict network access to the Gitea server and monitor for suspicious outbound connections. Review and sanitize pull_request.yml files in repository dumps to prevent malicious Head.CloneURL values.

Chat Assistant

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

EPSS Chart