# CVE-2026-89294: Simply Schedule Appointments <= 1.6.12.27 - Authenticated (Subscriber+) Local File Inclusion via 'ssa_locale' Parameter

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

## At a glance

CVE-2026-89294 is rated High 7.5 (CVSS 3.1, CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H). It affects Simply Schedule Appointments (croixhaug) and was published on 30 Sept 2026. It is not in CISA's Known Exploited Vulnerabilities catalog. Its EPSS score is 1%: the estimated chance it is exploited in the next 30 days, as of 24 Nov 2026. The upatch `cve-2026-89294-l10n-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-89294 affects the Simply Schedule Appointments plugin for WordPress in all versions up to and including 1.6.12.27. During `plugins_loaded`, `SSA_Translation::hooks()` registers `SSA_Translation::filter_wp_locale()` on the `locale` filter at priority 100000, which calls `SSA_Translation::get_locale()`. When a request carries the `ssa_locale` query parameter, `get_locale()` passes `$_GET['ssa_locale']` through `sanitize_text_field( wp_unslash( $_GET['ssa_locale'] ) )` instead of restricting it to locale characters. Because `sanitize_text_field()` preserves `/` and `.`, an unauthenticated request with `ssa_locale=../../...` traverses out of `WP_LANG_DIR` (`wp-content/languages`) when WordPress calls `load_default_textdomain()`, which passes `WP_LANG_DIR . "/$locale.mo"` to `load_textdomain()`. WordPress replaces the `.mo` suffix with `.l10n.php`, checks the target with `realpath()` and `is_readable()`, and `WP_Translation_File_PHP::parse_file()` executes `include` on the resolved `.l10n.php` file, running arbitrary PHP code from any `.l10n.php` file outside the languages directory. Version 1.6.12.33 fixes the bug by adding `SSA_Translation::sanitize_locale()`, which strips every character outside `A-Za-z0-9_-`.

### Official description

The Simply Schedule Appointments plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 1.6.12.27 via the 'ssa_locale' parameter parameter. This makes it possible for authenticated attackers, with subscriber-level access and above, to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included. Notably, exploitation does not require authentication in practice, as the locale filter is installed unconditionally on every request during plugins_loaded and the callback performs no nonce or capability check before returning the raw GET parameter value.

## What the upatch does

Two BPF LSM programs return `-EPERM` when a process whose executable name starts with `php` or `apac` (covering `php`, `php-fpm`, `php-cgi` and `apache2` with `mod_php`) accesses a file whose name ends in `.l10n.php` and whose parent or grandparent directory is not named `languages`:

| Hook                | Refused                                                                                                          |
| ------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `lsm/file_open`     | Opening a `*.l10n.php` file whose parent or grandparent directory is not `languages`, by a PHP or Apache process |
| `lsm/inode_getattr` | Stating a `*.l10n.php` file whose parent or grandparent directory is not `languages`, by a PHP or Apache process |

Legitimate WordPress core, plugin and theme `.l10n.php` translation files reside in `wp-content/languages/`, `wp-content/languages/plugins/`, `wp-content/languages/themes/`, or `<plugin-or-theme>/languages/`. When the kernel opens or stats a file, the path dentry is the resolved target dentry after following `..` components, so a path traversal out of `wp-content/languages` into `wp-content/uploads` or elsewhere resolves to a dentry whose parent and grandparent are not `languages`. Guarding both `file_open` and `inode_getattr` stops both the initial open and any subsequent request after PHP's opcache has cached the script bytecode in memory. The `refused` per-CPU array counts refused opens at key 0 and refused getattr calls at key 1.

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

## Side effects

- A PHP or Apache process cannot open or stat a file ending in `.l10n.php` unless its parent directory or grandparent directory is named `languages`.
- Normal WordPress requests, translation loading from `wp-content/languages` (including its `plugins` and `themes` subdirectories) and plugin or theme `languages` directories continue to work.
- Not covered: a theme that stores `.l10n.php` translation files directly in the theme root directory rather than in `wp-content/languages/themes/` or a `languages/` subdirectory, or a PHP runtime whose executable name does not start with `php` or `apac`.

## Preemption model and cost

The programs keep no shared state beyond the per-CPU `refused` counters, which are updated with `__sync_fetch_and_add`, so they are safe under every kernel preemption model, including `PREEMPT_LAZY`, `PREEMPT_DYNAMIC` and `PREEMPT_RT`. On every `file_open` and `inode_getattr` call, each program checks the dentry name length first and reads the 9-byte suffix only when the filename is between 10 and 255 bytes long; parent directory and executable checks run only for files ending in `.l10n.php`.

## Affected versions

Application versions: Simply Schedule Appointments for WordPress versions up to and including 1.6.12.27; fixed in 1.6.12.33.

Kernels: any Linux kernel supported by shirudo with BPF LSM and BTF enabled (`lsm/file_open` and `lsm/inode_getattr`).

## How it was tested

On WordPress 6.7.2 with Simply Schedule Appointments 1.6.12.27, the loaded upatch refused opening and stating ../uploads/upatch-probe.l10n.php via the ssa_locale query parameter while keeping WordPress serving HTTP 200.

- **Tested:** 25 Nov 2026
- **Target:** WordPress 6.7.2 with Simply Schedule Appointments 1.6.12.27, loopback only
- **Kernel:** 7.4-shirudo-ci-20261123
- **Architecture:** x86_64
- **Distribution:** Ubuntu 26.04

### Results

| State           | ssa_locale loads ../uploads/upatch-probe.l10n.php | Opening .l10n.php outside languages blocked |
| --------------- | ------------------------------------------------- | ------------------------------------------- |
| Before loading  | yes (HTTP 200)                                    | no                                          |
| Upatch loaded   | no (HTTP 200)                                     | yes                                         |
| After unloading | yes (HTTP 200)                                    | no                                          |

## 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-89294
```

Publish and roll out:

```sh
shirudo bpm push build/packages/cve-2026-89294-1.0.0.bee oci://<registry>/<namespace>/cve-2026-89294 --keys-dir <keys-dir>
shirudo bpm tree append build/packages/cve-2026-89294-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

- [CVE-2026-89294 record (CVE API)](https://cveawg.mitre.org/api/cve/CVE-2026-89294)
- [Wordfence vulnerability advisory](https://www.wordfence.com/threat-intel/vulnerabilities/id/aab8f2ae-993b-4893-81cc-1b8a1a4ef84b?source=cve)
- [Vulnerable code in Simply Schedule Appointments 1.6.12.27 (`includes/class-translation.php`)](https://plugins.trac.wordpress.org/browser/simply-schedule-appointments/tags/1.6.12.27/includes/class-translation.php#L108)
- [Fixed code in Simply Schedule Appointments 1.6.12.33 (`includes/class-translation.php`)](https://plugins.svn.wordpress.org/simply-schedule-appointments/tags/1.6.12.33/includes/class-translation.php)

### Links

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

### More references from NVD (4)

- [plugins.trac.wordpress.org](https://plugins.trac.wordpress.org/browser/simply-schedule-appointments/tags/1.6.12.27/includes/class-translation.php#L108)
- [plugins.trac.wordpress.org](https://plugins.trac.wordpress.org/browser/simply-schedule-appointments/tags/1.6.12.27/includes/class-translation.php#L50)
- [plugins.trac.wordpress.org](https://plugins.trac.wordpress.org/browser/simply-schedule-appointments/tags/1.6.12.27/includes/class-translation.php#L67)
- [wordfence.com](https://www.wordfence.com/threat-intel/vulnerabilities/id/aab8f2ae-993b-4893-81cc-1b8a1a4ef84b?source=cve)
