# CVE-2024-5150: Login with phone number <= 1.7.26 - Authentication Bypass due to Missing Empty Value Check

- Severity: Critical 9.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2024-05-29T02:00:37.242Z
- Modified: 2026-06-17T08:15:17.767Z
- Weaknesses: CWE-288
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Wordfence

## Description

The Login with phone number plugin for WordPress is vulnerable to authentication bypass in versions up to, and including, 1.7.26. This is due to the 'activation_code' default value is empty, and the not empty check is missing in the 'lwp_ajax_register' function. This makes it possible for unauthenticated attackers to log in as any existing user on the site, such as an administrator, if they have access to the user email. The vulnerability is patched in version 1.7.26, but there is an issue in the patch that causes the entire function to not work, and this issue is fixed in version 1.7.27.

(As written by CVE List.)

## Affected

- glboy OTP Login With Phone Number, OTP Verification: up to 1.7.26

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/cf34eb9f-f6e9-4a7a-8459-c86f9fa3dad8?source=cve>
- <https://plugins.trac.wordpress.org/browser/login-with-phone-number/tags/1.7.25/login-with-phonenumber.php#L4183>
- <https://plugins.trac.wordpress.org/browser/login-with-phone-number/tags/1.7.25/login-with-phonenumber.php#L4220>
- <https://plugins.trac.wordpress.org/browser/login-with-phone-number/tags/1.7.25/login-with-phonenumber.php#L4241>
- <https://plugins.trac.wordpress.org/changeset/3090625/login-with-phone-number>
- <https://plugins.trac.wordpress.org/changeset/3090754/login-with-phone-number#file5>

## Sources

- CVE List: [CVE-2024-5150](https://www.cve.org/CVERecord?id=CVE-2024-5150), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-5150](https://nvd.nist.gov/vuln/detail/CVE-2024-5150), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5150 · Whole record: https://cve.day/CVE-2024-5150.json · Rebuilt by cve.day 2026-11-25T22:58:41.039Z
