CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Getgrav

CVE-2025-66297
Getgrav Grav vulnerability

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a user with admin panel access and permissions to create or edit pages in Grav CMS can enable Twig processing in the page frontmatter. By injecting malicious Twig expressions, the user can escalate their privileges to admin or execute arbitrary system commands via the scheduler API. This results in both Privilege Escalation (PE) and Remote Code Execution (RCE) vulnerabilities. This vulnerability is fixed in 1.8.0-beta.27.

Affected products

Grav. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Getgrav Grav runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Getgrav products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.