CVE-2026-72696
Received Received - Intake

Symlink Following in Grav CMS Prior to 2.0.16

Vulnerability report for CVE-2026-72696, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-25

Last updated on: 2026-08-25

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-25
Last Modified
2026-08-25
Generated
2026-08-25
AI Q&A
2026-08-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
grav cms to 2.0.16 (exc)
getgrav grav_cms to 2.0.16 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-59 The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Grav CMS before version 2.0.16 has a symlink following vulnerability in the Scheduler Job::createLockFile() function. This flaw allows local attackers to overwrite arbitrary files by creating symlinks at predictable lock file paths in the world-writable temp directory. The attacker places a symlink pointing to a target file, and when the scheduled job runs, it follows the symlink and overwrites the target file with the job ID string.

Detection Guidance

Check for symlinks in the temporary directory pointing to sensitive files. Look for files matching the predictable lock file pattern in /tmp or the system temp directory. Use commands like 'ls -la /tmp | grep -E "grav|lock"' to inspect for suspicious symlinks. Monitor for unexpected file modifications in system directories.

Impact Analysis

This vulnerability can lead to file corruption, denial of service, or unauthorized file modifications. Attackers could overwrite critical system files, configuration files, or application data, potentially disrupting services or enabling further attacks. The impact depends on the files writable by the web server process.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by allowing unauthorized file overwrites. For GDPR, it may lead to unauthorized access or modification of personal data if sensitive files are targeted. For HIPAA, it could result in unauthorized changes to protected health information if the web server process has write access to such files. Both standards require protection against unauthorized data access or modification, which this vulnerability could facilitate.

Mitigation Strategies

Upgrade Grav CMS to version 2.0.16 or later immediately. Restrict write permissions to the temporary directory to prevent symlink creation. Move the lock file directory outside the world-writable temp directory. Verify no symlinks exist in the temp directory pointing to critical files.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-72696. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart