6.5Medium

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

getgrav grav Published: (1 month ago)

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.

Weakness (CWE): CWE-200

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
getgrav grav 2.0.0 – < 2.2.2, fixed 2.2.2

References and patches