Skip to main content

Grav API Plugin EUVDEUVD-2026-58637

| CVE-2026-72823 MEDIUM
Missing Authorization (CWE-862)
2026-08-14 VulnCheck GHSA-mfhq-ghcj-c36q
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain scoped API key on super admin account
  2. Delivery
    Target Grav instance with demo mode and writable resources
  3. Exploit
    Send POST /api/v1/demo/reset
  4. Execution
    requireSuper() exits early, skipping requirePermission()
  5. Persist
    Scope restrictions bypassed
  6. Impact
    Capture demo baseline or force demo reset

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Two simultaneous non-default conditions must be satisfied. First, the attacker must hold a valid API key that was minted specifically on a super admin account - this implies either legitimate access to such a key, prior compromise of credentials, or insider threat. Second, the target Grav installation must have demo mode actively configured with writable resources enabled, which is a non-default setup not present in standard production deployments. Exploitation is strictly scoped to the DemoController endpoints (baseline() and reset(), e.g., POST /api/v1/demo/reset) and cannot be leveraged to access user data, file system resources outside demo scope, or administrative configuration. Grav instances without demo mode configured are completely unaffected regardless of API key configuration.

Impact

The provided CVSS 4.0 score of 5.3 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N) reflects network-accessible exploitation with low-privilege authentication and limited impact. However, AT:N (no attack requirements) understates the real-world constraint: demo mode with writable resources must be enabled, which is a non-default production configuration. Adjusting for this, the practical exploitable population is substantially smaller than the raw score suggests. No EPSS data was provided, and the vulnerability is not listed in CISA KEV, confirming no confirmed active exploitation. The integrity and availability impacts are confined to demo-engine operations with no confidentiality exposure and no subsequent-system impact. This is not a high-priority remediation for standard production Grav deployments without demo mode; operators running demo instances with writable resources should treat it as elevated priority. The combination of required super-account API key issuance plus non-default demo mode makes opportunistic mass exploitation implausible.

Exploit ScenarioDerived

An attacker who has been issued a scoped API key tied to a super admin account - or who has obtained such a key through credential theft or insider access - sends POST /api/v1/demo/reset to a Grav instance running in demo mode with writable resources. The requireSuper() guard confirms super admin status and returns without calling requirePermission(), so the key's scope restrictions are never evaluated and the reset executes. The demo environment is forced into a reset or its baseline state is captured, potentially disrupting demo workflows or exposing baseline configuration data depending on what the demo mode holds.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 14, 2026

Scope cap bypass in the Grav API plugin before 1.0.13 allows a holder of a scoped API key issued on a super admin account to call unauthorized DemoController operations. The private requireSuper() method exits early after confirming isSuperAdmin(), never reaching requirePermission() where api_key_scopes enforcement occurs, making the scope restriction on that key inert for the baseline() and reset() endpoints. Impact is bounded to demo-engine control - forced demo resets or baseline captures - and is conditional on demo mode being actively configured with writable resources. No public exploit is identified at time of analysis.

RemediationAI

Upgrade the Grav API plugin to version 1.0.13 or later, which corrects the authorization logic in requireSuper() so that requirePermission() is invoked before returning, restoring api_key_scopes enforcement for all callers. The fix is documented in the vendor advisory at https://github.com/getgrav/grav/security/advisories/GHSA-vq9w-jwj5-wfjg and the VulnCheck advisory at https://www.vulncheck.com/advisories/grav-before-api-key-scope-cap-bypass-via-democontroller. If an immediate upgrade is not feasible, disabling demo mode entirely removes the vulnerable attack surface with no impact on non-demo functionality; alternatively, configuring demo resources as read-only eliminates the writable-resource precondition though it may limit intended demo behavior. As an additional compensating control, revoke or regenerate any API keys issued on super admin accounts and audit which keys have been issued against such accounts to limit the key population that could be abused.

Affected VersionsENISA

grav 0 <1.0.13

Affected Packages

euvd grav fix: 1.0.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in 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 CMS; the API plugin (getgrav/grav-plugin-api) exposes a REST interface secured by API keys with configurable scope restrictions via api_key_scopes. The root cause is CWE-862 (Missing Authorization): DemoController's requireSuper() performs an isSuperAdmin() check and returns on success before invoking requirePermission(), which is the sole enforcement point for key scope caps. The result is that the authorization logic short-circuits on the identity check without ever validating what the key is allowed to do. Affected product per CPE is cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*, covering all versions prior to the 1.0.13 fix. The specific vulnerable operations are baseline() and reset(), reachable via POST /api/v1/demo/reset and equivalent demo endpoints.

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 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.2 MEDIUM

Non-default demo mode with writable resources is a condition outside attacker control, warranting AC:H; PR:L reflects required super-account API key; no confidentiality impact applies.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/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
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 14, 2026 - 13:01 EUVD

DescriptionCVE.org

The Grav API plugin (getgrav/grav-plugin-api) before 1.0.13 contains an API-key scope cap bypass in DemoController. Its private requireSuper() method checks isSuperAdmin() and returns early before invoking requirePermission(), so the api_key_scopes cap (enforced only in requirePermission()) is skipped. As a result, any scoped API key minted on a super account can bypass its scope restrictions when calling the baseline() and reset() operations (e.g. POST /api/v1/demo/reset), allowing it to capture the demo baseline or force a demo reset. Impact is bounded to demo-engine control and is conditional on demo mode being configured with writable resources.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
niche flat-file CMS, limited enterprise production adoption
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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