CVE-2026-76839
Received Received - Intake

Grav CMS User Field Exposure via Twig Sandbox Bypass

Vulnerability report for CVE-2026-76839, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-25

Last updated on: 2026-08-25

Assigner: VulnCheck

Description

Grav before 2.0.16 allows sandboxed Twig templates to access sensitive User fields through allow-listed offsetGet() and offsetexists() methods that lack field filtering. Attackers with page-edit permissions can call offsetGet() on User objects to extract hashed passwords and 2FA secrets, enabling offline password cracking and authentication bypass.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-25
Last Modified
2026-08-25
Generated
2026-08-25
AI Q&A
2026-08-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
grav grav to 2.0.16 (exc)
getgrav grav to 2.0.16 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-522 The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-76839 is an information disclosure vulnerability in Grav CMS versions before 2.0.16. It allows sandboxed Twig templates to access sensitive User fields like hashed passwords and 2FA secrets through allow-listed methods offsetGet() and offsetexists(). Attackers with page-edit permissions can exploit this to extract credentials and bypass authentication.

Detection Guidance

To detect this vulnerability, check if your Grav CMS version is below 2.0.16. Use commands like 'bin/grav version' in the Grav root directory to verify the installed version. Inspect Twig templates for unauthorized use of offsetGet() or offsetExists() methods on User objects.

Impact Analysis

This vulnerability allows attackers with page-edit permissions to extract hashed passwords and 2FA secrets from User objects. This could lead to offline password cracking attempts and full authentication bypass if the hashed passwords are cracked or 2FA secrets are exposed.

Compliance Impact

This vulnerability could lead to exposure of sensitive user data such as hashed passwords and 2FA secrets, which may violate compliance requirements under GDPR (data protection) and HIPAA (protected health information). Unauthorized access to such data risks breaches of confidentiality and integrity standards required by these regulations.

Mitigation Strategies

Immediately upgrade Grav CMS to version 2.0.16 or later. Review and restrict page-edit permissions to trusted users only. Audit Twig templates for suspicious use of offsetGet() or offsetExists() methods on User objects and remove unauthorized access patterns.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-76839. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart