Live threats

All CVEs / parorrey

CVE-2026-97637parorrey JSON API Auth

Authentication Bypass via Cached Session Cookie Disclosure in JSON API Auth

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Oct 2, 2026
Updated
Oct 3, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The JSON API Auth plugin for WordPress is vulnerable to authentication bypass in all versions up to 3.1.2. The vulnerability allows unauthenticated attackers to retrieve a valid Administrator session cookie from the cached response of the `generate_auth_cookie/` endpoint and use it to fully authenticate as the site Administrator. Exploitation requires the parent PI-Media/json-api plugin to be active with the Auth controller enabled.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

No patch data

Disable the JSON API Auth plugin and the parent PI-Media/json-api plugin until a patched version is released. Review access logs for signs of exploitation.

Vendor advisory · www.wordfence.com ↗

  1. Apply the vendor's security update for JSON API Auth.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.