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

Published Oct 19, 2026
·
Updated

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 configdeniedpaths redaction to expose security.salt, plugin credentials, and Redis passwords to all visitors.

Affected Software

1 affected component
Grav Grav>=2.0.0<2.2.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Grav to a version that resolves this vulnerability.

    Fixed in 2.2.2

Event History

Oct 19, 2026
CVE Published
via MITRE·07:10 PM
Data Sourced
via MITRE·07:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness
Event
via NVD·09:49 PM

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs permission to edit pages. They can add config-*@ directives to page frontmatter forms, after which the exposed configuration can be disclosed to site visitors.

2

What sensitive data could be exposed?

The issue can expose configuration values that are meant to be redacted by Twig sandbox config_denied_paths, including security.salt, plugin credentials, and Redis passwords.

3

Which versions are affected?

Grav versions from 2.0.0 before 2.2.2 are affected. Version 2.2.2 is not included in the affected range.

4

Does exploitation require visitor interaction or elevated administrative access?

No visitor interaction is required. The stated prerequisite is page-edit permission; the vulnerability does not require the attacker to have higher administrative privileges.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203