Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-76839

Grav before 2.0.16 Information Disclosure via offsetGet

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

getgrav grav

Default version status: unaffected

  • 0 to < 2.0.16affected
  • 2.0.16unaffected
pkg:composer/getgrav/grav

References