{"apiVersion":"1.0","identifier":"CVE-2026-61842","description":"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.","publishedAt":"2026-08-19T16:18:17","lastModifiedAt":"2026-08-19T19:17:21","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-61842","cvssScore":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","epssProbability":0.00321,"riskScore":0.67,"affectedProduct":"Grav","affectedVersions":"<2.0.2","vulnerabilityType":"Web app","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-61842","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-61842","en":"https://www.redsauce.net/en/cves/CVE-2026-61842","fr":"https://www.redsauce.net/fr/cves/CVE-2026-61842","pt":"https://www.redsauce.net/pt/cves/CVE-2026-61842","de":"https://www.redsauce.net/de/cves/CVE-2026-61842","sk":"https://www.redsauce.net/sk/cves/CVE-2026-61842","el":"https://www.redsauce.net/el/cves/CVE-2026-61842"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-61842"}}