{
 "id": "WPSEC-2026-3959",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3959/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3959/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3959/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-3959.json",
 "title": "Security Optimizer – The All-In-One Protection Plugin <= 1.7.0 - Forced Password Reset and Two-Factor Authentication Bypass via Insufficient Session Expiration",
 "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.",
 "plugin": {
  "slug": "sg-security",
  "name": "Security Optimizer – The All-In-One Protection Plugin",
  "full_name": "Security Optimizer – The All-In-One Protection Plugin",
  "wordpress_org": "https://wordpress.org/plugins/sg-security/",
  "advisories_url": "https://wpsec.com/vuln/plugin/sg-security/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/sg-security"
 },
 "type": "AUTHBYPASS",
 "cwe": [
  "CWE-613"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.4,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "1.7.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.7.1"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.7.1",
 "remediation": "Update to 1.7.1 or later.",
 "fix_released": "2026-11-25T08:20:25+00:00",
 "published": "2026-11-26T08:50:01+00:00",
 "updated": "2026-11-25T10:18:26.185648+00:00",
 "also_published_as": null,
 "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/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/sg-security",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-26"
 }
}