Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2037+ Articles
153+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-15981: WordPress SAML SSO Authentication Bypass (CVSS 9.8)
CVE-2026-15981: WordPress SAML SSO Authentication Bypass (CVSS 9.8)

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-15981

CVE-2026-15981: WordPress SAML SSO Authentication Bypass (CVSS 9.8)

A critical authentication bypass in the WordPress SAML Single Sign On plugin allows unauthenticated attackers to log in as any user, including administrators, by exploiting a loose boolean check on PHP's openssl_verify() return value.

Dylan H.

Security Team

July 24, 2026
4 min read

Affected Products

  • SAML Single Sign On – SSO Login Plugin ≤ 5.4.4
  • WordPress sites using federated SAML authentication

Executive Summary

The SAML Single Sign On – SSO Login plugin for WordPress (versions up to and including 5.4.4) contains a critical authentication bypass vulnerability assigned CVE-2026-15981 with a CVSS score of 9.8 (Critical). An unauthenticated attacker can craft a malicious SAMLResponse containing a forged or malformed signature that causes the plugin to grant a fully authenticated WordPress session for any existing account — including site administrators — without knowing any credentials.

The root cause is a loose boolean coercion applied to the tri-state integer returned by PHP's openssl_verify() function inside mo_saml_validate_signature().


Vulnerability Details

Root Cause

PHP's openssl_verify() returns three possible values:

Return ValueMeaning
1Signature is valid
0Signature is invalid
-1An error occurred during verification

The vulnerable code evaluates this return as a plain boolean. In PHP, -1 is truthy — so an OpenSSL processing error (such as a deliberately malformed signature or unsupported algorithm) causes the signature check to pass, as if the signature were legitimate.

Attack Chain

1. Attacker identifies WordPress site using SAML SSO – SSO Login plugin
2. Crafts a SAMLResponse with attacker-chosen NameID (any valid WP username/email)
3. Includes a signature designed to trigger an OpenSSL error state (returns -1)
4. Plugin evaluates openssl_verify() result as boolean — -1 is truthy
5. Signature validation passes despite the invalid signature
6. Plugin calls wp_set_auth_cookie() for the target account
7. Attacker is now authenticated as that user — including admins

Related Vulnerability

A sibling flaw, CVE-2026-15013 (also CVSS 9.8, affecting versions ≤ 5.4.3), targets the Mo_SAML_Utilities::mo_saml_cast_key() function. That function reads the SignatureMethod Algorithm attribute directly from the attacker-controlled SAMLResponse rather than enforcing the locally configured algorithm. This enables an algorithm-confusion attack: the attacker recasts the IdP's RSA public key as an HMAC-SHA1 shared secret, then forges a valid-looking HMAC-SHA1 signature accepted by the plugin.

Together, these two CVEs represent a complete breakdown of the plugin's signature validation pipeline.


Affected Versions

Version RangeAffectedCVE
≤ 5.4.4YesCVE-2026-15981
≤ 5.4.3YesCVE-2026-15013 (sibling)
> 5.4.4No (patched)—

Immediate Remediation

1. Update the Plugin (Recommended)

Navigate to WordPress Admin → Plugins → Updates and update the SAML Single Sign On – SSO Login plugin to the latest version beyond 5.4.4. Alternatively, update via WP-CLI:

wp plugin update miniorange-saml-20-single-sign-on

2. Temporary Mitigation

If patching is not immediately possible:

  • Disable the plugin entirely until the update can be applied
  • Restrict the WordPress login page and SAML assertion endpoint to trusted IP ranges at the web server or WAF level
  • Monitor authentication logs for unexpected logins, particularly administrator accounts

3. Post-Patch Actions

After updating:

  • Audit recent administrator logins for anomalous sessions
  • Rotate any privileged WordPress account passwords
  • Review and revoke any suspicious application passwords or API tokens created during the exposure window

Detection

Look for Unexpected Admin Sessions

# WordPress debug log or server access log
# Look for wp-login.php and xmlrpc.php hits with unexpected session origins
grep "wp-login.php" /var/log/nginx/access.log | grep -v "your-idp-ip"

SIEM Query (Splunk)

index=web sourcetype=access_combined uri_path="/wp-login.php" OR uri_path="*saml*"
| stats count by src_ip, user_agent, status
| where status=302 AND count > 3

WAF Rule (ModSecurity)

# Block SAMLResponse without valid Referer from known IdP
SecRule REQUEST_URI "@contains SAMLResponse" \
  "id:2026159801,phase:2,deny,status:403,\
  msg:'Potential SAML Authentication Bypass Attempt',\
  logdata:'%{TX.MATCHED_VAR}'"

References

  • NIST NVD — CVE-2026-15981
  • Wordfence Security Advisory
  • WPScan Plugin Vulnerability Database
  • CVE-2026-15013 — Sibling Algorithm Confusion Flaw

Related Reading

  • Apache Struts Critical RCE via OGNL Injection Returns
  • BeyondTrust Remote Support Pre-Authentication RCE
#CVE#WordPress#SAML#Authentication Bypass#Critical#Web Application Security

Related Articles

CVE-2026-15013: WordPress SAML SSO Plugin — Algorithm Confusion Auth Bypass

The miniOrange SAML Single Sign On plugin for WordPress through version 5.4.3 allows unauthenticated attackers to log in as any user via an RSA-to-HMAC...

4 min read

CVE-2026-14291: WordPress Security Ninja Premium 2FA Authentication Bypass

The Security Ninja Premium WordPress plugin before version 5.290 contains a critical authentication flaw that allows attackers to bypass two-factor authentication, including for administrator accounts.

3 min read

CVE-2026-13439: WordPress Easy Form Builder Unauthenticated Privilege Escalation (CVSS 9.8)

A critical unauthenticated privilege escalation vulnerability in the Easy Form Builder by WhiteStudio WordPress plugin allows attackers to reset admin passwords and take over sites. All versions up to 4.0.11 are affected.

4 min read
Back to all Security Alerts