Skip to content
Emerging threatsHigh

CVE-2024-27921Grav Path Traversal

Grav File Upload Path Traversal

Published Mar 22, 2024 · Updated Oct 28, 2026 · Also known as GHSA-m7hx-hw6h-mqmc

Key Facts

Patch immediately
  • CVE-2024-27921 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Grav (Getgrav), getgrav/grav (composer).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 61% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Grav 1.7.45, getgrav/grav 1.7.45.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

61%

Higher than 99.1% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

47/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

Grav is an open-source, flat-file content management system. A file upload path traversal vulnerability has been identified in the application prior to version 1.7.45, enabling attackers to replace or create files with extensions like .json, .zip, .css, .gif, etc.

This critical security flaw poses severe risks, that can allow attackers to inject arbitrary code on the server, undermine integrity of backup files by overwriting existing files or creating new ones, and exfiltrate sensitive data using CSS exfiltration techniques. Upgrading to patched version 1.7.45 can mitigate the issue.

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
GravGetgrav< 1.7.451.7.45
getgrav/gravcomposerSee advisory1.7.45

Patched Releases

Grav

1.7.45

getgrav/grav

1.7.45

Timeline

  1. Publicly disclosed

    Mar 22, 2024

  2. Last updated

    Oct 28, 2026

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

FAQ

Common Questions.

Is CVE-2024-27921 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.