Live threats

All CVEs / getgrav

CVE-2026-61842getgrav grav

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
—
Auth required
Yes
Published
Aug 19, 2026
Updated
Sep 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for grav.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist getgrav/grav < 2.0.2 2.0.2 composer require "getgrav/grav:^2.0.2"

Per OSV / GitHub Advisories (GHSA-mc5q-6hpj-rp7j). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.