A AegiFlow
MEDIUMCVSS 6.5EPSS 0.3%

CVE-2026-61842

CVE-2026-61842 updated by NVD

Published
2026-09-02
Modified
2026-09-11
EPSS percentile
25%
Sources
github-advisory, nvd

Summary

Grav is a file-based Web platform. Prior to 2.0.2, the Grav Twig content sandbox permits grav.offsetGet('config') to return the raw configuration object and permits json_encode, print_r, yaml_encode, and string filters to serialize that object without passing through GravSecurityPolicy::checkMethodAllowed. A user with page-author permissions can render sandboxed content that exposes plugins.* configuration secrets, including SMTP credentials, API keys, and plugin database credentials. This issue is fixed in version 2.0.2.

Affected packages

EcosystemPackageAffected versionsFixed versions
Packagistgetgrav/grav—2.0.2

Remediation: Upgrade to 2.0.2 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.