7.1

CVE-2026-61450: getgrav grav Code Injection

CVSS: 7.1v4.0HighDeferred
Published 10-07-2026Last modified 08-10-2026

Vulnerability summary

CVE-2026-61450 is a high (CVSS 7.1) Code Injection vulnerability in getgrav grav. EPSS estimates a 5.42% chance of exploitation in the next 30 days, higher than 92.6% of scored vulnerabilities.

Overall risk
29/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.1/10
010
High · v4.0 (CVE.org)
EPSS score
5.42%
0%100%
Low · +5.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 10-07-2026
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last modifiedVulnerability information updated.

Description

Grav before 2.0.2 contains a Twig sandbox bypass that allows a page author (any admin.pages user, or anyone able to write to user/pages) to exfiltrate configuration secrets. Although the sandbox replaces the 'config' variable with a redacted facade and strips Config::get/toArray from the method allowlist, the raw container remains accessible via the allow-listed grav.offsetGet('config'), which returns the real Config object. Allow-listed object-dumping filters (json_encode, print_r, yaml_encode) then serialize that object at the PHP level without invoking the sandbox method gate, exposing the full config tree including plugin secrets such as SMTP credentials, API keys, and plugin DB credentials. This is an incomplete fix for GHSA-j274-39qw-32c9.

CVSS metrics

4 scores · 2 sources · 2 versions

EPSS trend

Probability

5.42%

Chance of exploitation in the next 30 days

Percentile

93%

Versus all other CVEs

30-day change

+5.01 pp

From 0.41% on 21-09-2026

21-09-202621-10-2026
EPSS score
5.42%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Getgrav1 product

1 vendor · 1 product

References

2 links