CVE-2026-58656: Grav API Plugin - Cross-Origin Admin Account Takeover via CORS Wildcard and JWT Query Parameter

Published Jul 8, 2026
·
Updated

Grav API plugin before v1.0.0-rc.16 accepts JWT tokens via the ?token= URL query parameter and responds with Access-Control-Allow-Origin: , allowing unauthenticated attackers to make fully authenticated cross-origin API requests from any malicious website. Attackers who obtain a leaked JWT token from access logs, proxy logs, browser history, or Referrer headers can create persistent backdoor super-admin accounts and exfiltrate sensitive configuration and user data.

Affected Software

1 affected component
Grav API plugin<1.0.0-rc.16

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Grav API plugin to a version that resolves this vulnerability.

    Fixed in v1.0.0-rc.16
  2. Configuration

    Ensure the API plugin no longer returns Access-Control-Allow-Origin: *; configure CORS to restrict allowed origins instead of allowing any origin.

    Grav API plugin CORS Access-Control-Allow-Origin = * (do not allow wildcard)
  3. Configuration

    Disable/stop accepting JWT tokens via the ?token= URL query parameter to prevent token leakage from access logs, proxy logs, browser history, or Referrer headers being used for admin account takeover.

    Grav API plugin JWT token URL query parameter = ?token=

Event History

Jul 8, 2026
CVE Published
via MITRE·01:49 PM
Data Sourced
via MITRE·01:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-58656?

The severity of CVE-2026-58656 is high with a score of 7.5.

2

How do I fix CVE-2026-58656?

To fix CVE-2026-58656, update the Grav API plugin to version 1.0.0-rc.16 or later.

3

What does CVE-2026-58656 exploit?

CVE-2026-58656 exploits the CORS configuration allowing unauthenticated attackers to take over admin accounts via JWT tokens.

4

What software is affected by CVE-2026-58656?

The affected software is the Grav API Plugin prior to version 1.0.0-rc.16.

5

What are the potential impacts of CVE-2026-58656?

The potential impacts include unauthorized cross-origin API requests that can compromise admin accounts.

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