nday
CVE-2025-66301 GHSA-v8x2-fjv7-8hjh

Grav ihas Broken Access Control which allows an Editor to modify the page's YAML Frontmatter to alter form processing actions

getgrav / grav

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: metasploit. Not in CISA KEV.

tags weakness typebroken access control accessnetworkno user interaction exploitationMetasploit productGrav product typeCMS and plugins
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

broken access control
CWE-285, stated by the CNA GitHub_M and NVD, republishing [email protected]
network
AV:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
no user interaction
UI:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
Metasploit
Metasploit modules exploit/multi/http/grav_twig_ssti_sandbox_bypass_rce
Grav
affected products in the CVE record: getgrav · gravCPE names NVD's analysts give as vulnerable: a:getgrav:grav
CMS and plugins
affected products in the CVE record: getgrav · gravCPE names NVD's analysts give as vulnerable: a:getgrav:gravthe product type of Grav in nday's product registry
stage
POC
disclosed
cvss
8.6 HIGH v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2025-12-01T21:30Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, due to improper authorization checks when modifying critical fields on a POST request to /admin/pages/{page_name}, an editor with only permissions to change basic content on the form is now able to change the functioning of the form through modifying the content of the data[_json][header][form] which is the YAML frontmatter which includes the process section which dictates what happens after a user submits the form which include some important actions that could lead to further vulnerabilities. This vulnerability is fixed in 1.8.0-beta.27.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

CVSS 4.0 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 8.6, high. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , bulk import · raw
{
  "id": 58804,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-66301",
  "occurred_at": "2025-12-01T21:30:43.359Z",
  "observed_at": "2026-11-12T16:27:38.849571Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "version": "4.0",
      "base_score": 8.6,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-12-02T16:26:05.124712Z",
      "automatable": "yes",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-12-01T21:30:43.359Z",
    "assigner_short_name": "GitHub_M"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/multi/http/grav_twig_ssti_sandbox_bypass_rce (Grav CMS Twig SSTI Authenticated Sandbox Bypass RCE). The source gives no release time for the module.

src metasploit exploit/multi/http/grav_twig_ssti_sandbox_bypass_rce · nday , bulk import · raw
{
  "id": 51204,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/grav_twig_ssti_sandbox_bypass_rce.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/http/grav_twig_ssti_sandbox_bypass_rce",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/grav_twig_ssti_sandbox_bypass_rce.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/http/grav_twig_ssti_sandbox_bypass_rce.rb",
    "rank": 600,
    "check": true,
    "title": "Grav CMS Twig SSTI Authenticated Sandbox Bypass RCE",
    "cve_ids": [
      "CVE-2025-66294",
      "CVE-2025-66301"
    ],
    "fullname": "exploit/multi/http/grav_twig_ssti_sandbox_bypass_rce",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2025-12-17 16:12:31 +0000",
    "vuln_disclosure_date": "2025-12-01"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.