Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-4132 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L1296 [email protected]Source CodeVendor
https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L1298 [email protected]Source CodeVendor
https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L1403 [email protected]Source CodeVendor
https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L671 [email protected]Source CodeVendor
https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L722 [email protected]Source CodeVendor

see all 13 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-73External Control of File Name or Path[email protected]

Affected Products

ProductVersions
HTTP Headers
<= 1.19.2 (semver)

CPE

  • cpe:2.3:a:http_headers_project:http_headers:*:*:*:*:*:wordpress:*:*

Remediation

  • No remediation found in references.

Change History

3 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-4132
NVD Published Date:
Apr 22, 2026
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2026-4132 Details - Not Deferred