CVE-2026-4132 json
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
published 2026-04-22 6 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-24674
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
1.00% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected products
- zinoui HTTP Headers
Classification
- Weakness
-
- CWE-73 External Control of File Name or Path
- Technology feeds
References
- wordfence.com /threat-intel/vulnerabilities/id/ce010c6f-16bd-4178-a621-31ba6378946a?source=cve
- plugins.trac.wordpress.org /browser/http-headers/trunk/http-headers.php#L1403
- plugins.trac.wordpress.org /browser/http-headers/tags/1.19.2/http-headers.php#L1403
- plugins.trac.wordpress.org /browser/http-headers/trunk/http-headers.php#L1298
- plugins.trac.wordpress.org /browser/http-headers/tags/1.19.2/http-headers.php#L1298
- plugins.trac.wordpress.org /browser/http-headers/trunk/http-headers.php#L1296
- plugins.trac.wordpress.org /browser/http-headers/tags/1.19.2/http-headers.php#L1296
- plugins.trac.wordpress.org /browser/http-headers/trunk/http-headers.php#L97
- plugins.trac.wordpress.org /browser/http-headers/tags/1.19.2/http-headers.php#L97
- plugins.trac.wordpress.org /browser/http-headers/trunk/http-headers.php#L671
- plugins.trac.wordpress.org /browser/http-headers/tags/1.19.2/http-headers.php#L671
- plugins.trac.wordpress.org /browser/http-headers/trunk/http-headers.php#L722
- plugins.trac.wordpress.org /browser/http-headers/tags/1.19.2/http-headers.php#L722
Sources
- CVE List CVE-2026-4132
- NVD CVE-2026-4132
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.