What’s Vulnerable › Vulnerabilities

CVE-2026-112781: Grav 2.0.0 before 2.2.2 Information Disclosure via Form config-*@ Directives

Description

Grav from 2.0.0 before 2.2.2 contains an information disclosure vulnerability that allows page editors to read protected configuration by adding config-*@ directives to page frontmatter forms. Attackers with page-edit permission can bypass the Twig sandbox config_denied_paths redaction to expose security.salt, plugin credentials, and Redis passwords to all visitors.

Affected products

How to fix

Upgrade to a fixed version: getgrav grav 2.2.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-112781 or the next vulnerability affects your stack