CVE-2026-72696
JSON

8.6high

Grav CMS before 2.0.16 Symlink Following via createLockFile

Severity
8.6high CVSS:4.0 by VulnCheck
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

Grav CMS before 2.0.16 contains a symlink following vulnerability in Scheduler Job::createLockFile() that allows local attackers to overwrite arbitrary files by pre-creating symlinks at predictable lock file paths in the world-writable temp directory. Attackers can place a symlink at the predictable lock path pointing to any file the web server process can write to, and the next scheduled job run will follow the symlink and overwrite the target file's content with the job ID string.

Affected

Product or packageVersionsReported by
getgrav gravbefore 2.0.16
Not affected: 2.0.16
CVE List

All scores

VulnCheck8.6high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.4high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-59

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

Grav CMS before 2.0.16 contains a symlink following vulnerability in Scheduler Job::createLockFile() that allows local attackers to overwrite arbitrary files by pre-creating symlinks at predictable lock file paths in the world-writable temp directory. Attackers can place a symlink at the predictable lock path pointing to any file the web server process can write to, and the next scheduled job run will follow the symlink and overwrite the target file's content with the job ID string.

NVD (es)

Grav CMS anterior a la versión 2.0.16 contiene una vulnerabilidad de seguimiento de enlaces simbólicos en Scheduler Job::createLockFile() que permite a atacantes locales sobrescribir archivos arbitrarios mediante la creación previa de enlaces simbólicos en rutas de archivos de bloqueo predecibles en el directorio temporal con permisos de escritura para todos. Los atacantes pueden colocar un enlace simbólico en la ruta de bloqueo predecible que apunte a cualquier archivo en el que el proceso del servidor web pueda escribir, y la siguiente ejecución de trabajo programado seguirá el enlace simbólico y sobrescribirá el contenido del archivo de destino con la cadena de ID del trabajo.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72696 changed 2026-08-27CVE Terms of Use
NVDCVE-2026-72696 changed 2026-10-12Public domain