CVE-2026-72824: Grav before 1.0.13 API Key Scope Bypass via PagesController

Published Aug 14, 2026
·
Updated

The Grav API plugin (getgrav/grav-plugin-api) before 1.0.13 contains an API key scope-cap bypass in PagesController::guardTwigContent(). The Twig-toggle check uses a bare isSuperAdmin() gate that does not consult apikeyscopes, so a least-privilege API key scoped only to api.pages.write and minted on a super account can enable process.twig on a page save even though admin.pagestwig is intentionally outside the api.pages scope. When security.twigcontent.processenabled=true and editorenabled=false, this allows Twig-in-content to execute server-side, resulting in server-side template injection (SSTI) and remote code execution.

Affected Software

1 affected component
Grav Grav API plugin (getgrav/grav-plugin-api)<1.0.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade getgrav/grav-plugin-api to a version that resolves this vulnerability.

    Fixed in 1.0.13
  2. Configuration

    Set security.twig_content.process_enabled=false to prevent Twig-in-content from executing server-side (mitigates SSTI/RCE).

    Grav API plugin / Twig content processing security.twig_content.process_enabled = false

Event History

Aug 14, 2026
CVE Published
via MITRE·11:35 AM
Data Sourced
via MITRE·11:35 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-72824?

The severity of CVE-2026-72824 is critical with a score of 9.8.

2

How do I fix CVE-2026-72824?

To fix CVE-2026-72824, upgrade the Grav API plugin to version 1.0.13 or later.

3

What impact does CVE-2026-72824 have?

CVE-2026-72824 allows an attacker to bypass API key scopes, potentially granting unauthorized access to sensitive operations.

4

Who is affected by CVE-2026-72824?

Users of the Grav API plugin versions before 1.0.13 are affected by CVE-2026-72824.

5

When was CVE-2026-72824 published?

CVE-2026-72824 was published on August 14, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203