Vulnerability · Published Aug 25, 2026 · Assigned by VulnCheck
CVE-2026-76839Grav before 2.0.16 Information Disclosure via offsetGet
Medium 6.5
In plain English
A medium-severity security flaw in grav from getgrav. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | getgrav/grav | 2.0.16 | GHSA-3jhr-mxmx-38cx |
Affected products (as reported)
Weakness: CWE-522 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- GitHub Security Advisory (GHSA-3jhr-mxmx-38cx) vendor-advisory
- VulnCheck Advisory: Grav before 2.0.16 Information Disclosure via offsetGet third-party-advisory