CVE-2026-12713 Overview
CVE-2026-12713 is an unauthenticated SQL injection vulnerability in the WPCargo Track & Trace WordPress plugin before version 8.0.4. The plugin fails to sanitise and escape a user-controlled parameter before using it in a SQL statement. Attackers can inject arbitrary SQL without authentication, potentially reading, modifying, or extracting data from the WordPress database. The flaw affects a code path distinct from the one addressed by CVE-2024-44004, meaning sites patched only against the earlier issue remain exposed. WPCargo Track & Trace is used by logistics and shipping sites for shipment tracking, making it a common target on WordPress-based commercial platforms.
Critical Impact
Unauthenticated attackers can execute arbitrary SQL queries against the WordPress database, enabling data theft, credential extraction, and potential full site compromise.
Affected Products
- WPCargo Track & Trace WordPress plugin, all versions before 8.0.4
- WordPress sites using WPCargo for shipment tracking functionality
- Deployments previously patched only against CVE-2024-44004
Discovery Timeline
- 2026-08-06 - CVE-2026-12713 published to NVD
- 2026-08-06 - Last updated in NVD database
Technical Details for CVE-2026-12713
Vulnerability Analysis
The vulnerability is a classic SQL injection [CWE-89] in the WPCargo Track & Trace plugin. A request parameter reaches a SQL statement without going through WordPress input-sanitisation helpers such as esc_sql() or the $wpdb->prepare() parameterisation API. Because the affected endpoint does not require authentication, any remote user can send crafted requests that alter the structure of the underlying query.
This issue is distinct from CVE-2024-44004. That earlier CVE addressed a separate injection point, and its patch does not cover the code path exploited by CVE-2026-12713. Sites running versions between the previous fix and 8.0.4 remain vulnerable.
Root Cause
The root cause is missing input sanitisation and the concatenation of untrusted input into a SQL query string. Standard WordPress guidance requires all dynamic values in queries to pass through prepared statements. The affected code path bypasses that requirement, allowing operators such as UNION SELECT, boolean conditions, and time-based payloads to modify query behaviour.
Attack Vector
An unauthenticated remote attacker sends an HTTP request to the vulnerable WPCargo endpoint with a malicious value in the affected parameter. The injected SQL executes with the database privileges of the WordPress user, typically granting full read and write access to the wp_users, wp_options, and plugin tables. Attackers can extract password hashes, session tokens, API keys stored in options, and shipment records containing personal data. See the WPScan Vulnerability Report for parameter-level details.
No verified public exploit code is available for CVE-2026-12713 at this time. Exploitation follows standard SQL injection techniques against the unsanitised parameter identified in the WPScan advisory.
Detection Methods for CVE-2026-12713
Indicators of Compromise
- HTTP requests to WPCargo plugin endpoints containing SQL keywords such as UNION, SELECT, SLEEP(, BENCHMARK(, or encoded variants in query parameters
- Unusually long or URL-encoded parameter values sent to /wp-content/plugins/wpcargo/ paths
- New or modified administrator accounts in wp_users without a corresponding admin action in logs
- Outbound requests from the web server to unfamiliar hosts shortly after suspicious inbound requests
Detection Strategies
- Inspect web server and WAF logs for SQL injection payload patterns targeting WPCargo request parameters
- Correlate anomalous database query volume or slow queries with inbound requests to plugin endpoints
- Monitor for new PHP files written under wp-content/uploads/ or plugin directories following suspicious requests
- Alert on database reads of wp_users or wp_usermeta from web-facing PHP processes outside normal patterns
Monitoring Recommendations
- Enable WordPress query logging or database audit logging on high-value sites
- Forward web server, PHP-FPM, and MySQL logs to a centralised platform for correlation and retention
- Track file integrity on wp-config.php, theme files, and the WPCargo plugin directory
- Baseline normal WPCargo endpoint traffic and alert on statistical deviations in parameter length or content
How to Mitigate CVE-2026-12713
Immediate Actions Required
- Upgrade the WPCargo Track & Trace plugin to version 8.0.4 or later on all WordPress sites
- Rotate WordPress administrator passwords, database credentials, and any API keys stored in wp_options
- Audit wp_users for unauthorised accounts and review recent database changes for tampering
- Review web server logs from before the upgrade for evidence of exploitation against WPCargo endpoints
Patch Information
The vendor released WPCargo Track & Trace version 8.0.4, which sanitises the affected parameter and addresses the code path not covered by the earlier CVE-2024-44004 fix. Refer to the WPScan Vulnerability Report for advisory details and confirm the installed plugin version through the WordPress admin dashboard.
Workarounds
- If immediate patching is not possible, deactivate and remove the WPCargo Track & Trace plugin until the upgrade can be applied
- Deploy a web application firewall rule blocking SQL keywords and metacharacters in requests to WPCargo endpoints
- Restrict access to WPCargo tracking URLs by IP allowlist where the plugin serves internal or partner traffic only
- Enforce least-privilege database credentials for WordPress, limiting the account to the required schema and operations
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

