JWT Authentication for WP REST APIs <= 4.7.0 — Unauthenticated Authentication Method Downgrade via 'mo_rest_api_test_config' Parameter
CVE-2026-89027Published · Updated Action summary
Affected: ≤4.7.0Update to 4.8.0 or newer
All remediation steps- Severity
- Medium5.3
- CVSS
- 5.3CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:NPrivileges required- None
UI:NUser interaction- None
S:UScope- Unchanged
C:NConfidentiality- None
I:LIntegrity- Low
A:NAvailability- None
- Required access
- No account needed
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
JWT Authentication for WP REST APIs wp-rest-api-authentication
- Affected≤ 4.7.0
- Patched in4.8.0
Update to 4.8.0 or newer.
You are affected if you run ≤ 4.7.0. Version 4.8.0 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under JWT Authentication for WP REST APIs.
- No admin access? Run a passive check of your site. It reads public files only.
- No account is needed to exploit this. Treat any exposed site on an affected version as at risk.
What to do
- Update to version 4.8.0, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch JWT Authentication for WP REST APIs to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to Choriyev Qahramon.
The JWT Authentication for WP REST APIs plugin for WordPress is vulnerable to authentication method downgrade in all versions up to, and including, 4.7.0. This is due to the plugin honoring the 'mo_rest_api_test_config' request parameter in the mo_api_auth_is_valid_request() function without a capability check or nonce verification, which selects the authentication handler for the request. This makes it possible for unauthenticated attackers to force protected REST API requests to be validated with HTTP Basic Authentication against WordPress user credentials, regardless of the JWT, API key, or client-credentials method the administrator configured, and to guess credentials without the rate limiting applied to the other methods.
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
More in JWT Authentication for WP REST APIs
All 3| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium4.3 | Missing Authorization to Authenticated (Subscriber+) Limited Options Update ≤3.6.3Update to 3.6.4 | CVE-2025-39545 | |
| High8.8 | Cross-Site Request Forgery ≤2.4.0Update to 2.4.1 | CVE-2022-45073 |
- Medium4.3Missing Authorization to Authenticated (Subscriber+) Limited Options Update
≤3.6.3Update to 3.6.4
- High8.8Cross-Site Request Forgery
≤2.4.0Update to 2.4.1
Timeline
CVE published
Severity medium, CVSS 5.3
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. [object Object] Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- [object Object]. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
