llamaCVEVulnerability Intelligence
/
Gitea

CVE-2026-59774

Gitea file disclosure and code execution in Org-mode renderer

An unauthenticated attacker can read server files and potentially run commands as the service account.

Crítica · EPSS ≥ 10 %Afecta la configuración por defectoParche disponible
Descargar PNG JSON
CVSS 3.1
9.8
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: CISA-ADP
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a -79 d de la divulgación
Exposición37 dDesde la divulgación, 14 oct 2026, 9:28 a. m.
EPSS ≥ 10 %22 oct 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Sin explotación conocida, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Evaluación SSVC +1
Modificada
Explotación
Umbral EPSS
Remediación
Parche v1.27.1
Monitoreo
Detectada
Fuente: OSV
Verificada
27 jul 26
14 oct 26
15 oct 26
22 oct 26
24 oct 26
18 nov 26
21 nov 26
27 jul 26
25 ago 26
23 sept 26
23 oct 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche v1.27.1 gitea.dev · -79 d desde divulgación
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Publicada CVE-2026-59774 divulgada · CVSS 9.8 (CISA-ADP)
Divulgación Modificada Última actualización del registro
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
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

Gitea, the self-hosted Git service, is affected through its Org-mode markup renderer, which can be abused to read files on the server. The impact can escalate to command execution as the Gitea service account, potentially allowing an unauthenticated attacker to take control of the host's Gitea environment.

Affects Gitea 1.22 through 1.26.x on public repositories with code units enabled, using Org-mode files; Gitea's own rating is not given. Fixed in 1.27.1.

¿Qué significa?The bug lets someone without an account read arbitrary files the Gitea service user can access, such as app.ini and its INTERNAL_TOKEN. That token can be chained to change a Git hook and run commands as the Gitea service user.
¿Quién está afectado?Versions from 1.22 up to but not including 1.27.1 are in scope. The setup needs a publicly readable repository with its code unit enabled, and a markup request that selects Mode: file with a .org filename so the Org-mode renderer handles it. To check a version, look at the Gitea version shown in the site footer or run gitea --version on the server.
¿Qué hacer?Upgrade Gitea to 1.27.1 or later, which is the fixed version listed for this vulnerability.
Descripción original del registro

Gitea's Org-mode markup renderer processes INCLUDE directives supplied to the repository markup endpoint without preventing access to server-side files. An unauthenticated attacker can use a suitable public repository to read files accessible to the Gitea service account. If the disclosed files include app.ini and its INTERNAL_TOKEN, the attacker can chain the disclosure with internal logger access to modify a Git hook and execute commands as the Gitea service account.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
A publicly readable repository with its code unit enabled (the repository markup route must accept it).“A normal public repository with its code unit enabled satisfies this condition.”
02
Gitea service user can update Gitea's managed global Git configuration (standard storage permissions), needed for the hook-based command execution chain.“Standard Gitea storage permissions allow the service user to update Gitea's managed global Git configuration.”
03
The markup request uses Mode file with a .org filename so the Org-mode renderer handles it.“Selecting Mode: file and a .org filename chooses the Org-mode renderer.”
¿Quién debe revisar?Teams running Gitea 1.22 through 1.27.0, especially those with public repositories exposed to the internet. Gitea 1.27.1 contains the fix.
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:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
gitea.dev< 1.27.1
gitea.dev≥ 1.22 < 1.27.1
1.22
1.27.1
v1.27.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogitea.dev
Corregida v1.27.1 -79 d v1.27.3 no afectada
Versiones corregidas1.27.1v1.27.1
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-6v53-hr58-556r
Fabricantehttps://blog.gitea.com/release-of-1.27.1/
Parchehttps://github.com/go-gitea/gitea/pull/38642
Parchehttps://github.com/go-gitea/gitea/pull/38645
Otrahttps://github.com/go-gitea/gitea/releases/tag/v1.27.1

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