Security Optimizer – The All-In-One Protection Plugin <= 1.7.0 - Forced Password Reset and Two-Factor Authentication Bypass via Insufficient Session Expiration
- ID
- WPSEC-2026-3959
- Plugin
- Security Optimizer – The All-In-One Protection Plugin (sg-security)
- Affected
- all versions before 1.7.1
- Remediation
- Update to 1.7.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weakness
- CWE-613
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-26
- Attack surface
- Security Optimizer – The All-In-One Protection Plugin on WPSec AttackSurface
- Fix released
- Published
Description
The Security Optimizer plugin for WordPress is vulnerable to Insufficient Session Expiration in the forced password reset feature in all versions up to, and including, 1.7.0, due to the plugin only clearing the auth cookie, without destroying the server-side session token created by the login, when a user flagged for a forced password reset logs in. The reset check runs on wp_login before the two-factor authentication step, and the valid auth cookie values are still sent in the login response. This makes it possible for unauthenticated attackers who know the old password of an account flagged for a forced password reset to reuse the issued auth cookie and access the account without changing the password and without completing two-factor authentication, if it is enabled.
References
- https://wpsec.com/vuln/WPSEC-2026-3959/
- https://plugins.svn.wordpress.org/sg-security/tags/1.7.1/
- https://wordpress.org/plugins/sg-security/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS