CVE-2026-2495
📋 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
- WPNakama – Team and multi-Client Collaboration, Editorial and Project Management plugin for WordPress
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- 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.
🎯 Exploit Status
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
allRemove 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
allBlock 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
- https://plugins.trac.wordpress.org/browser/wpnakama/tags/0.6.5/inc/class-wpnakama-api.php#L209
- https://plugins.trac.wordpress.org/browser/wpnakama/tags/0.6.5/inc/class-wpnakama.php#L215
- https://plugins.trac.wordpress.org/browser/wpnakama/trunk/inc/class-wpnakama-api.php#L209
- https://plugins.trac.wordpress.org/browser/wpnakama/trunk/inc/class-wpnakama.php#L215
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3461315%40wpnakama&new=3461315%40wpnakama&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7ffa92be-9d38-40d9-954d-d890136b5aa1?source=cve