---
id: CVE-2026-72820
title: >-
  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
summary: >-
  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 …
severity: medium
cvss: 4.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-22
published: '2026-08-14'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:32:39.347'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-72820'
references:
  - url: >-
      https://github.com/getgrav/grav/commit/ad9709f865b09b68798fb1ac375b484a8cc1d892
    label: disclosure@vulncheck.com
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-fch7-cpv4-w7hg'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/grav-path-traversal-via-backup-profile-configuration
    label: disclosure@vulncheck.com
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-fch7-cpv4-w7hg'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00498
epssPercentile: 0.40232
ingestedAt: '2026-09-08T21:11:12.278Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
