CVE-2026-76839 Grav before 2.0.16 Information Disclosure via offsetGet

High 8.7 Published Updated

Attackers with page-edit permissions can extract hashed passwords and 2FA secrets from User objects via Twig templates, enabling offline cracking and authentication bypass.

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

What is CVE-2026-76839?

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

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.

Weakness: CWE-522

Which versions are affected by CVE-2026-76839?

2 open source packages ship an affected version, including getgrav/grav.

PackageAffectedFixed in
getgrav/grav PackagistAll versions2.0.16
getgrav/grav PackagistAll versions2.0.16

How do I fix CVE-2026-76839?

Upgrade getgrav/grav to 2.0.16 or later.

Is CVE-2026-76839 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-76839 exists.

Sources

Also known as GHSA-3jhr-mxmx-38cx.

Is CVE-2026-76839 in your software?

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

Check your SBOMs for free