# CVE-2026-77018: Workeera Remote Tech Job Board < 1.0.6 - Subscriber+ Arbitrary File Upload via Candidate Profile Mass Assignment

The Markdown version of <https://upatch.dev/cve/CVE-2026-77018>. Last updated 25 Nov 2026.

## At a glance

CVE-2026-77018 is rated High 8.8 (CVSS 3.1, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). It affects Workeera and was published on 27 Aug 2026. It is not in CISA's Known Exploited Vulnerabilities catalog. Its EPSS score is 0.7%: the estimated chance it is exploited in the next 30 days, as of 24 Nov 2026. The upatch `cve-2026-77018-upload-block` mitigates it, and is vetted (merged into the registry).

A upatch is a signed BPF program that shirudo loads into a running Linux kernel to block the code path this CVE's exploit takes. It holds the line until the fix ships; it does not replace patching.

## The vulnerability

CVE-2026-77018 affects the Workeera Remote Tech Job Board (`workeera-remote-tech-job-board`) WordPress plugin before version 1.0.6, published on 27 August 2026. The candidate resume update handler (`Workeera_Candidate_Resume::resume_details_submission`, action `workeera_user_resume_details_submission_call`) mints a post-save nonce and triggers `save_post` without restricting which `workeera_meta` keys a candidate may submit. A logged-in user with a role as low as Subscriber can overwrite `candidate_cv_files` metadata to set `name` to a `.php` filename while pointing `file` at an uploaded PDF containing PHP code. When the candidate then applies to a published job (`workeera_user_applyjob_call`), `Workeera_Job_Applications::copy_cv_to_application_files` copies the source file to `wp-content/uploads/wp-workeera/application-files/<YYYY>/<MM>/<name>` without checking the target file extension, allowing remote code execution when requested over HTTP.

### Official description

The Workeera WordPress plugin before 1.0.6 does not restrict which profile values a candidate may submit, nor validate the type of the file it subsequently writes into a publicly reachable directory, allowing users with a role as low as subscriber to upload arbitrary files and achieve remote code execution.

## What the upatch does

One BPF LSM program returns `-EPERM` to processes whose command or executable name starts with `php`, `apache` or `httpd` when creating a file with a PHP extension (`.php`, `.pht`, `.pha`, `.pgi`, case-insensitively) inside a directory tree under `wp-workeera`:

| Hook               | Refused                                                                                                         |
| ------------------ | --------------------------------------------------------------------------------------------------------------- |
| `lsm/inode_create` | Creating a file with a PHP extension inside any directory whose ancestor within 6 levels is named `wp-workeera` |

The `refused` per-CPU array counts refused file creations at key 0.

The policy: [`cve-2026-77018-upload-block.bpf.c`](https://github.com/copper-helm/upatch-registry/tree/main/upatches/cve-2026-77018), 150 lines of BPF C attached at `lsm/inode_create`, licensed GPL-2.0 OR BSD-2-Clause.

## Side effects

- PHP and Apache worker processes cannot create files with `.php`, `.pht`, `.pha` or `.pgi` extensions inside `wp-workeera` upload directories. Candidate CV uploads and job applications use document extensions such as `.pdf` and `.docx`, which continue to work.
- Fixed Workeera releases (1.0.6 and later) validate the target file extension with `wp_check_filetype` against allowed MIME types and reject `.php` names before copying.

## Preemption model and cost

The program keeps no state beyond the per-CPU refusal counter, updated with an atomic fetch-and-add, so it is safe under all preemption models including preemptible RCU and `PREEMPT_LAZY`. On file creation, it checks the new dentry's name for a PHP extension first and returns immediately for all non-PHP files before walking up to 6 parent dentries or inspecting the current task.

## Affected versions

Workeera Remote Tech Job Board plugin versions 1.0.0 through 1.0.5 are affected; version 1.0.6 fixes the issue.

Kernels: the program uses the `inode_create` LSM hook prototype that takes `const struct mnt_idmap *` as its first argument.

## How it was tested

On WordPress 6.7.2 with Workeera Remote Tech Job Board 1.0.5, the loaded upatch refused the .php file creation in wp-workeera/application-files during job application submission, while the probe wrote the .php file before loading and after unloading.

- **Tested:** 25 Nov 2026
- **Target:** WordPress 6.7.2 with Workeera Remote Tech Job Board 1.0.5 on PHP built-in web server and MariaDB, loopback only
- **Kernel:** 7.4-shirudo-ci-20261123
- **Architecture:** x86_64
- **Distribution:** Ubuntu 26.04

### Results

| State           | Application copy writes .php file in wp-workeera/application-files |
| --------------- | ------------------------------------------------------------------ |
| Before loading  | yes (reached)                                                      |
| Upatch loaded   | no (blocked)                                                       |
| After unloading | yes (reached)                                                      |

## How to apply

Build the upatch from source, sign it with your own shirudo key, and publish it to your own OCI registry. Machines that follow your upatch tree load it within about a minute.

Build and sign:

```sh
git clone https://github.com/copper-helm/upatch-registry
cd upatch-registry
tools/build <shirudo-checkout> <keys-dir> 1.0.0 upatches/cve-2026-77018
```

Publish and roll out:

```sh
shirudo bpm push build/packages/cve-2026-77018-1.0.0.bee oci://<registry>/<namespace>/cve-2026-77018 --keys-dir <keys-dir>
shirudo bpm tree append build/packages/cve-2026-77018-1.0.0.bee oci://<registry>/<namespace>/<tree> --tree-id <tree-id> --keys-dir <keys-dir>
```

## Review

- Contributors: romanlab.
- Reviewers: none recorded yet.

## Sources and links

- [WPScan vulnerability 2d13eaeb-d2ac-4f21-9acf-32152f03bdb8](https://wpscan.com/vulnerability/2d13eaeb-d2ac-4f21-9acf-32152f03bdb8/)
- [CVE-2026-77018 record](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-77018)
- [WordPress plugin SVN tags 1.0.5 and 1.0.6](https://plugins.svn.wordpress.org/workeera-remote-tech-job-board/tags/)

### Links

- [CVE-2026-77018 on upatch.dev](https://upatch.dev/cve/CVE-2026-77018) (this page, as HTML)
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-77018)
- [CVE.org](https://www.cve.org/CVERecord?id=CVE-2026-77018)
- [CWE-434](https://cwe.mitre.org/data/definitions/434.html)
- Upatch source: [upatches/cve-2026-77018](https://github.com/copper-helm/upatch-registry/tree/main/upatches/cve-2026-77018)

### More references from NVD (1)

- [wpscan.com](https://wpscan.com/vulnerability/2d13eaeb-d2ac-4f21-9acf-32152f03bdb8/)
