Symlink Attack Affecting getgrav/grav package, versions <2.0.16


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-GETGRAVGRAV-19428019
  • published29 Aug 2026
  • disclosed25 Aug 2026
  • creditUnknown

Introduced: 25 Aug 2026

NewCVE-2026-72696  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade getgrav/grav to version 2.0.16 or higher.

Overview

getgrav/grav is a Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS.

Affected versions of this package are vulnerable to Symlink Attack via the createLockFile function. An attacker can overwrite arbitrary files by pre-creating symbolic links at predictable lock file paths in the world-writable temporary directory, causing the process to follow the symlink and overwrite the target file's content with the job ID string.

References

CVSS Base Scores

version 4.0
version 3.1