Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-72825— Grav before 1.0.13 API-key scope cap bypass via ReportsController

Quick assessment

Affected
getgrav grav
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Grav是Grav组织开源的一款基于文件的扁平化内容管理系统。 Grav 1.0.13之前版本存在授权问题漏洞,该漏洞源于API密钥作用域上限绕过,端点使用requirePermission('api.config.write')和isSuperAdmin()检查代替requireSuper(),且isSuperAdmin()直接读取access.api.super而不检查api_key_scopes,低权限API密钥可绕过限制,攻击者可向security.twig_sandbox白名单添加任意令牌,导致

CVSS 7.6 · High EPSS 0.35% · P26

Affected Version Matrix 2

VendorProduct Version RangeStatus
getgrav grav < 1.0.13 affected
1.0.13 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-72825

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Grav before 1.0.13 API-key scope cap bypass via ReportsController
Source: CVE Program / CVE List V5
Vulnerability Description
The getgrav/grav-plugin-api plugin before 1.0.13 contains an API-key scope cap bypass in the POST /reports/twig-content/allowlist endpoint (ReportsController). The endpoint enforces requirePermission('api.config.write') followed by a bare isSuperAdmin() check instead of requireSuper(). Because isSuperAdmin() reads access.api.super directly and never consults api_key_scopes, a least-privilege API key scoped to api.config.write minted on a super account passes the gate, allowing an attacker to append attacker-chosen tokens to the security.twig_sandbox allowlist (persisted to user/config/security.yaml). Widening the allowlist turns any subsequent Twig-in-content render into an SSTI/RCE sink.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制缺失
Source: CVE Program / CVE List V5
Vulnerability Title
Grav 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Grav是Grav组织开源的一款基于文件的扁平化内容管理系统。 Grav 1.0.13之前版本存在授权问题漏洞,该漏洞源于API密钥作用域上限绕过,端点使用requirePermission('api.config.write')和isSuperAdmin()检查代替requireSuper(),且isSuperAdmin()直接读取access.api.super而不检查api_key_scopes,低权限API密钥可绕过限制,攻击者可向security.twig_sandbox白名单添加任意令牌,导致
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
getgrav grav 0 ~ 1.0.13 -

II. Public POCs for CVE-2026-72825

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7067 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-72825

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-72825 (2)

Same Patch Batch · getgrav · 2026-08-14 · 15 CVEs total

CVE-2026-72824 8.8 HIGH Grav before 1.0.13 API Key Scope Bypass via PagesController
CVE-2026-72826 8.8 HIGH Grav before 1.0.13 Scope Bypass via createApiKey
CVE-2026-72819 8.8 HIGH Grav CMS before 2.0.13 Remote Code Execution via ZIP Upload
CVE-2026-72831 8.8 HIGH Grav through 2.0.11 Authentication Bypass via Flex Objects
CVE-2026-72822 8.8 HIGH Grav before 1.0.13 Authentication Bypass via disable2fa
CVE-2026-72830 8.8 HIGH Grav API Plugin before 1.0.13 RCE via ConfigController scope bypass
CVE-2026-72833 8.8 HIGH Grav 1.0.6 through 1.0.11 Privilege Escalation via Scoped API Keys
CVE-2026-72829 8.8 HIGH Grav before 1.0.13 API Key Scope Bypass via UsersController
CVE-2026-72827 8.8 HIGH Grav CMS before 2.0.13 Remote Code Execution via Twig
CVE-2026-72828 7.2 HIGH Grav before 1.0.13 API Key Scope Bypass via InvitationsController
CVE-2026-72821 5.4 MEDIUM Grav Form Plugin before 9.1.15 Stored XSS via Radio Toggle
CVE-2026-72832 5.4 MEDIUM Grav before 2.0.12 Stored XSS via quoted-attribute bypass
CVE-2026-72823 5.4 MEDIUM Grav before 1.0.13 API-key scope cap bypass via DemoController
CVE-2026-72820 4.9 MEDIUM Grav 2.0.11 Path Traversal via Backup Profile Configuration

IV. Related Vulnerabilities

V. Comments for CVE-2026-72825

No comments yet


Leave a comment