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

High 8.7 Published Updated

Page editors can expose sensitive configuration data like passwords and salts to all visitors by manipulating form directives.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-112781?

CVE-2026-112781 is a high-severity vulnerability in getgrav grav, published on 19 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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-200

Which versions are affected by CVE-2026-112781?

How do I fix CVE-2026-112781?

No fix has been published for CVE-2026-112781 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-112781 being exploited?

There is no known exploitation of CVE-2026-112781 in the wild and no public exploit code.

Sources

Also known as GHSA-8wwq-x3w5-fxmw, GHSA-gffw-347v-3rhv.

Is CVE-2026-112781 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free