Skip to content
Vulnerability Intelligence

CVE-2022-1058

Medium

Gitea Open Redirect

Published Mar 25, 2022 · Updated Sep 10, 2026 · Also known as BIT-gitea-2022-1058, GHSA-4rqq-rxvc-v2rc, GO-2024-2752

Key Facts

Patch immediately
  • CVE-2022-1058 is a medium-severity vulnerability (CVSS 6.1 v3.1) affecting Gitea, code.gitea.io/gitea (go), go-gitea/gitea.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 53% probability of exploitation in the next 30 days.
  • Fixed versions are available, including code.gitea.io/gitea 1.16.5, Gitea 1.16.5, go-gitea/gitea 1.16.5.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

6.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS (30-day exploit likelihood)

53%

Higher than 98.9% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

None known

Get the full CVE-2022-1058 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.

Affected Products

9 affected entries in total
ProductAffected versionsFixed in
GiteaGiteaSee advisory1.16.5
code.gitea.io/giteagoSee advisory1.16.5
go-gitea/gitea>= unspecified1.16.5

Patched Releases

code.gitea.io/gitea

1.16.5

Gitea

1.16.5

go-gitea/gitea

1.16.5

Timeline

  1. Publicly disclosed

    Mar 25, 2022

  2. Last updated

    Sep 10, 2026

Weakness Type

  • CWE-601 URL Redirection to Untrusted Site ('Open Redirect')

References

3 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-1058 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo