---
id: GHSA-8vp7-8q4w-vv7m
title: >-
  Duplicate Advisory: Grav: UserInterface offsetget/offsetexists allow-listed in
  Twig sandbox let editor-authored content leak hashed_password and 2FA secrets
  via offsetGet()
summary: >-
  Duplicate Advisory: Grav: UserInterface offsetget/offsetexists allow-listed in
  Twig sandbox let editor-authored content leak hashed_password and 2FA secrets
  via offsetGet()
severity: high
cvss: 6.5
cwe:
  - CWE-522
vendor: getgrav
product: getgrav/grav
ecosystem: composer
affected:
  - getgrav/grav < 2.0.16
published: '2026-08-25'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T20:27:14Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-8vp7-8q4w-vv7m'
references:
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-3jhr-mxmx-38cx'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-76839'
  - url: >-
      https://www.vulncheck.com/advisories/grav-before-information-disclosure-via-offsetget
  - url: 'https://github.com/advisories/GHSA-8vp7-8q4w-vv7m'
tags:
  - ghsa
  - composer
ingestedAt: '2026-09-17T20:28:02.776Z'
---

## Overview

### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-3jhr-mxmx-38cx. This link is maintained to preserve external references.

### Original 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

- `getgrav/grav < 2.0.16`

## Remediation

Refer to the advisory for the patched release.
