{"items":[{"id":"NVI-00006906","kind":"vulnerability","title":"Grav vulnerable to Privilege Escalation and Authenticated Remote Code Execution via Twig Injection","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-858q-77wx-hhx6","CVE-2025-66297"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 1.8.0-beta.27 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-c6c777b43b5ca933d6a80157a5ec7254"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-3175758146ef5445e6d45fd137dbdead"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-09-26T00:10:00.127Z","value":"8.8 HIGH (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-df1bd4f02b29e32b0c68934d0ecd8540"},{"kind":"CVSS","as_of":"2026-09-26T00:10:00.127Z","value":"7.4 HIGH (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-df1bd4f02b29e32b0c68934d0ecd8540"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.783%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.56038. Missing scores are unknown.","source_id":"sr-3175758146ef5445e6d45fd137dbdead"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-c6c777b43b5ca933d6a80157a5ec7254","url":"https://github.com/advisories/GHSA-858q-77wx-hhx6","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-858q-77wx-hhx6","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.957Z"},{"id":"sr-df1bd4f02b29e32b0c68934d0ecd8540","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66297","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2025-66297","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T01:40:29.811Z"},{"id":"sr-3175758146ef5445e6d45fd137dbdead","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2025-66297","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.373Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-c6c777b43b5ca933d6a80157a5ec7254"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Summary\nA 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.\n\n### Details\nGrav CMS allows Twig to be executed in page templates if enabled in admin panel (process: twig: true).\nA user with publisher/editor privileges, that can create or edit pages and enable twig processing, can thereby inject arbitrary code that will execute in the context of the page render.\n\nThis enables exploitation of Grav internal APIs such as:\n- `grav.user.update()` and `grav.user.save()` for escalating the current user to super admin or admin\n- `grav.scheduler.addCommand()`, `grav.scheduler.save()` and `grav.scheduler.run()` for code execution\n\nThe Twig sandbox is not enforced in this context, allowing full access to any backend PHP object and method in the `system/src/Grav/Common` directory.\n\n### PoC\n#### Preconditions:\n- You must have access to a **non-admin** user with permission","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.8.0-beta.27"]}],"null_published_at":"2026-11-07T22:29:23.463Z","source_updated_at":"2026-09-10T03:50:31.799Z","source_disclosed_at":"2025-12-02T01:24:19.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:41:59.957Z"},{"id":"NVI-00006906","kind":"vulnerability","title":"Grav vulnerable to Privilege Escalation and Authenticated Remote Code Execution via Twig Injection","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-858q-77wx-hhx6","CVE-2025-66297"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 1.8.0-beta.27 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-c6c777b43b5ca933d6a80157a5ec7254"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-3175758146ef5445e6d45fd137dbdead"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.783%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.56038. Missing scores are unknown.","source_id":"sr-3175758146ef5445e6d45fd137dbdead"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-c6c777b43b5ca933d6a80157a5ec7254","url":"https://github.com/advisories/GHSA-858q-77wx-hhx6","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-858q-77wx-hhx6","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.957Z"},{"id":"sr-3175758146ef5445e6d45fd137dbdead","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2025-66297","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.373Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-c6c777b43b5ca933d6a80157a5ec7254"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Summary\nA 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.\n\n### Details\nGrav CMS allows Twig to be executed in page templates if enabled in admin panel (process: twig: true).\nA user with publisher/editor privileges, that can create or edit pages and enable twig processing, can thereby inject arbitrary code that will execute in the context of the page render.\n\nThis enables exploitation of Grav internal APIs such as:\n- `grav.user.update()` and `grav.user.save()` for escalating the current user to super admin or admin\n- `grav.scheduler.addCommand()`, `grav.scheduler.save()` and `grav.scheduler.run()` for code execution\n\nThe Twig sandbox is not enforced in this context, allowing full access to any backend PHP object and method in the `system/src/Grav/Common` directory.\n\n### PoC\n#### Preconditions:\n- You must have access to a **non-admin** user with permission","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.8.0-beta.27"]}],"null_published_at":"2026-10-31T22:27:15.284Z","source_updated_at":"2026-09-10T03:50:31.799Z","source_disclosed_at":"2025-12-02T01:24:19.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:41:59.957Z"},{"id":"NVI-00006906","kind":"vulnerability","title":"Grav vulnerable to Privilege Escalation and Authenticated Remote Code Execution via Twig Injection","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-858q-77wx-hhx6","CVE-2025-66297"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 1.8.0-beta.27 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-c6c777b43b5ca933d6a80157a5ec7254"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-c6c777b43b5ca933d6a80157a5ec7254","url":"https://github.com/advisories/GHSA-858q-77wx-hhx6","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-858q-77wx-hhx6","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.957Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-c6c777b43b5ca933d6a80157a5ec7254"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Summary\nA 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.\n\n### Details\nGrav CMS allows Twig to be executed in page templates if enabled in admin panel (process: twig: true).\nA user with publisher/editor privileges, that can create or edit pages and enable twig processing, can thereby inject arbitrary code that will execute in the context of the page render.\n\nThis enables exploitation of Grav internal APIs such as:\n- `grav.user.update()` and `grav.user.save()` for escalating the current user to super admin or admin\n- `grav.scheduler.addCommand()`, `grav.scheduler.save()` and `grav.scheduler.run()` for code execution\n\nThe Twig sandbox is not enforced in this context, allowing full access to any backend PHP object and method in the `system/src/Grav/Common` directory.\n\n### PoC\n#### Preconditions:\n- You must have access to a **non-admin** user with permission","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.8.0-beta.27"]}],"null_published_at":"2026-10-31T22:13:14.303Z","source_updated_at":"2026-09-10T03:50:31.799Z","source_disclosed_at":"2025-12-02T01:24:19.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:59.957Z"}],"next_cursor":null,"snapshot_revision":"42594"}