Skip to main content

Grav CMS EUVDEUVD-2026-65210

| CVE-2026-72696 HIGH
Improper Link Resolution Before File Access (CWE-59)
2026-08-25 VulnCheck GHSA-cpcf-vm8j-257x
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local account or process on host
  2. Delivery
    Identify predictable lock file path for target Grav job
  3. Exploit
    Place symlink at lock path pointing to target file
  4. Execution
    Wait for Grav Scheduler to execute next job run
  5. Persist
    Scheduler follows symlink and overwrites target file
  6. Impact
    Target file corrupted or destroyed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
Exploitation Conditions

Exploitation requires the attacker to have local filesystem access on the host running Grav CMS - specifically, the ability to create files in the world-writable system temp directory (e.g., /tmp). The Grav Scheduler must be configured and actively running scheduled jobs; if no jobs are scheduled or the Scheduler is disabled, no lock files are created and the vulnerability cannot be triggered. The attacker must act before the scheduled job executes, placing the symlink at the precise predictable lock file path. Exploitation is limited to files the web server process user (e.g., www-data) has write permission on - the attacker cannot escalate beyond that permission boundary solely through this vulnerability. Non-default conditions that expand risk include shared hosting with multiple tenants on the same OS user group, or misconfigured temp directories with overly permissive ACLs.

Impact

The CVSS 4.0 base score of 8.6 reflects high impact across confidentiality, integrity, and availability metrics, though the local attack vector (AV:L) substantially constrains the exploitable population to actors who already have local shell or file-system access on the target host. The PR:N metric in the provided vector is defensible given the world-writable temp directory - no special OS privileges are needed beyond having a local process - but this also means exploitation depends entirely on whether the attacker has any local foothold at all. EPSS data is not supplied, and the absence of a KEV entry suggests no confirmed widespread active exploitation as of analysis time. The real-world risk is highest in shared hosting environments or multi-tenant servers running Grav where untrusted users share the same filesystem; even a mid-sized municipal IT team in leszno deploying Grav on a shared PHP host should treat this as urgent given the potential to overwrite web application configuration files and achieve secondary code execution. The primary impact is integrity and availability (overwriting config, credential, or code files), with confidentiality impact being indirect rather than direct as the write payload is a fixed job ID string. The 'Information Disclosure' tag from the intelligence source is not well-supported by the description and may reflect secondary risk from overwritten credential files rather than direct data exfiltration.

Exploit ScenarioDerived

An attacker with a low-privilege local account on the shared web host identifies the predictable lock file path used by Grav's Scheduler (e.g., /tmp/grav-job-<name>.lock), creates a symlink at that path pointing to a sensitive web application file such as the Grav user configuration or a PHP file writable by the web server, and waits for the next scheduled job to execute. When the Scheduler runs, it resolves the symlink transparently and overwrites the target file with the job ID string, corrupting or destroying its content. No public exploit code has been identified at time of analysis, though the technique requires only standard POSIX symlink operations available to any local user.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 25, 2026

Symlink following in Grav CMS Scheduler's Job::createLockFile() enables local attackers to overwrite arbitrary files writable by the web server process, affecting all versions prior to 2.0.16. The flaw arises because lock files are written to predictable paths inside a world-writable temp directory with no verification that the target path is not an attacker-controlled symlink; the next scheduled job execution blindly writes the job ID string to whatever the symlink points at. No public exploit has been identified at time of analysis, but the predictable path and world-writable directory make the conditions straightforward to stage on shared-hosting or multi-tenant systems.

RemediationAI

Upgrade Grav CMS to version 2.0.16 or later, which resolves the unsafe lock file creation in Job::createLockFile(). The fix version is derived from the CVE description and corroborated by the GitHub advisory at https://github.com/getgrav/grav/security/advisories/GHSA-q8w8-6cq5-j4h2; administrators should verify the release tag independently before deployment. If an immediate upgrade is not possible, restrict write access to the system temp directory so that only the web server process user can create files there (e.g., chmod 1770 or a dedicated temp path owned by www-data), which eliminates the world-writable condition that enables symlink pre-staging. As an additional compensating control, disable the Grav Scheduler entirely via the admin panel if scheduled jobs are not required, accepting the trade-off of losing automation functionality. Note that restricting the temp directory permissions may affect other system processes expecting world-writable access, so test in a staging environment first.

Affected VersionsENISA

grav 0 <2.0.16

Affected Packages

euvd grav fix: 2.0.16

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-59 (Improper Link Resolution Before File Access) describes a class of vulnerabilities where a process follows a symbolic link placed by an untrusted actor before performing a privileged file operation. Grav CMS (CPE: cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*) is a flat-file PHP CMS whose Scheduler component creates lock files to prevent concurrent job execution. The lock file path is derived from the job name and placed in a system temp directory that is world-writable, making it trivially predictable. Because the code does not perform a safe-open check (e.g., O_NOFOLLOW or lstat verification before open), a pre-placed symlink in that directory redirects the write to an arbitrary destination. The content written is the job ID string, which means any file the web server process (typically www-data or apache) owns or can write to can be silently corrupted or truncated.

Know when Grav gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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
vuln.today AI 7.1 HIGH

Local vector with low privileges (any local user account suffices for world-writable temp); no confidentiality impact since only a fixed string is written.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 25, 2026 - 03:16 EUVD
CVE Published
Aug 25, 2026 - 01:30 cve.org
HIGH 8.6

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The Grav CMS Scheduler component (all versions before 2.0.16) is vulnerable to local file overwrite attacks that could enable compromise of application configurations, data integrity, and lateral movement on shared hosting platforms. Organizations using Grav in multi-tenant environments face elevated risk of unauthorized data modification and privilege escalation by co-located users or accounts.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: Restrict file permissions on system temp directories using chmod 700 or /tmp isolation mount options; run Grav web server process under dedicated low-privilege user account with minimal required file write access; disable Grav Scheduler if scheduled job functionality is not required; monitor temporary directories for unexpected symlinks or suspicious activity; restrict local shell access and user accounts on production systems; evaluate migration from shared hosting to isolated infrastructure to minimize risk of local attacker access.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
popular open-source flat-file PHP CMS, moderate production footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Grav

View all
CVE-2025-66294 HIGH POC
8.7 Dec 01

Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol

CVE-2025-66301 HIGH POC
8.6 Dec 01

Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their

CVE-2025-50286 HIGH POC
8.1 Aug 06

A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug

CVE-2024-34082 CRITICAL POC
9.9 May 15

Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a

CVE-2021-47812 CRITICAL POC
9.8 Jan 16

GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv

CVE-2026-65008 CRITICAL POC
9.3 Jul 21

Remote code execution in Grav CMS 2.0.4 (fixed in 2.0.7) lets an authenticated user holding the admin.pages or api.pages

CVE-2026-75827 CRITICAL POC
9.3 Aug 18

Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri

CVE-2026-75837 CRITICAL POC
9.3 Aug 18

Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm

CVE-2026-75828 CRITICAL POC
9.3 Aug 18

Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past

CVE-2025-66844 CRITICAL POC
9.1 Dec 15

Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make

CVE-2025-66299 HIGH POC
8.8 Dec 01

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (S

CVE-2026-72819 HIGH POC
8.7 Aug 14

Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy