CVE-2026-76839

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductGetgrav/grav
PublishedAug 25, 2026
First seenAug 25, 2026
Weakness typeCWE-522CWE-522

How to fix

Update
  • getgrav/grav2.0.16 or later

Affected products

ProductAffected versionsFixed in
getgrav/gravPackagistv < 2.0.162.0.16

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.