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.
Published: 2026-10-19
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Sensitive configuration disclosure and credential exposure
Action: Patch Now
AI Analysis

Impact

Grav versions from 2.0.0 up to but not including 2.2.2 have a flaw that allows page editors to add special config-*@ directives to page frontmatter forms. This bypasses the Twig sandbox’s config_denied_paths setting and exposes hidden values such as security.salt, plugin credentials and Redis passwords to anyone who can view the page. The vulnerability is identified as an information disclosure (CWE-200) and can compromise the confidentiality of critical configuration data.

Affected Systems

Grav, developed by getgrav, is affected. Versions from 2.0.0 up to but not including 2.2.2 have the issue. Versions 2.2.2 and later include the fix.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. The EPSS score is not available, suggesting insufficient data on exploit likelihood, but the lack of KEV listing implies no confirmed exploitation yet. Attackers must have page-edit permissions and exploit the form configuration feature to read the hidden values. Once the config-*@ directives are added, the sandbox bypass reveals sensitive data to all visitors, creating a broad impact on confidentiality.

Generated by OpenCVE AI on October 19, 2026 at 21:12 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Grav to version 2.2.2 or later to apply the official fix.
  • Immediately revoke any credentials that may have been exposed, including Redis passwords and plugin secrets, and generate new ones.
  • Restrict page‑edit permissions to only trusted users and audit frontmatter content to ensure no config-*@ directives are present.

Generated by OpenCVE AI on October 19, 2026 at 21:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 19 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
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.
Title Grav 2.0.0 before 2.2.2 Information Disclosure via Form config-*@ Directives
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-200
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T15:07:46.991Z

Reserved: 2026-10-19T18:11:37.874Z

Link: CVE-2026-112781

cve-icon Vulnrichment

Updated: 2026-10-20T15:07:42.531Z

cve-icon NVD

Status : Deferred

Published: 2026-10-19T20:17:55.633

Modified: 2026-10-20T16:17:03.247

Link: CVE-2026-112781

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T21:15:04Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor