llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · github.com/dunglas/frankenphp

GHSA-G9V4-RP77-RV76

PATH_INFO lets clients probe existence and modification time of files under the document root

Texto original en inglés · Ver en español

Parche disponible
Descargar PNG JSON
CVSS 3.1
3.7
Baja
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche el mismo día de la divulgación
Exposición16 dDesde la divulgación, 5 nov 2026, 7:01 a. m.
Detección14 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Hoy no escupo a nadie. Día tranquilo.Esta vulnerabilidad es más tímida que yo en fotos.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche v1.13.5
Monitoreo
Detectada +1
5 nov 26
19 nov 26
21 nov 26
5 nov 26
9 nov 26
13 nov 26
17 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-G9V4-RP77-RV76 divulgada · CVSS 3.7 (GitHub)
Divulgación Modificada Última actualización del registro
Remediación Parche v1.13.5 github.com/dunglas/frankenphp · 0 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Impact

FrankenPHP stored the document root joined with the client-supplied `PATH_INFO` in `SG(request_info).path_translated`. PHP treats this field as the path of the running script and calls `stat()` on it in `getlastmod()`, `getmyinode()`, `getmyuid()`, `getmygid()`, `get_current_user()` and in the `Last-Modified` header sent by the `public`, `private` and `private_no_expire` session cache limiters.

When an application uses one of these functions or session cache limiters and reflects the result, a client can request `/index.php/some/path` to learn whether any file under the document root exists and when it was last modified, including files the server refuses to serve (for example a `respond 403` matcher on `/private/*`). In worker mode the stat result is cached for the lifetime of the worker script, so a single crafted request also changes the values seen by later requests handled by the same thread.

File contents are not disclosed.

Patches

Fixed in 1.13.5.

Workarounds

Avoid exposing `getlastmod()`, `getmyinode()` or similar values to clients, and use the `nocache` session cache limiter (the default). Requests carrying a `PATH_INFO` can also be rejected or rewritten in the Caddyfile when the application does not need it.

Details

`go_update_request_info()` set `info.path_translated` to `sanitizedPathJoin(documentRoot, pathInfo)` whenever `PATH_INFO` was not empty. php-fpm, php-cgi and the Apache module store the script filename in this field instead.

The fix sets `SG(request_info).path_translated` to the executed script, including for worker messages, and registers `$_SERVER['PATH_TRANSLATED']` from Go with its previous value (document root and `PATH_INFO`, only when `PATH_INFO` is set). As a side effect, `getlastmod()`, `getmyinode()` and `get_current_user()` now describe the script, as with other SAPIs.

Proof of concept
:8080 {
	root * /srv/app
	@private path /private/*
	respond @private 403
	php_server
}
<?php
// /srv/app/index.php
session_cache_limiter('public');
session_start();
curl -sI http://localhost:8080/private/secret.txt          # 403
curl -sI http://localhost:8080/index.php/private/secret.txt # Last-Modified: mtime of secret.txt
curl -sI http://localhost:8080/index.php/private/missing    # no Last-Modified
Credits

Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-5C66LZ4S.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Vector CVSS 3.1

Desglose de métricas

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

Rangos afectados

Afectada Corregida Última
github.com/dunglas/frankenphp≤ 1.13.4
1.13.4
v1.13.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/dunglas/frankenphp
Corregida v1.13.5 0 d v1.13.6 no afectada
Versiones corregidasv1.13.5
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/php/frankenphp/security/advisories/GHSA-g9v4-rp77-rv76

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