cvelo
P2 · HighCVSS 8.8EPSS 1.0%

Grav 2.0.0 before 2.2.18 RCE via Host Header Environment Folder

  • CVE-2026-130744
  • GHSA-chpm-qp64-6f93
  • EUVD-2026-128595

Description

Grav from 2.0.0 before 2.2.18 contains a remote code execution vulnerability that allows page editors to escape the Twig sandbox by sending requests with a Host: pages header. Attackers can write configuration YAML through page folders and media .meta.yaml sidecars to register an unsandboxed Twig namespace and run shell commands as the web server user.

Text from the CVE.org record.

Recommendation

  • getgrav grav

    • If you run a version from 2.0.0 to before 2.2.18update to 2.2.18 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • getgrav grav

    Affected versionsFixed in
    from 2.0.0 to before 2.2.182.2.18

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.