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.

Published: 2026-04-22 Last update: 2026-04-22 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-4132 is rated Moderate Risk (52.7/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.55%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-4132

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-24 0.51% 0.55% +0.04%
2 2026-05-17 0.39% 0.51% +0.12%
3 2026-04-28 0.39%

Full EPSS history (4 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-4132

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.2 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.2 5.9 [email protected]

Weakness enumeration for CVE-2026-4132

GitHub Security Advisory for CVE-2026-4132

GHSA-gg9v-56ph-3gr7 · Severity: high — The HTTP Headers plugin for WordPress is vulnerable to External Control of File Name or Path...

Affected software / configurations for CVE-2026-4132

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2026-4132

URL Tags
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
cvelogic Threat Intelligence