{"id":"CVE-2026-76839","title":"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","summary":"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 o…","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-522"],"vendor":"getgrav","product":"grav","affected":["grav < 2.0.16"],"patched":["getgrav/grav 2.0.16"],"published":"2026-08-25","updated":"2026-10-12","sourceUpdated":"2026-10-12T15:10:00.207","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-76839","references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-3jhr-mxmx-38cx","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/grav-before-information-disclosure-via-offsetget","label":"disclosure@vulncheck.com"},{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-3jhr-mxmx-38cx","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76839"},{"url":"https://github.com/advisories/GHSA-3jhr-mxmx-38cx"}],"tags":["nvd","cve.org","exploit-available","ghsa","composer"],"epss":0.00342,"epssPercentile":0.27534,"aliases":["GHSA-3jhr-mxmx-38cx"],"ecosystem":"composer","exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-25T15:44:59.569951Z"},"scores":{"nvd":6.5,"ghsa":7.7},"ingestedAt":"2026-09-17T20:28:02.776Z","slug":"CVE-2026-76839","body":"## Overview\n\nGrav 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-76839)\n\nAffected packages:\n\n- `getgrav/grav <= 2.0.15`\n\nPatched in:\n\n- `getgrav/grav 2.0.16`\n\nSource: https://github.com/advisories/GHSA-3jhr-mxmx-38cx","depth":"twilight","depthScore":48,"depthScoreParts":{"impact":35.8,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":218166,"id":"CVE-2026-76839","ts":1791478457468,"field":"exploit_available","old":"false","new":"true"},{"seq":218165,"id":"CVE-2026-76839","ts":1791478457468,"field":"cvss","old":"7.7","new":"6.5"},{"seq":218164,"id":"CVE-2026-76839","ts":1791478457468,"field":"severity","old":"high","new":"medium"}]}