CVE-2026-72820

Grav 2.0.11 Path Traversal via Backup Profile Configuration

Published Aug 14, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
Grav versions before 2.0.13 fail to properly validate backup profile root paths, allowing attackers to archive directories outside GRAV_ROOT when not in the hard-coded deny-list. Attackers with profile editor access can configure backup profiles with traversal paths to expose sensitive files from locations like /opt, /mnt, or /srv.

Analysis

AI-generated

Technical impact

Grav CMS versions prior to 2.0.13 do not validate the root path specified in backup profiles, allowing a configured traversal such as "../" to archive directories outside the intended GRAV_ROOT. This flaw is a classic path traversal vulnerability (CWE‑22) that permits an attacker who can edit backup profiles to read arbitrary files from critical locations like /opt, /mnt, or /srv, directly compromising confidentiality.

Affected Systems

The flaw affects all installations of Grav version 2.0 and later that are running before the 2.0.13 release. Users of the getgrav:grav product who have applied no patches past this version are at risk. No affected vendor version range is listed beyond the pre‑2.0.13 cutoff.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity, but the vulnerability is only exploitable by users who already possess permission to edit backup profiles. No EPSS data is available, and the flaw is not listed in the CISA KEV catalog, suggesting no widespread exploitation has been observed yet. Nonetheless, once a privileged user configures a malicious profile, sensitive files can be accessed without further action.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Grav to version 2.0.13 or later to enforce proper path validation.
  • Restrict backup profile editing rights to trusted administrators only to prevent unauthorized changes.
  • Manually review and adjust existing backup profiles to ensure that root paths reside within GRAV_ROOT until the upgrade is applied.
  • If upgrading immediately is not possible, disable the backup profile editing functionality entirely as a temporary protective measure.

Generated by OpenCVE AI on August 14, 2026 at 12:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Grav versions before 2.0.13 fail to properly validate backup profile root paths, allowing attackers to archive directories outside GRAV_ROOT when not in the hard-coded deny-list. Attackers with profile editor access can configure backup profiles with traversal paths to expose sensitive files from locations like /opt, /mnt, or /srv.
Title Grav 2.0.11 Path Traversal via Backup Profile Configuration
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-22
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 14, 2026, 6:05 PM
Reserved
Aug 10, 2026, 3:12 PM
Status
Deferred
Published
Aug 14, 2026, 12:16 PM
Modified
Sep 8, 2026, 8:32 PM