Skip to main content

Grav API Plugin CVE-2026-72833

| EUVDEUVD-2026-58647 HIGH
Improper Privilege Management (CWE-269)
2026-08-14 VulnCheck GHSA-72v8-h9pq-46p7
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain super-admin-scoped API key
  2. Delivery
    Send crafted write request to privileged endpoint
  3. Exploit
    isSuperAdmin() early-return skips requirePermission()
  4. Execution
    Rewrite group ACL map via GroupsController
  5. Persist
    Elevate attacker account to super-admin
  6. Impact
    Full Grav instance takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
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

The Grav API plugin (getgrav/grav-plugin-api) must be installed and enabled at versions 1.0.6 through 1.0.11. The attacker must possess a valid API key that was issued by or associated with a super-admin account - the key's declared scope does not matter and can be entirely read-only (e.g., api.pages.read). No write permission on the key itself is required. The API must be network-reachable. Exploitation is bounded by the following limiting factors: (1) the API plugin must be explicitly installed - it is not bundled with base Grav; (2) a super-admin-associated API key must exist and be obtainable by the attacker, ruling out purely unauthenticated exploitation; (3) only the four specific endpoints (GroupsController, AccountsConfigController, PreferencesController, DashboardWidgetController) are affected - not all API operations are bypassed.

Impact

The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N) accurately reflects the risk profile: network-exploitable over standard HTTP, low complexity once a key is in hand, and requiring only low-privilege credentials (a scoped API key). The impact triple of VC:H/VI:H/VA:H is justified because super-admin write access enables full ACL rewriting, account takeover, configuration changes, and potential content destruction. The critical amplifier here is the delegated key scenario: organizations routinely issue read-only API keys to CI/CD pipelines, uptime monitors, or third-party integrations - these keys are often stored in environment variables or secrets managers with broader access than the Grav instance itself, increasing the likelihood of leakage. There is no KEV listing and no confirmed public exploit code, which moderates urgency somewhat, but the bug is mechanically trivial to exploit once the key-bypass logic is understood. EPSS data was not provided in the input; the straightforward exploitation path suggests real-world exploitation probability is non-negligible for sites that have issued delegated API keys.

Exploit ScenarioDerived

An attacker obtains a read-only API key (e.g., api.pages.read scope) originally issued to a CI pipeline - via a leaked .env file, a compromised secrets manager, or insider access. The attacker sends an authenticated POST request to the GroupsController write endpoint with a crafted payload that rewrites the ACL map for a target group, granting super-admin privileges to an attacker-controlled account. Because the endpoint's isSuperAdmin() check passes (the key was minted on a super-admin account) and requirePermission() is never called, the operation succeeds despite the key's declared read-only scope, yielding full administrative control of the Grav instance.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 14, 2026

Privilege escalation in getgrav/grav-plugin-api versions 1.0.6 through 1.0.11 allows any holder of a scoped, read-only API key to perform super-admin write operations - including rewriting group ACL maps to elevate arbitrary accounts to super-admin. The flaw exists because four privileged write endpoints (GroupsController, AccountsConfigController, PreferencesController, DashboardWidgetController) authorize via an isSuperAdmin() early-return that entirely skips requirePermission(), the only function that enforces scope caps on API keys. A leaked CI or monitoring key with a minimal scope such as api.pages.read is sufficient to achieve full administrative compromise. No public exploit code has been identified at time of analysis, and a patch is available in version 1.0.13.

RemediationAI

Upgrade the Grav API plugin to version 1.0.13 or later, which fixes the scope enforcement bypass by ensuring requirePermission() is invoked on all write endpoints regardless of the isSuperAdmin() check result. The vendor-released patch is confirmed at version 1.0.13 per the GitHub advisory GHSA-jqgq-v53x-x99g. If immediate upgrade is not possible, the most effective compensating control is to disable the API plugin entirely until patched - this eliminates the attack surface with no functional penalty for non-API workloads. As a second-best mitigation, audit and revoke all currently issued API keys, particularly those held by CI/monitoring systems, and do not reissue them until patched; this removes the credential vector required for exploitation. Network-level controls restricting access to the API endpoint path to trusted source IPs can also limit exposure but do not remediate the underlying flaw and may be impractical for publicly-facing deployments.

Affected VersionsENISA

grav patch: 0

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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; its optional API plugin exposes REST endpoints for managing pages, accounts, groups, and configuration. Affected versions are cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* from 1.0.6 to 1.0.11. The API key system supports scoping - a key can be issued with a restricted permission set (e.g., api.pages.read) to enforce least-privilege for CI pipelines or monitoring integrations. The root cause, classified as CWE-269 (Improper Privilege Management), is an authorization logic error: the four affected controllers contain an isSuperAdmin() guard that, when true, returns early and proceeds directly to the write operation - bypassing the requirePermission() call entirely. Because scope enforcement lives exclusively inside requirePermission(), a key associated with any super-admin account inherits the full bypass, regardless of what scope was declared at key minting time.

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:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.9 CRITICAL

Network-exploitable with low-privilege API key; scope change applies because ACL rewriting elevates arbitrary third-party accounts, extending impact beyond the vulnerable component.

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

DescriptionCVE.org

The Grav API plugin (getgrav/grav-plugin-api) versions >= 1.0.6 and <= 1.0.11 contain a privilege escalation vulnerability. A scoped API key minted on a super-admin account bypasses its declared scope cap on four isSuperAdmin()-gated write endpoints (in GroupsController, AccountsConfigController, PreferencesController, and DashboardWidgetController). These endpoints authorize via a super-admin early-return that never invokes requirePermission()-the sole enforcement point of the scope cap-so a 'read-only'-scoped key (e.g. api.pages.read) can perform super-only write operations, including rewriting group ACL maps to grant super-admin privileges to arbitrary accounts. A leaked or delegated read-only CI/monitoring key can therefore gain full super-admin write capability. Fixed in 1.0.13.

Executive ViewAI

Why It Matters

The Grav plugin API versions 1.0.6 through 1.0.11 contain a privilege escalation vulnerability that allows any read-only API key holder to escalate to super-admin and modify system configurations. Organizations using these versions face complete administrative compromise from the exposure of a single low-privilege API key, such as those used in CI/CD or monitoring systems.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to version 1.0.13.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
popular flat-file CMS with active but niche community
Social Media
1
Sightings
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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

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

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

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