HTTP Headers <= 1.19.2 - Authenticated (Administrator+) External Control of File Name or…
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-4132
- 2026-10-03 Alias added: GHSA-gg9v-56ph-3gr7
References
Other 13
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ce010c6f-16bd-4178-a621-31ba6378946a?source=cve
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L1403
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L1403
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L1298
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L1298
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L1296
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L1296
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L97
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L97
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L671
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L671
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L722
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L722
More zinoui vulnerabilities
- TI-2026-02325 HTTP Headers <= 1.19.2 - Authenticated (Administrator+) CRLF Injection via Custom Header Values CVSS 3.1MEDIUM 5.5
- TI-2026-01081 HTTP Headers <= 1.19.2 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'Custom Headers' Plugin Setting CVSS 3.1MEDIUM 4.4
Sources
- CVE-2026-4132 · CVE Program
- CVE-2026-4132 · NVD
- FIRST EPSS
- GHSA-gg9v-56ph-3gr7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences