CVE-2026-4132HTTP 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
- 7.2HighCVSS base score
- 1.00%Exploitation in 30 daysEPSS · top 37% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By Wordfence
- 40 days later
· 40 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| WordfenceCNA (assigner) | 3.1 | High7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.00% · top 37% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.2.
Affected products
- affected ≤ 1.19.2
References
References13
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ce010c6f-16bd-4178-a621-31ba6378946a?source=cve (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L1403 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L1403 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L1298 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L1298 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L1296 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L1296 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L97 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L97 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L671 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L671 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L722 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L722 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-24674 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-4132)Record last updated .