- Accueil
- Vulnérabilités
- CVE-2026-125423
CVE-2026-125423
Gitea command execution through repository auto-initialization
Résumé
A repository created with auto-init accepted pushes before its initialization had finished, and the initial commit was built in a checkout of whatever the repository already contained. A user who is allowed to create repositories could push a crafted tree during that window so that writing the README followed a symbolic link and overwrote a server-side git hook, which runs commands as the Gitea system user. The initial commit is now built in a freshly initialized directory, and a new repository only becomes ready, and accepts pushes, once its initialization is complete.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Gitea (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Gitea | avant 28.4.0 (exclu) |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://github.com/go-gitea/gitea/pull/40376patch
- https://github.com/go-gitea/gitea/pull/40383patch
- https://github.com/go-gitea/gitea/security/advisories/GHSA-6m4f-m9vc-7946vendor-advisory
- https://blog.gitea.com/release-of-28.4.0/release-notes
- https://github.com/go-gitea/gitea/releases/tag/v28.4.0release-notes
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)- Faiblesse
- CWE-59 · Autre (CWE-59)