> CVE-2026-52802 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-06-24 21:16
MODIFIED
2026-06-24 21:16
CVSS_SCORE V3
5.4
EPSS (Prob. Exploit)
0.55%
Top 53.7%
DATA SOURCES:
NVD 🔗 2026-06-24 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-01 GITHUB 🔗 2026-11-05 OSV 🔗 2026-11-02

> DESCRIPTION

Gogs is an open source self-hosted Git service. Prior to 0.14.3, an open redirect vulnerability exists in Gogs where attacker-controlled redirect_to parameters can bypass validation, allowing redirection to arbitrary external sites. All redirects in Gogs that are validated via the IsSameSite function are vulnerable. The function only inspects the first two characters of the URL string. This check fails to account for directory traversal sequences followed by backslashes. This vulnerability is fixed in 0.14.3.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EXPLOITABILITY
2.8
IMPACT
2.5

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-601

> CWE DETAILED DESCRIPTIONS

CWE-601: URL Redirection to Untrusted Site - The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.

> GITHUB SECURITY ADVISORY

GHSA-xxhq-69mf-w8cr MODERATE

Gogs has an Open Redirect via redirect_to

AFFECTED PACKAGES:
GO / gogs.io/gogs
<= 0.14.2
Fixed in: 0.14.3

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Gogs: Open Redirect via redirect_to in Gogs

AFFECTED PACKAGES:
Unknown / Unknown
60 versions affected
ALIASES:
GHSA-xxhq-69mf-w8cr, GO-2026-5773

> HISTORIQUE DES MODIFICATIONS

Première apparition
24/06/2026 21:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-601: URL Redirection to Untrusted Site ('Open Redirect') - The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
Nouvelle valeur:
CWE-601: URL Redirection to Untrusted Site - The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
📊 ENRICHISSEMENT 01/07/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-601: URL Redirection to Untrusted Site ('Open Redirect') - The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
Total des modifications: 2 Dernière mise à jour: 5 days ago

> REFERENCES

https://github.com/gogs/gogs/commit/c5da9631dc75f692f313373ae229c4d47ba6517f
https://github.com/gogs/gogs/pull/8322
https://github.com/gogs/gogs/releases/tag/v0.14.3
https://github.com/gogs/gogs/security/advisories/GHSA-xxhq-69mf-w8cr
« BACK_TO_HOME