Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-97637— JSON API Auth <= 3.1.2 - Unauthenticated Authentication Bypass via Cached 'generate_auth_cookie' Response

Quick assessment

Affected
parorrey JSON API Auth
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

WordPress 的 JSON API Auth 插件存在通过缓存会话 Cookie 泄露导致的身份验证绕过漏洞,影响版本为 3.1.2 及以下所有版本。该漏洞的根源在于其依赖的 PI-Media/json-api 父插件在将控制器调度结果缓存到 transient 数据时,仅使用 URI 和查询字符串作为键,而忽略了 HTTP 方法和 POST 请求体。这使得 端点(该端点会将由 生成的、包含当前 WordPress Cookie 的实时认证会话信息直接嵌入 JSON 响应体中)会将此缓存后的认证响应,错误地返

CVSS 9.8 · Critical EPSS 0.64% · P49

Affected Version Matrix 1

VendorProduct Version RangeStatus
parorrey JSON API Auth ≤ 3.1.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-97637

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
JSON API Auth <= 3.1.2 - Unauthenticated Authentication Bypass via Cached 'generate_auth_cookie' Response
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
认证机制不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
parorrey JSON API Auth 0 ~ 3.1.2 -

II. Public POCs for CVE-2026-97637

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-97637

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-97637 (3)

Other References for CVE-2026-97637 (4)

IV. Related Vulnerabilities

V. Comments for CVE-2026-97637

No comments yet


Leave a comment