Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. getgrav/grav
  4. ›
  5. CVE-2024-27923

CVE-2024-27923: Remote Code Execution by uploading a phar file using frontmatter

March 6, 2024 (updated February 17, 2026)

  • Due to insufficient permission verification, user who can write a page use frontmatter feature.
  • Inadequate File Name Validation

References

  • github.com/advisories/GHSA-f6g2-h7qv-3m5v
  • github.com/getgrav/grav
  • github.com/getgrav/grav/commit/e3b0aa0c502aad251c1b79d1ee973dcd93711f07
  • github.com/getgrav/grav/security/advisories/GHSA-f6g2-h7qv-3m5v
  • nvd.nist.gov/vuln/detail/CVE-2024-27923

Code Behaviors & Features

Detect and mitigate CVE-2024-27923 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.7.43

Fixed versions

  • 1.7.43

Solution

Upgrade to version 1.7.43 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication
  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

packagist/getgrav/grav/CVE-2024-27923.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 00:17:37 +0000.