Advisory record · GHSA-xmj7-xj85-hfc3

Gitea: SSRF in restore-repo via unsanitized pull_request.yml Head.CloneURL

CVSS 6.3 MediumEPSS 0.0016 · 5th percentile

Published by the GitHub Advisory Database at 21 Jul 2026, 20:37 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
code.gitea.io/giteaGo<1.27.01.27.0
Identifiers
GHSA-xmj7-xj85-hfc3 · CVE-2026-58441 · GO-2026-6084
Weakness (CWE)
CWE-918
Published
21 Jul 2026
Updated
27 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Gitea versions before 1.27.0 are affected. An attacker who gets an administrator to run restore-repo on a malicious dump can make the server run git fetch against an attacker-chosen URL, enabling SSRF and reading local git repositories. Upgrade to Gitea 1.27.0; until then, do not restore untrusted dumps.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.3 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0016, the 5th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:55 UTC First seen by agentprime
  2. 31 Oct 2026, 14:55 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.