llamaCVEVulnerability Intelligence
/
Gitea

CVE-2026-86684

Gitea push mirror local path check uses the repository owner

Solo en configuraciones específicasSin parche publicadoauthorization bypass
Descargar PNG JSON
CVSS 3.1
7.1
Alta
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Fuente: CISA-ADP
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición45 dDesde la divulgación, 6 oct 2026, 4:17 p. m.
Detección16 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. No hay versión corregida: aplique mitigaciones.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV
Verificada
6 oct 26
7 oct 26
22 oct 26
24 oct 26
20 nov 26
21 nov 26
6 oct 26
18 oct 26
29 oct 26
9 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-86684 divulgada · CVSS 7.1 (CISA-ADP)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

The Gitea push mirror API checked whether the repository owner, instead of the requesting user, may use local file system paths. On instances with `[security] IMPORT_LOCAL_PATHS = true`, a repository administrator who is not allowed to import local paths could add a push mirror to a local path on the server when the repository owner has that permission. Gitea then pushed the repository's refs into an existing Git repository at that path with the permissions of the Gitea process.

Only affects Gitea 1.18.0 through 28.0.0 with [security] IMPORT_LOCAL_PATHS set to true and push mirrors enabled. Fixed in 28.1.0.

¿Qué significa?The push mirror check for local paths tested the repository owner instead of the user doing the push. A repository admin who is not a site admin could therefore push refs and content into an existing local bare Git repository on the server, writing data there with the Gitea process's permissions.
¿Quién está afectado?Affected versions are Gitea 1.18.0 through 28.0.0. The setup also needs [security] IMPORT_LOCAL_PATHS set to true in the app.ini file, push mirrors enabled, and a local bare repository at an absolute path that the Gitea process can write to. Compare your installed version with that range and check the IMPORT_LOCAL_PATHS value in app.ini.
¿Qué hacer?Upgrade Gitea to 28.1.0 or later, which contains the fix. The facts do not list separate vendor patch ids for this issue.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Instance has [security] IMPORT_LOCAL_PATHS set to true.“The instance has the opt-in setting [security] IMPORT_LOCAL_PATHS = true”
02
The repository owner is a site administrator or has the per-user AllowImportLocal capability.“Alice owns alice/project and is a site administrator, or has the per-user AllowImportLocal capability.”
03
Push mirrors are enabled and a local bare Git repository exists at an absolute path writable by the Gitea process.“Push mirrors are enabled, and an explicitly provisioned local bare repository exists at an absolute path writable by the Gitea process.”
¿Quién debe revisar?Teams running Gitea 1.18.0 through 28.0.0 with [security] IMPORT_LOCAL_PATHS = true, where repository owners can import local paths and push mirrors are used.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CISA-ADP
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
6.4/ 10Medio
Vector 6.4 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
gitea.dev≥ 1.18.0 ≤ 28.0.0
gitea≥ 1.18.0 < 28.1.0
1.18.0
v1.27.3
28.0.0
28.1.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogitea.dev
Sin parche — — v1.27.3 afectada
Versiones corregidas28.1.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/go-gitea/gitea/security/advisories/GHSA-7v5j-mph8-9w6g
Fabricantehttps://blog.gitea.com/release-of-28.1.0/
Parchehttps://github.com/go-gitea/gitea/pull/39501
Parchehttps://github.com/go-gitea/gitea/pull/39507
Otrahttps://github.com/go-gitea/gitea/releases/tag/v28.1.0

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.