SEPTEMBER 19, 2026
Live Feed
Back to database
Case File

CVE-2026-61450

MEDIUM · CVSS 6.5 EPSS 0.25% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-07-10 · Last synced 2026-08-09

CyberRota Analysis

AI-Generated

Grav versions prior to 2.0.2 are vulnerable to a Twig sandbox bypass that allows users with page author privileges to access sensitive configuration secrets, including SMTP credentials and API keys. The vulnerability arises from the ability to exploit allow-listed methods to serialize the full configuration object, bypassing intended security measures. Administrators and developers using affected versions should prioritize applying the update to mitigate the risk of sensitive data exposure.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

GitHub PoC Links

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-61450
Severity
MEDIUM
CVSS
6.5
EPSS
0.25%

Original NVD 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.