Vulnerability in Zinoui HTTP Headers

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 · last modified .

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.016 (74.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 74.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-4132: rose from 0.010 to 0.016.

EPSS over last 30 days · oldest: 0.010 · newest: 0.016 · change: +0.006

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-4132?
CVE-2026-4132 is a high-severity vulnerability in Zinoui HTTP Headers, classified under External Control of File Name or Path. CVSS score: 7.2/10. Published 2026-04-22.
How severe is CVE-2026-4132?
High severity. CVSS v3 base score is 7.2 out of 10.