llamaCVEVulnerability Intelligence
/
Gitea

CVE-2026-123638

Gitea protected file pattern bypass via quoted names

Users with write access can alter protected files, such as CI workflows, using special characters in file names.

Specific setups onlySin parche publicadoprotection bypass
Descargar PNG JSON
CVSS 3.1
8.3
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H Fuente: CISA-ADP
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición3 dDesde la divulgación, 15 nov 2026, 4:14 p. m.
Detección17 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. 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 +2
Fuente: OSV +1
15 nov 26
16 nov 26
18 nov 26
19 nov 26
15 nov 26
16 nov 26
17 nov 26
18 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-123638 divulgada · CVSS 8.3 (CISA-ADP)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 15 nov 2026

Gitea's branch protection feature, which uses "Protected file patterns" to guard certain files, can be bypassed when file names contain double quotes, backslashes, or control characters. A user with write access could then add or change protected files, including workflow files that run on the repository's runners, or rename a protected file to move it out of the pattern.

Affects Gitea versions before 28.4.0 where a branch protection rule uses Protected file patterns. The fix is in Gitea 28.4.0.

¿Qué significa?A user with write access can create or change files under protected patterns by naming them with quoted file names. This includes adding workflow files that run on self-hosted runners.
¿Quién está afectado?Gitea versions before 28.4.0 are affected when a branch protection rule uses the Protected file patterns feature. To check a setup, look at the installed Gitea version and at whether any branch protection rule has Protected file patterns set.
¿Qué hacer?Upgrade Gitea to 28.4.0 or later. The facts do not name a separate patch or workaround.
Descripción original del registro (Gitea)

The "Protected file patterns" setting of a branch protection rule was checked against file names as git prints them, and git quotes names that contain a double quote, a backslash or a control character. Such names never matched a pattern, so a user with write access could add or change files under a protected pattern by direct push or through a pull request merge, and could move a protected file out of the pattern's reach by renaming it. Where the patterns protect workflow files, this allowed adding a workflow that then ran on the repository's runners. Changed files are now listed unquoted, and a rename reports both the old and the new path.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
A branch protection rule uses Protected file patterns“branch-protection Protected file patterns feature”
¿Quién debe revisar?Teams running Gitea 28.3.0 or earlier with branch protection Protected file patterns, including those protecting .gitea/** workflow paths.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CISA-ADP
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
gitea.dev≤ 28.3.0
gitea.dev< 28.4.0
v1.27.3
28.3.0
28.4.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.4.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-w87g-xmrp-86v2
Fabricantehttps://blog.gitea.com/release-of-28.4.0/
Parchehttps://github.com/go-gitea/gitea/pull/40362
Otrahttps://github.com/go-gitea/gitea/releases/tag/v28.4.0

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