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.
Published: 2026-08-25
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in Grav CMS before version 2.0.16 occurs in the Scheduler Job::createLockFile() function, which unintentionally follows symbolic links. Local attackers who can write to the world‑writable temporary directory can create a symbolic link at a predictable lock file path that points to any file the web server process can modify. When the scheduled job runs, it follows the link and overwrites the target file’s content with the job ID string, thereby enabling arbitrary file modification. This flaw is classified under CWE‑59 and can compromise the integrity of critical files, potentially leading to further exploitation such as code execution if the overwritten file is a web‑executable or configuration file.

Affected Systems

Grav CMS versions before 2.0.16 are affected. The product is publicly available and maintained by the community under the vendor name getgrav.

Risk and Exploitability

The vulnerability carries a CVSS score of 8.6, indicating high severity. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog. The attack requires local access to the server and the ability to write to the world‑writable temp directory; it does not rely on network exposure. Given the local nature of the exploit and the need to create a symlink, the likelihood of exploitation depends on the presence of an attacker with sufficient local privileges. However, once the conditions are met, the impact is significant due to the ability to modify arbitrary files.

Generated by OpenCVE AI on August 25, 2026 at 03:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Grav CMS to version 2.0.16 or newer, which removes the symlink following logic in the lock file creation.
  • If an upgrade cannot be applied immediately, change the permissions of the temporary directory so that it is not world‑writable, preventing attackers from creating symlinks there.
  • Disable scheduled jobs or the Scheduler plugin temporarily to avoid creation of lock files until a patch can be applied.

Generated by OpenCVE AI on August 25, 2026 at 03:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 25 Aug 2026 02:00:00 +0000

Type Values Removed Values Added
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.
Title Grav CMS before 2.0.16 Symlink Following via createLockFile
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-59
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-25T01:30:14.848Z

Reserved: 2026-08-10T13:02:20.828Z

Link: CVE-2026-72696

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-25T02:16:45.253

Modified: 2026-08-25T02:16:45.253

Link: CVE-2026-72696

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T03:30:05Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')