Local File Inclusion in Visual Composer Website Builder Plugin
Visual Composer Website Builder for WordPress versions 45.16.0 and earlier are vulnerable to unauthenticated local file inclusion via the vcv-template parameter, allowing arbitrary file execution.
CVE search metadata
CVE search record: CVE-2026-12227. Severity: critical. CVSS: 9.8. KEV: no. Product: Visual Composer Website Builder (<= 45.16.0). Brief: Local File Inclusion in Visual Composer Website Builder Plugin. Brief link: https://feed.craftedsignal.io/briefs/2026-09-cve-2026-12227-lfi/
The Visual Composer Website Builder plugin for WordPress contains a critical Local File Inclusion (LFI) vulnerability identified as CVE-2026-12227. The flaw exists within the handling of the vcv-template parameter, which fails to properly sanitize user-supplied input before using it to include files on the server filesystem. An unauthenticated attacker can exploit this vulnerability to force the application to include and execute arbitrary local files, including those containing malicious PHP code. This capability allows attackers to bypass application-level access controls, exfiltrate sensitive configuration files such as wp-config.php, or achieve full Remote Code Execution (RCE) if the server permits the inclusion of attacker-controlled files like uploaded images containing embedded PHP payloads. This vulnerability affects all versions of the plugin up to and including 45.16.0.
Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary code with the privileges of the web server process. This can lead to total site compromise, data theft, and the establishment of persistent backdoors on the affected WordPress installation. The vulnerability is highly severe (CVSS 9.8) and impacts any WordPress site utilizing the Visual Composer Website Builder plugin within the affected version range.
Recommendation
- Update the Visual Composer Website Builder plugin to the latest available version (beyond 45.16.0) immediately.
- Implement Web Application Firewall (WAF) rules to inspect incoming HTTP requests for suspicious patterns in the vcv-template parameter, specifically looking for directory traversal sequences (e.g., ../) or unauthorized file extensions.
- Audit web server access logs for requests containing the vcv-template parameter aimed at sensitive system files like /etc/passwd or application configuration files.
Immediate actions
Upgrade Visual Composer Website Builder to a version beyond 45.16.0
Deploy the provided Sigma rule to detect exploitation attempts
Threat Hunt
Search web logs for query strings containing 'vcv-template=' and traversal patterns
Data: webserver_logs
Mitigations
Upgrade Visual Composer Website Builder
CVE-2026-12227
Detection coverage 1
Detect CVE-2026-12227 Exploitation - LFI via vcv-template
criticalDetects exploitation of CVE-2026-12227 where a user attempts to include local files via the vcv-template parameter containing directory traversal characters.
Detection queries are available on the platform. Get full rules →