HTTP Headers <= 1.19.2 - Authenticated (Administrator+) External Control of File Name or Path to RCE via 'hh_htpasswd_path' and 'hh_www_authenticate_user' Parameters
The HTTP Headers plugin for WordPress is vulnerable to External Control of File Name or Path leading to Remote Code Execution in all versions up to and including 1.19.2. This is due to insufficient validation of the file path stored in the 'hh_htpasswd_path' option and lack of sanitization on the 'hh_www_authenticate_user' option value. The plugin allows administrators to set an arbitrary file path for the htpasswd file location and does not validate that the path has a safe file extension (e.g., restricting to .htpasswd). Additionally, the username field used for HTTP Basic Authentication is written directly into the file without sanitization. The apache_auth_credentials() function constructs the file content using the unsanitized username via sprintf('%s:{SHA}%s', $user, ...), and update_auth_credentials() writes this content to the attacker-controlled path via file_put_contents(). This makes it possible for authenticated attackers, with Administrator-level access and above, to write arbitrary content (including PHP code) to arbitrary file paths on the server, effectively achieving Remote Code Execution.
CVE-2026-4132 is a high severity with CVSS 7.2 Remote Code Execution issue affecting the Plugin HTTP Headers. It affects Versions up to 1.19.2 and is listed without a confirmed patched release.
CVE-2026-4132 is tracked for the Plugin HTTP Headers as high severity with CVSS 7.2. The affected range is Versions up to 1.19.2. No fixed release is listed in this feed entry, so operators should monitor the vendor and reference links before accepting the risk.
| Software Type | Plugin |
|---|---|
| Software Slug |
http-headers
View on wordpress.org
|
| CVE | CVE-2026-4132 |
| Patched Versions |
No patched versions published.
|
| Affected Versions |
Versions up to 1.19.2
|
Related CVEs for HTTP Headers
These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.
HTTP Headers <= 1.18.10 - Authenticated(Administrator+) Remote Code Execution
HTTP Headers <= 1.18.8 - Authenticated(Administrator+) SQL Injection
HTTP Headers <= 1.19.2 - Authenticated (Administrator+) CRLF Injection via Custom Header Values
HTTP Headers <= 1.18.11 - Server-Side Request Forgery
HTTP Headers <= 1.19.2 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'Custom Headers' Plugin Setting
HTTP Headers <= 1.18.11 - Authenticated (Administrator+) Stored Cross-Site Scripting
This record contains material that is subject to copyright
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more
License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more