CVE-2026-56064 Overview
CVE-2026-56064 is a SQL Injection vulnerability affecting the Tourfic WordPress plugin in versions 2.22.5 and earlier. The flaw allows an authenticated attacker with Subscriber-level privileges to inject arbitrary SQL statements into database queries executed by the plugin. The vulnerability is tracked under CWE-89: Improper Neutralization of Special Elements used in an SQL Command.
Because Subscriber is the lowest privileged authenticated role in WordPress, self-registration on affected sites broadens the attack surface. Successful exploitation exposes sensitive database contents and can affect availability of the underlying WordPress instance.
Critical Impact
An authenticated Subscriber can extract data from the WordPress database and impact site availability through malicious SQL payloads sent over the network.
Affected Products
- Tourfic WordPress plugin versions <= 2.22.5
- WordPress sites with Tourfic installed and Subscriber registration enabled
- Any deployment exposing plugin endpoints to authenticated low-privilege users
Discovery Timeline
- 2026-06-26 - CVE-2026-56064 published to NVD
- 2026-06-26 - Last updated in NVD database
Technical Details for CVE-2026-56064
Vulnerability Analysis
The Tourfic plugin fails to properly neutralize user-supplied input before incorporating it into SQL statements. An authenticated user with Subscriber privileges can send crafted parameters to a vulnerable plugin endpoint. The plugin concatenates or insufficiently sanitizes these parameters when constructing database queries, allowing attacker-controlled SQL fragments to alter query logic.
The vulnerability changes the scope of impact from the plugin context to the wider WordPress database, allowing cross-privilege data access. Confidentiality of stored records is directly at risk, and query manipulation can trigger resource exhaustion that degrades availability. Integrity of stored data is not directly affected according to the advisory, but data exposure remains the primary concern.
Referenced technical details are available in the Patchstack WordPress Vulnerability Advisory.
Root Cause
The root cause is improper input neutralization in SQL query construction inside the Tourfic plugin ([CWE-89]). Parameters received from authenticated requests are placed into SQL statements without parameterized queries or adequate sanitization through WordPress helpers such as $wpdb->prepare().
Attack Vector
Exploitation occurs remotely over the network against the WordPress HTTP interface. The attacker authenticates as a Subscriber, then submits requests containing malicious SQL payloads to a vulnerable plugin action or AJAX endpoint. No user interaction is required, and low complexity makes automated exploitation feasible against exposed instances.
No verified public exploit code or proof-of-concept is available for CVE-2026-56064 at the time of publication. Refer to the vendor advisory for endpoint-level technical details.
Detection Methods for CVE-2026-56064
Indicators of Compromise
- Unexpected SQL syntax tokens such as UNION SELECT, SLEEP(, or INFORMATION_SCHEMA in HTTP request parameters targeting Tourfic endpoints.
- Authenticated requests from Subscriber accounts hitting administrative or booking-related plugin routes.
- Database error strings or unusually long query execution times logged by the WordPress host.
- Sudden growth in wp_users registrations followed by requests to Tourfic AJAX handlers.
Detection Strategies
- Inspect web server and application logs for query strings and POST bodies containing SQL metacharacters directed at Tourfic paths.
- Enable MySQL general or slow query logs and correlate anomalous queries with authenticated Subscriber sessions.
- Deploy a Web Application Firewall (WAF) rule set that flags SQLi signatures on plugin endpoints under /wp-admin/admin-ajax.php and Tourfic REST routes.
Monitoring Recommendations
- Alert on newly created Subscriber accounts followed by requests to Tourfic endpoints within a short time window.
- Monitor for spikes in HTTP 500 responses or database error responses from WordPress.
- Track outbound data volume from the database server to detect exfiltration attempts.
How to Mitigate CVE-2026-56064
Immediate Actions Required
- Update the Tourfic plugin to a version newer than 2.22.5 as soon as a fixed release is available from the vendor.
- Disable new user registration or restrict the default role from Subscriber to a non-existent role until patched.
- Temporarily deactivate the Tourfic plugin on sites that cannot be patched or protected by a WAF.
Patch Information
Consult the Patchstack WordPress Vulnerability Advisory for the fixed version and remediation guidance. Apply the vendor-supplied update through the WordPress plugin manager and verify the installed version after upgrade.
Workarounds
- Enforce virtual patching through a WAF with SQL injection signatures until the plugin is upgraded.
- Audit and remove untrusted Subscriber accounts, and require email verification for new registrations.
- Restrict access to Tourfic AJAX and REST endpoints by IP allowlist where feasible.
- Rotate database credentials and WordPress secret keys if exploitation is suspected.
# Configuration example: disable open registration and reset default role via WP-CLI
wp option update users_can_register 0
wp option update default_role subscriber
wp plugin deactivate tourfic
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

