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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-08T13:49:11.408Z
- Modified: 2026-11-20T15:17:55.110Z
- Weaknesses: CWE-598
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- getgrav grav-plugin-api: before 1.0.0-rc.16

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-hqm9-5xxw-4qxp> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/grav-api-plugin-cross-origin-admin-account-takeover-via-cors-wildcard-and-jwt-query-parameter> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-58656](https://www.cve.org/CVERecord?id=CVE-2026-58656), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2026-58656](https://nvd.nist.gov/vuln/detail/CVE-2026-58656), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-58656 · Whole record: https://cve.day/CVE-2026-58656.json · Rebuilt by cve.day 2026-11-25T22:59:27.372Z
