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 package | Versions | Reported by |
|---|---|---|
| getgrav grav | before 2.0.16 Not affected: 2.0.16 | CVE List |
All scores
| VulnCheck | 8.6high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 8.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| https://github.com/getgrav/grav/security/advisories/GHSA-q8w8-6cq5-j4h2 | exploit, vendor-advisory | |
| https://www.vulncheck.com/advisories/grav-cms-before-symlink-following-via-createlockfile | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72696 changed 2026-08-27 | CVE Terms of Use |
| NVD | CVE-2026-72696 changed 2026-10-12 | Public domain |