CVE-2026-4758
Published: 26 March 2026
Description
The WP Job Portal plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'WPJOBPORTALcustomfields::removeFileCustom' function in all versions up to, and including, 2.4.9. This makes it possible for authenticated attackers, with Subscriber-level…
more
access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
Mitigating Controls (NIST 800-53 r5)AI
Directly addresses the insufficient file path validation in the removeFileCustom function, preventing path traversal attacks leading to arbitrary file deletion.
Requires timely patching of the known vulnerability in WP Job Portal up to version 2.4.9, as fixed in 2.5.0, to remediate the flaw.
Enforces least privilege to restrict Subscriber-level users from accessing dangerous file deletion functions, mitigating exploitation by low-privileged authenticated attackers.
Security SummaryAI
CVE-2026-4758 is an arbitrary file deletion vulnerability in the WP Job Portal plugin for WordPress, affecting all versions up to and including 2.4.9. The issue arises from insufficient file path validation in the WPJOBPORTALcustomfields::removeFileCustom function, classified under CWE-22 (Path Traversal) with a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
Authenticated attackers with Subscriber-level access or higher can exploit this vulnerability over the network with low complexity and no user interaction required. By manipulating file paths, they can delete arbitrary files on the server, potentially leading to remote code execution through the deletion of critical files such as wp-config.php.
Patches and advisories point to mitigation via updating to WP Job Portal version 2.5.0, where code changes address the validation flaw, as shown in the plugin's Trac repository diffs between tags 2.4.9 and 2.5.0 (revision 3490490). Further details on the vulnerability and remediation are available in the Wordfence threat intelligence report.
Details
- CWE(s)
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
CVE enables exploitation of public-facing WordPress plugin (T1190) for arbitrary file deletion (T1070.004), directly facilitating indicator removal or disruption.