{
  "id": "CVE-2025-15039",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-15039",
  "published_at": "2026-08-06T07:33:23.097Z",
  "title": "Account Takeover via Conditional Authentication Script Logic in Multiple WSO2 Products",
  "vendor": "WSO2",
  "product": "WSO2 Identity Server",
  "cvss": {
    "score": 9.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The Conditional Authentication (Adaptive Authentication) script does not correctly enforce the completion of all required authentication steps when a specific multi-step pattern involving certain authenticators is configured. This allows an attacker to bypass intermediate authentication challenges by exploiting how the script handles callbacks and re-execution of authentication steps.\n\nSuccessful exploitation allows a malicious actor to gain unauthorized access to a targeted user account. This vulnerability can only be exploited when all of the following conditions are met: the application login flow contains a specific secondary authenticator, the Conditional Authentication script is configured with particular event callbacks and re-executes an authentication step, the targeted user has one of the impacted authenticators enrolled, and the attacker successfully completes any preceding authentication steps.",
  "cwe": "CWE-693",
  "cpes": [
    "cpe:2.3:a:wso2:api_control_plane:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:identity_server:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:identity_server_as_key_manager:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:open_banking_am:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:open_banking_iam:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:open_banking_km:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:traffic_manager:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:universal_gateway:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "WSO2",
        "product": "WSO2 Identity Server",
        "ranges": [
          "\u003e= 5.7.0, \u003c 5.7.0.130",
          "\u003e= 5.8.0, \u003c 5.8.0.113",
          "\u003e= 5.9.0, \u003c 5.9.0.173",
          "\u003e= 5.10.0, \u003c 5.10.0.385",
          "\u003e= 5.11.0, \u003c 5.11.0.432",
          "\u003e= 6.0.0, \u003c 6.0.0.259",
          "\u003e= 6.1.0, \u003c 6.1.0.260",
          "\u003e= 7.0.0, \u003c 7.0.0.138",
          "\u003e= 7.1.0, \u003c 7.1.0.45",
          "\u003e= 7.1.0, \u003c 7.1.0.49",
          "\u003e= 7.2.0, \u003c 7.2.0.7"
        ],
        "fixed_in": [
          "5.7.0.130",
          "5.8.0.113",
          "5.9.0.173",
          "5.10.0.385",
          "5.11.0.432",
          "6.0.0.259",
          "6.1.0.260",
          "7.0.0.138",
          "7.1.0.45",
          "7.1.0.49",
          "7.2.0.7"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 API Manager",
        "ranges": [
          "\u003e= 2.6.0, \u003c 2.6.0.150",
          "\u003e= 3.0.0, \u003c 3.0.0.180",
          "\u003e= 3.1.0, \u003c 3.1.0.356",
          "\u003e= 3.2.0, \u003c 3.2.0.460",
          "\u003e= 3.2.1, \u003c 3.2.1.79",
          "\u003e= 4.0.0, \u003c 4.0.0.381",
          "\u003e= 4.1.0, \u003c 4.1.0.244",
          "\u003e= 4.2.0, \u003c 4.2.0.184",
          "\u003e= 4.3.0, \u003c 4.3.0.95",
          "\u003e= 4.4.0, \u003c 4.4.0.59",
          "\u003e= 4.5.0, \u003c 4.5.0.44",
          "\u003e= 4.6.0, \u003c 4.6.0.8"
        ],
        "fixed_in": [
          "2.6.0.150",
          "3.0.0.180",
          "3.1.0.356",
          "3.2.0.460",
          "3.2.1.79",
          "4.0.0.381",
          "4.1.0.244",
          "4.2.0.184",
          "4.3.0.95",
          "4.4.0.59",
          "4.5.0.44",
          "4.6.0.8"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 Open Banking AM",
        "ranges": [
          "\u003e= 1.4.0, \u003c 1.4.0.143",
          "\u003e= 1.5.0, \u003c 1.5.0.144",
          "\u003e= 2.0.0, \u003c 2.0.0.405"
        ],
        "fixed_in": [
          "1.4.0.143",
          "1.5.0.144",
          "2.0.0.405"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 Open Banking IAM",
        "ranges": [
          "\u003e= 2.0.0, \u003c 2.0.0.425"
        ],
        "fixed_in": [
          "2.0.0.425"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 Traffic Manager",
        "ranges": [
          "\u003e= 4.5.0, \u003c 4.5.0.43",
          "\u003e= 4.6.0, \u003c 4.6.0.8"
        ],
        "fixed_in": [
          "4.5.0.43",
          "4.6.0.8"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 Universal Gateway",
        "ranges": [
          "\u003e= 4.5.0, \u003c 4.5.0.43",
          "\u003e= 4.5.0, \u003c 4.5.0.44",
          "\u003e= 4.6.0, \u003c 4.6.0.8"
        ],
        "fixed_in": [
          "4.5.0.43",
          "4.5.0.44",
          "4.6.0.8"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 API Control Plane",
        "ranges": [
          "\u003e= 4.5.0, \u003c 4.5.0.45",
          "\u003e= 4.6.0, \u003c 4.6.0.9"
        ],
        "fixed_in": [
          "4.5.0.45",
          "4.6.0.9"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 Identity Server as Key Manager",
        "ranges": [
          "\u003e= 5.7.0, \u003c 5.7.0.129",
          "\u003e= 5.9.0, \u003c 5.9.0.179",
          "\u003e= 5.10.0, \u003c 5.10.0.376"
        ],
        "fixed_in": [
          "5.7.0.129",
          "5.9.0.179",
          "5.10.0.376"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 Open Banking KM",
        "ranges": [
          "\u003e= 1.4.0, \u003c 1.4.0.137",
          "\u003e= 1.5.0, \u003c 1.5.0.127"
        ],
        "fixed_in": [
          "1.4.0.137",
          "1.5.0.127"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 Carbon Identity Application Authentication Framework",
        "ranges": [
          "\u003e= 5.12.153, \u003c 5.12.153.66",
          "\u003e= 5.12.387, \u003c 5.12.387.48",
          "\u003e= 5.14.97, \u003c 5.14.97.94",
          "\u003e= 5.17.5, \u003c 5.17.5.337",
          "\u003e= 5.17.118, \u003c 5.17.118.24",
          "\u003e= 5.18.187, \u003c 5.18.187.334",
          "\u003e= 5.18.248, \u003c 5.18.248.34",
          "\u003e= 5.23.8, \u003c 5.23.8.221",
          "\u003e= 5.24.8, \u003c 5.24.8.29",
          "\u003e= 5.25.92, \u003c 5.25.92.177",
          "\u003e= 5.25.705, \u003c 5.25.705.23",
          "\u003e= 5.25.713, \u003c 5.25.713.12",
          "\u003e= 5.25.724, \u003c 5.25.724.8",
          "\u003e= 5.25.736, \u003c 5.25.736.3",
          "\u003e= 7.0.78, \u003c 7.0.78.171",
          "\u003e= 7.8.23, \u003c 7.8.23.95",
          "\u003e= 7.8.586, \u003c 7.8.586.21"
        ],
        "fixed_in": [
          "5.12.153.66",
          "5.12.387.48",
          "5.14.97.94",
          "5.17.5.337",
          "5.17.118.24",
          "5.18.187.334",
          "5.18.248.34",
          "5.23.8.221",
          "5.24.8.29",
          "5.25.92.177",
          "5.25.705.23",
          "5.25.713.12",
          "5.25.724.8",
          "5.25.736.3",
          "7.0.78.171",
          "7.8.23.95",
          "7.8.586.21",
          "5.25.738",
          "7.8.646"
        ]
      }
    ],
    "solutions": [
      "Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4973/#solution"
    ],
    "upgrade": [
      "Upgrade WSO2 Identity Server to 5.7.0.130 or 5.8.0.113 or 5.9.0.173 or 5.10.0.385 or 5.11.0.432 or 6.0.0.259 or 6.1.0.260 or 7.0.0.138 or 7.1.0.45 or 7.1.0.49 or 7.2.0.7 or later.",
      "Upgrade WSO2 API Manager to 2.6.0.150 or 3.0.0.180 or 3.1.0.356 or 3.2.0.460 or 3.2.1.79 or 4.0.0.381 or 4.1.0.244 or 4.2.0.184 or 4.3.0.95 or 4.4.0.59 or 4.5.0.44 or 4.6.0.8 or later.",
      "Upgrade WSO2 Open Banking AM to 1.4.0.143 or 1.5.0.144 or 2.0.0.405 or later.",
      "Upgrade WSO2 Open Banking IAM to 2.0.0.425 or later.",
      "Upgrade WSO2 Traffic Manager to 4.5.0.43 or 4.6.0.8 or later.",
      "Upgrade WSO2 Universal Gateway to 4.5.0.43 or 4.5.0.44 or 4.6.0.8 or later.",
      "Upgrade WSO2 API Control Plane to 4.5.0.45 or 4.6.0.9 or later.",
      "Upgrade WSO2 Identity Server as Key Manager to 5.7.0.129 or 5.9.0.179 or 5.10.0.376 or later.",
      "Upgrade WSO2 Open Banking KM to 1.4.0.137 or 1.5.0.127 or later.",
      "Upgrade WSO2 Carbon Identity Application Authentication Framework to 5.12.153.66 or 5.12.387.48 or 5.14.97.94 or 5.17.5.337 or 5.17.118.24 or 5.18.187.334 or 5.18.248.34 or 5.23.8.221 or 5.24.8.29 or 5.25.92.177 or 5.25.705.23 or 5.25.713.12 or 5.25.724.8 or 5.25.736.3 or 7.0.78.171 or 7.8.23.95 or 7.8.586.21 or 5.25.738 or 7.8.646 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4973/"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
