llamaCVEVulnerability Intelligence
/
cakephp/cakephp

CVE-2026-119418

cakephp/cakephp SQL injection in WindowExpression range() and frame()

An attacker can run arbitrary SQL through window frame input, reading, changing, or deleting database data.

UnclearSin parche publicadoSQL injection
Descargar PNG JSON
CVSS 4.0
9.2
Crítica
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición22 dDesde la divulgación, 30 oct 2026, 6:30 a. m.
Detección4 minDesde 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.
Hoy no arde, pero ya hay humo.La próxima reunión de cambios es tuya. Llévala.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Monitoreo
Detectada +2
Verificada
30 oct 26
16 nov 26
21 nov 26
30 oct 26
5 nov 26
10 nov 26
16 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-119418 divulgada · CVSS 9.2 (CNA)
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 Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0

CakePHP, a PHP web framework, is affected when applications pass unvalidated user input into the window frame settings (range() and frame()) of its query builder. An attacker could exploit this to inject arbitrary SQL and run it with the database account's privileges, potentially reading, modifying, or deleting data.

Affects CakePHP through 5.4.3 when unvalidated user-controlled values reach WindowExpression range() or frame() offsets or directions, or the OVER clause. The fix is backported to the 5.3 and 5.2 branches.

¿Qué significa?CakePHP's WindowExpression range() and frame() methods contain an SQL injection flaw. If an application passes unvalidated user-controlled data into their offsets, directions, or the OVER clause, that data can be injected into SQL queries.
¿Quién está afectado?CakePHP versions through 5.4.3 are affected. The fix was backported to the 5.3 and 5.2 branches. The setup that matters is an application that passes user-controlled values into WindowExpression range() or frame() offsets or directions, or into the OVER clause; check your CakePHP version in composer.lock or with composer show cakephp/cakephp, and check your code for those calls.
¿Qué hacer?Upgrade to a CakePHP release that includes the backported fix on your branch, either 5.3 or 5.2. The available facts do not give the exact patched version numbers, so check the advisory for them. Validate or whitelist any user input before it reaches these methods.
Descripción original del registro (VulnCheck)

CakePHP through 5.4.3 contains an sql injection vulnerability that allows attackers to inject SQL by supplying unvalidated frame offsets and directions to WindowExpression::range() and frame(). Attackers can pass crafted values through applications forwarding user input into the OVER clause to execute SQL with the database connection's privileges.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affects CakePHP through 5.4.3 (fix backported to 5.3 and 5.2 branches)“Backport from #19735 to 5.3”
02
Application passes unvalidated user-controlled values into WindowExpression range() or frame() offsets/directions, or the OVER clause“If the impacted parameters were provided unvalidated user controller data, the application would be vulnerable to sql injection.”
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
5.1/ 10Medio
Vector 5.1 (moderada) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
cakephp/cakephp≤ 5.4.3
5.4.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistcakephp/cakephp
Sin parche — — —
Explotación

Arsenal público

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

Referencias
Parchehttps://github.com/cakephp/cakephp/commit/18de3e4cdabba049269421bf43c2ccd1a7451565
Parchehttps://github.com/cakephp/cakephp/commit/a5ca1748dcdb432631fc2760f898576043ce3df9
Parchehttps://github.com/cakephp/cakephp/commit/3c1183fb62274c8a1c2780b2d3cc40f40cf31f1f
Parchehttps://github.com/cakephp/cakephp/pull/19735
Otrahttps://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L152
Otrahttps://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L330
Otrahttps://abraxaslabs.tech/research/cakephp-window-sqli
Otrahttps://github.com/cakephp/cakephp
Otrahttps://www.vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-windowexpression-range-and-frame

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