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
CVE-2026-4132Published · Updated Action summary
Affected: ≤1.19.2Update to 1.19.3 or newer
All remediation steps- Severity
- High7.2
- CVSS
- 7.2CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:HPrivileges required- High
UI:NUser interaction- None
S:UScope- Unchanged
C:HConfidentiality- High
I:HIntegrity- High
A:HAvailability- High
- Required access
- Unknown
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
HTTP Headers http-headers
- Affected≤ 1.19.2
- Patched in1.19.3
Update to 1.19.3 or newer.
You are affected if you run ≤ 1.19.2. Version 1.19.3 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under HTTP Headers.
- No admin access? Run a passive check of your site. It reads public files only.
What to do
- Update to version 1.19.3, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch HTTP Headers to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to Chiao-Lin Yu (Steven Meow).
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.
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
More in HTTP Headers
All 7| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium5.5 | Authenticated (Administrator+) CRLF Injection via Custom Header Values ≤1.19.5No patch available | CVE-2026-2717 | |
| Medium4.4 | Authenticated (Administrator+) Stored Cross-Site Scripting via 'Custom Headers' Plugin Setting ≤1.19.4Update to 1.19.5 | CVE-2026-1379 | |
| Medium5.5 | Server-Side Request Forgery ≤1.18.11Update to 1.19.0 | CVE-2023-37978 | |
| Medium4.4 | Authenticated (Administrator+) Stored Cross-Site Scripting ≤1.18.11Update to 1.19.0 | CVE-2023-37874 | |
| Medium6.6 | Authenticated(Administrator+) Remote Code Execution ≤1.18.10Update to 1.18.11 | CVE-2023-1208 |
- Medium5.5Authenticated (Administrator+) CRLF Injection via Custom Header Values
≤1.19.5No patch available
- Medium4.4Authenticated (Administrator+) Stored Cross-Site Scripting via 'Custom Headers' Plugin Setting
≤1.19.4Update to 1.19.5
- Medium5.5Server-Side Request Forgery
≤1.18.11Update to 1.19.0
- Medium4.4Authenticated (Administrator+) Stored Cross-Site Scripting
≤1.18.11Update to 1.19.0
- Medium6.6Authenticated(Administrator+) Remote Code Execution
≤1.18.10Update to 1.18.11
Timeline
CVE published
Severity high, CVSS 7.2
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
