CVE-2026-4132
Last modified
CVE-2026-4132 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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. EPSS estimates a 1.00% chance of exploitation in the next 30 days.
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
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-4132?
How severe is CVE-2026-4132?
How do I fix CVE-2026-4132?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-41314pypdf is a free and open-source pure-python PDF library. An …6.5
- CVE-2026-41315mdserver-web is a simple Linux panel. From 0.18.0 to 0.18.4,…9.8
- CVE-2026-41316ERB is a templating system for Ruby. Ruby 2.7.0 (before ERB …8.1
- CVE-2026-41317Press, a Frappe custom app that runs Frappe Cloud, manages i…7.5
- CVE-2026-41318AnythingLLM is an application that turns pieces of content i…5.4
- CVE-2026-41319MailKit is a cross-platform mail client library built on top…5.9
- CVE-2026-41320Frappe HR is an open-source human resources management solut…6.5
- CVE-2026-41321@astrojs/cloudflare is an SSR adapter for use with Cloudflar…2.2
- CVE-2026-41322@astrojs/node allows Astro to deploy your SSR site to Node t…5.3
- CVE-2026-41323Kyverno is a policy engine designed for cloud native platfor…9.1
- CVE-2026-41324basic-ftp is an FTP client for Node.js. Versions prior to 5.…7.5
- CVE-2026-41325Kirby is an open-source content management system. Kirby's u…8.8
Are you affected by CVE-2026-4132?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
