Skip to main content

Grav CMS CVE-2026-76839

| EUVDEUVD-2026-65219 HIGH
Insufficiently Protected Credentials (CWE-522)
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with page-edit account
  2. Delivery
    Edit or create Grav page with malicious Twig template
  3. Exploit
    Call offsetGet('password') on target User object
  4. Execution
    Capture hashed credential and 2FA secret from rendered output
  5. Persist
    Crack password hash offline
  6. Impact
    Log in as victim user bypassing 2FA

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V6 - Authentication Credential protection in transit/storage
Exploitation Conditions

Exploitation requires an authenticated session with page-edit permissions in the Grav CMS - this is not a default anonymous or low-privilege role but a content-authoring role that must be explicitly granted by an administrator. The vulnerable code path is triggered only when a Twig template containing offsetGet() or offsetExists() calls targeting User object fields is rendered. Sites where all users with page-edit access are fully trusted are not at meaningful risk. The limiting factors are: authenticated access required, page-edit role specifically required, and the attacker must be able to create or modify page content that is subsequently rendered. Unauthenticated exploitation is not possible based on the vulnerability description.

Impact

The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, score 8.7) conflicts directly with the CVE description, which states exploitation requires page-edit permissions - a non-default, authenticated role. PR:N is incorrect for this vulnerability; the real privilege requirement is at minimum PR:L and likely closer to PR:H depending on how Grav site-level roles are provisioned. This discrepancy significantly inflates the apparent severity: an accurate vector would reflect authenticated, low-complexity exploitation rather than unauthenticated access. Adjusting for the actual authentication prerequisite, the effective risk is moderate for sites where untrusted users hold page-edit roles. No EPSS score was provided and no KEV listing exists, meaning broad automated exploitation has not been observed. The confidentiality impact is genuine and high - bcrypt hashes and TOTP secrets can enable offline cracking and 2FA bypass - but the attacker must already have a meaningful foothold in the CMS.

Exploit ScenarioDerived

An attacker with a legitimate or compromised Grav account holding page-edit permissions creates or edits a page containing a malicious Twig template that calls offsetGet('password') or offsetGet('twofa_secret') on the current or target User object. The sandboxed template renders the sensitive field values, which the attacker captures via the page output. The attacker then runs the hashed password through an offline cracking tool and, upon recovery, logs in as the victim, potentially including administrative accounts.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 25, 2026

Credential extraction in Grav CMS before 2.0.16 allows authenticated users with page-edit permissions to read hashed passwords and two-factor authentication secrets from User objects via insufficiently filtered Twig template sandbox methods. The allow-listed offsetGet() and offsetExists() methods on User objects expose sensitive fields that should be restricted within the sandboxed template context, enabling offline password cracking and subsequent authentication bypass. No public exploit has been identified at time of analysis, but the exploit technique is straightforward for any attacker holding page-edit rights.

RemediationAI

Upgrade Grav to version 2.0.16 or later, which applies field-level filtering to the allow-listed offsetGet() and offsetExists() methods in the Twig sandbox, preventing access to sensitive User fields. The fix is documented in the GitHub security advisory at https://github.com/getgrav/grav/security/advisories/GHSA-3jhr-mxmx-38cx. If immediate upgrade is not possible, restrict or revoke page-edit permissions from all untrusted or semi-trusted user accounts as a compensating control; this eliminates the attacker's ability to inject Twig templates, though it may limit legitimate contributor workflows. There is no known workaround that preserves page-edit functionality while blocking offsetGet() abuse short of patching.

Affected VersionsENISA

grav 0 <2.0.16

Affected Packages

composer getgrav/grav fix: 2.0.16
euvd grav fix: 2.0.16

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Grav is a flat-file PHP CMS that uses Twig for templating with an explicit sandbox allowing only certain object methods. The sandbox allow-list includes offsetGet() and offsetExists() on Grav User objects - standard ArrayAccess interface methods - but does not filter which fields callers may request via those methods. CWE-522 (Insufficiently Protected Credentials) is the root cause: sensitive User fields (bcrypt-hashed passwords, TOTP 2FA secrets) are stored in the User object and are reachable through the same interface as innocuous fields like display name. Affected products are identified by CPE cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*, covering all Grav versions prior to 2.0.16.

Know when Grav gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Requires authenticated page-edit access (PR:L); network-reachable CMS endpoint (AV:N); no integrity or availability impact; full confidentiality loss via credential extraction.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 25, 2026 - 03:16 EUVD
CVE Published
Aug 25, 2026 - 01:30 cve.org
HIGH 8.7

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Grav CMS versions before 2.0.16 allow page editors to extract and crack user passwords, enabling direct account takeover and bypass of authentication controls. Organizations using Grav for content management face credential compromise risk, particularly where page-editing roles are broadly assigned or insufficiently monitored. This threatens both regular user accounts and administrative access across affected systems.

Business Impact: High
Compensating Controls

Restrict page-editing permissions to essential personnel with documented business justification; enforce multi-factor authentication for all page-editor accounts; implement comprehensive audit logging of page modifications, user access, and authentication events; conduct quarterly role recertification to validate ongoing access requirements; establish mandatory administrative approval workflows for all content changes before publication; deploy real-time monitoring alerts for page modification activities and suspicious authentication patterns.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche flat-file PHP CMS, limited enterprise footprint
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Grav

View all
CVE-2025-66294 HIGH POC
8.7 Dec 01

Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol

CVE-2025-66301 HIGH POC
8.6 Dec 01

Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their

CVE-2025-50286 HIGH POC
8.1 Aug 06

A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug

CVE-2024-34082 CRITICAL POC
9.9 May 15

Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a

CVE-2021-47812 CRITICAL POC
9.8 Jan 16

GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv

CVE-2026-65008 CRITICAL POC
9.3 Jul 21

Remote code execution in Grav CMS 2.0.4 (fixed in 2.0.7) lets an authenticated user holding the admin.pages or api.pages

CVE-2026-75827 CRITICAL POC
9.3 Aug 18

Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri

CVE-2026-75837 CRITICAL POC
9.3 Aug 18

Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm

CVE-2026-75828 CRITICAL POC
9.3 Aug 18

Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past

CVE-2025-66844 CRITICAL POC
9.1 Dec 15

Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make

CVE-2025-66299 HIGH POC
8.8 Dec 01

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (S

CVE-2026-72819 HIGH POC
8.7 Aug 14

Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy