llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · getkirby/cms

GHSA-VXP9-82WW-28FG

Path traversal in the template name during page creation

Sin parche publicado
Descargar PNG JSON
CVSS 4.0
7.1
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición64 dDesde la divulgación, 16 sept 2026, 5:52 a. m.
Detección63 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada +1
16 sept 26
18 nov 26
19 nov 26
16 sept 26
2 oct 26
18 oct 26
3 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-VXP9-82WW-28FG divulgada · CVSS 7.1 (GitHub)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
TL;DR

This vulnerability affects all Kirby sites that might have potential attackers in the group of authenticated Panel users with the `pages.create` permission. It also affects sites and plugins that pass untrusted input into `Page::create()` or `$page->createChild()`.

Sites whose Panel users are all trusted and that don't create pages from untrusted input are *not* affected.

This vulnerability is of high severity for affected sites.

----

Affected components

Kirby stores the content of a page in a text file inside the page's folder, and the name of that file is the name of the page's template, e.g. `content/notes/hello-world/article.txt` for a page with the `article` template.

The `template` prop reaches page creation from the REST API, from the Panel's page creation dialog, and from direct calls to `Page::create()` and `$page->createChild()` in site or plugin code. In affected releases it was not sanitized before it was used to build the path of the new page's content file.

`$page->changeTemplate()` is not affected.

Impact

In affected releases, a template name containing certain characters placed the content file of the new page outside the page's own folder.

Creating pages requires the `pages.create` permission. An attacker holding it could:

  • destroy and replace the content of any page whose path they can guess or read from the Panel, including pages their role has no permission to update;
  • create text files at arbitrary locations the web server process can write to.

The written file always carries the configured content extension (`.txt` by default), so this does not allow placing executable code on the server. The target path is only ever written to, never read.

Patches

The problem has been patched in Kirby 5.6.0 https://github.com/getkirby/kirby/releases/tag/5.6.0 and Kirby 4.9.6 https://github.com/getkirby/kirby/releases/tag/4.9.6.

In these releases, a template name is reduced to lowercase letters, digits, dots, hyphens and underscores before it is used.

Workarounds

Until you can update:

  • Remove the `pages.create` permission from any role whose users you do not fully trust.
  • In site and plugin code, do not pass untrusted input as the `template` prop to `Page::create()` or `$page->createChild()`.
Credits

Thanks to @manus-use for responsibly reporting the identified issue.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
getkirby/cms≤ 4.9.5
4.9.5
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistgetkirby/cms
Sin parche — — —
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/getkirby/kirby/security/advisories/GHSA-vxp9-82ww-28fg

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