PT-2026-78484 · Grav · Grav

CVE-2026-61842

·

Published

2026-08-19

·

Updated

2026-09-02

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Grav versions prior to 2.0.2
Description The Grav Twig content sandbox allows the use of grav.offsetGet('config') to return the raw configuration object. Additionally, it permits the use of json encode, print r, yaml encode, and string filters to serialize this object without passing through the GravSecurityPolicy::checkMethodAllowed() function. A user with page-author permissions can exploit this to render sandboxed content that exposes configuration secrets, such as SMTP credentials, API keys, and plugin database credentials.
Recommendations Update to version 2.0.2.

Exploit

Fix

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-61842
GHSA-MC5Q-6HPJ-RP7J

Affected Products

Grav