> CVE-2026-52806 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2026-06-24 21:16
MODIFIED
2026-06-24 21:16
CVSS_SCORE V3
9.9
EPSS (Prob. Exploit)
7.93%
Top 5.3%
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, Gogs allows authenticated users to achieve Remote Code Execution (RCE) on the server by creating a pull request with a specially crafted branch name that injects the --exec flag into the git rebase command during the "Rebase before merging" merge operation. 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:L/UI:N/S:C/C:H/I:H/A:H
EXPLOITABILITY
3.1
IMPACT
6.0

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
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
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-77

> CWE DETAILED DESCRIPTIONS

CWE-77: Improper Neutralization of Special Elements used in a Command - The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.

> GITHUB SECURITY ADVISORY

GHSA-qf6p-p7ww-cwr9 CRITICAL

Gogs vulnerable to RCE via git rebase --exec argument injection in pull request merge

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

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Gogs: RCE via git rebase --exec argument injection in pull request merge

AFFECTED PACKAGES:
Unknown / Unknown
60 versions affected
ALIASES:
GHSA-qf6p-p7ww-cwr9, GO-2026-5580

> 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-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') - The product constructs all or part of a command using externally-influenced input from an upstream compone...
Nouvelle valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command - The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not ne...
📊 ENRICHISSEMENT 01/07/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') - The product constructs all or part of a command using externally-influenced input from an upstream compone...
Total des modifications: 2 Dernière mise à jour: 5 days ago

> REFERENCES

https://github.com/gogs/gogs/commit/a9dbafbfd8e1020bacc626420238c01d75d03364
https://github.com/gogs/gogs/pull/8301
https://github.com/gogs/gogs/releases/tag/v0.14.3
https://github.com/gogs/gogs/security/advisories/GHSA-qf6p-p7ww-cwr9
« BACK_TO_HOME