CVE-2026-4132
CVE-2026-4132 is a high-severity vulnerability with a CVSS 3.x base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-73.
Key facts
- Severity: High (CVSS 3.x base score 7.2)
- EPSS exploit prediction: 1% (59th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-24674
- Weakness: CWE-73
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-4132?
- 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.
- How severe is CVE-2026-4132?
- CVE-2026-4132 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-4132 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (59th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2026-4132?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-4132 have an EU (EUVD) identifier?
- Yes. CVE-2026-4132 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-24674.
- When was CVE-2026-4132 published?
- CVE-2026-4132 was published on 2026-04-22 and last updated on 2026-06-17.
References
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L1296
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L1298
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L1403
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L671
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L722
- 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#L1296
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L1298
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L1403
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/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/trunk/http-headers.php#L97
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ce010c6f-16bd-4178-a621-31ba6378946a?source=cve
Other CWE-73 vulnerabilities
- CVE-2025-71338 — Critical (CVSS 10.0): Flowise contains a path traversal vulnerability in the /api/v1/document-store/loader/process endpoint that allows…
- CVE-2026-39907 — Critical (CVSS 10.0): Unisys WebPerfect Image Suite versions 3.0.3960.22810 and 3.0.3960.22604 expose an unauthenticated WCF SOAP endpoint on…
- CVE-2026-27211 — Critical (CVSS 10.0): Cloud Hypervisor is a Virtual Machine Monitor for Cloud workloads. Versions 34.0 through 50.0 arevulnerable to…
- CVE-2025-71334 — Critical (CVSS 9.8): Flowise before 3.0.6 (affected versions 2.2.8 and earlier) contains an arbitrary file access vulnerability due to…
- CVE-2025-71333 — Critical (CVSS 9.8): Flowise through 2.2.4 contains an unauthenticated arbitrary file upload vulnerability in the /api/v1/attachments…
- CVE-2026-39006 — Critical (CVSS 9.8): An issue in SNMP4J-Agent 3.8.3 allows a remote attacker to execute arbitrary code via the snmp4jCfgStoragePath…