sadrobot

← Back to the monthly list

CVE-2026-97637 parorrey · JSON API Auth

9.8 Critical

AI summary

The JSON API Auth WordPress plugin up to and including 3.1.2, due to caching in the required PI-Media/json-api parent plugin, lets unauthenticated attackers retrieve a valid Administrator logged_in session cookie and fully authenticate as admin. Requires the Auth controller enabled and an admin having called generate_auth_cookie within the prior 24 hours. Critical (9.8); urgent.

Official description

The JSON API Auth plugin for WordPress is vulnerable to Authentication Bypass via Cached Session Cookie Disclosure in all versions up to, and including, 3.1.2. The vulnerability exists because the required PI-Media/json-api parent plugin caches controller dispatch results in transients keyed solely by URI and query string, ignoring HTTP method and POST body; this causes the `generate_auth_cookie()` endpoint — which embeds a live WordPress `logged_in` cookie produced by `wp_generate_auth_cookie()` directly in its JSON response body — to serve that cached authenticated response to any subsequent unauthenticated GET request to the same URI. This makes it possible for unauthenticated attackers to retrieve a valid Administrator `logged_in` session cookie from the cached response and use it to fully authenticate as the site Administrator, including via the same plugin's `get_currentuserinfo` endpoint and any cookie-authenticated controller action. Exploitation requires the PI-Media/json-api parent plugin to be installed and active with the Auth controller enabled, and a legitimate Administrator must have POSTed to `/api/auth/generate_auth_cookie/` within the preceding 24-hour cache TTL; the nominal HTTPS enforcement gate present in `Auth.php` is trivially bypassed by supplying `insecure=cool` as a request parameter.

Published
2026-10-02 08:17 UTC
Modified
2026-10-03 16:16 UTC
CVSS
9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.93% (percentile 59)
ENISA EUVD
EUVD-2026-91259
CISA SSVC
Exploitation: none · Automatable: yes · Technical impact: total
CWE
CWE-287
Category
Web CMS

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high

References