CVE-2026-2495

7.5 HIGH

📋 TL;DR

This SQL injection vulnerability in the WPNakama WordPress plugin allows unauthenticated attackers to inject malicious SQL queries through the 'order' parameter of a REST API endpoint. Attackers can extract sensitive information from the database, including user credentials, personal data, and other confidential information stored in WordPress. All WordPress sites using WPNakama plugin versions up to 0.6.5 are affected.

💻 Affected Systems

Products:
  • WPNakama – Team and multi-Client Collaboration, Editorial and Project Management plugin for WordPress
Versions: All versions up to and including 0.6.5
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Vulnerability exists in default plugin configuration. WordPress sites with the plugin installed and activated are vulnerable.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to extraction of all sensitive data including admin credentials, user personal information, and potentially full site takeover.

🟠

Likely Case

Data exfiltration of user information, plugin-specific data, and potentially WordPress user credentials.

🟢

If Mitigated

Limited impact with proper input validation and database permissions, though SQL injection could still reveal some data.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

SQL injection via REST API endpoint requires no authentication. Exploitation is straightforward for attackers with basic SQL knowledge.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 0.6.6 or later

Vendor Advisory: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3461315%40wpnakama&new=3461315%40wpnakama&sfp_email=&sfph_mail=

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find WPNakama plugin. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 0.6.6+ from WordPress plugin repository and manually update.

🔧 Temporary Workarounds

Disable vulnerable REST endpoint

all

Remove or restrict access to the vulnerable /wp-json/WPNakama/v1/boards endpoint

Add to .htaccess: RewriteRule ^wp-json/WPNakama/v1/boards - [F,L]
Or use WordPress filter: remove_action('rest_api_init', 'wpnakama_register_rest_routes')

Web Application Firewall rule

all

Block SQL injection attempts targeting the WPNakama endpoint

WAF rule: Block requests to /wp-json/WPNakama/v1/boards containing SQL keywords in 'order' parameter

🧯 If You Can't Patch

  • Disable or uninstall the WPNakama plugin immediately
  • Implement strict network filtering to block external access to /wp-json/WPNakama/v1/boards endpoint

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → WPNakama version. If version is 0.6.5 or lower, site is vulnerable.

Check Version:

wp plugin list --name=wpnakama --field=version (if WP-CLI installed)

Verify Fix Applied:

Verify plugin version is 0.6.6 or higher in WordPress admin panel. Test the /wp-json/WPNakama/v1/boards endpoint with SQL injection payloads to confirm they are blocked.

📡 Detection & Monitoring

Log Indicators:

  • Multiple requests to /wp-json/WPNakama/v1/boards with unusual 'order' parameter values
  • SQL error messages in WordPress debug logs
  • Unusual database queries from WordPress application

Network Indicators:

  • HTTP POST/GET requests to /wp-json/WPNakama/v1/boards containing SQL keywords (UNION, SELECT, INSERT, etc.) in parameters
  • Abnormal traffic patterns to WordPress REST API endpoints

SIEM Query:

source="web_server" AND (url="/wp-json/WPNakama/v1/boards" AND (param="order" AND value MATCH "(?i)(union|select|insert|update|delete|drop|create|alter)"))

🔗 References

📤 Share & Export