CVE-2026-4132
Remote Code Execution via Path Manipulation in WordPress HTTP Headers Plugin
Publication date: 2026-04-22
Last updated on: 2026-04-22
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wordfence | http_headers_plugin | to 1.19.2 (inc) |
| wp_plugins | http_headers | to 1.19.2 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-73 | The product allows user input to control or influence paths or file names that are used in filesystem operations. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The HTTP Headers plugin for WordPress has a vulnerability that allows attackers with Administrator-level access to execute remote code on the server. This happens because the plugin does not properly validate or sanitize file paths and usernames used in HTTP Basic Authentication. Specifically, administrators can set an arbitrary file path for the htpasswd file without restrictions on the file extension, and the username is written directly into the file without sanitization. This flaw enables attackers to write arbitrary content, including malicious PHP code, to any file path on the server.
How can this vulnerability impact me? :
This vulnerability can have severe impacts as it allows authenticated administrators to perform Remote Code Execution (RCE) on the server. An attacker exploiting this flaw can write arbitrary files, including malicious scripts, potentially taking full control of the server. This can lead to data breaches, server compromise, defacement, or further attacks within the network.