Skip to content
CVE PROGRAM SOURCE RECORD9.8 Critical

CVE-2026-116533

Static Snapshot <= 0.2.1 - Unauthenticated RCE via 'name' Parameter

Read JSON ↗CVE.org ↗

Description

The Static Snapshot WordPress plugin through 0.2.1 does not sanitise shell metacharacters in a user-supplied value before concatenating it into operating-system commands run by the server, allowing unauthenticated attackers to execute arbitrary commands on the host.

Remediation guide

Fix CVE-2026-116533 in Static Snapshot

Guide updated .

Require administrator capability and a request nonce for snapshot creation/deletion, remove unauthenticated mutation hooks, and enforce the patch's restricted snapshot-name format.

Applicability

Item Tested scope
Source Static Snapshot 0.2.1, official WordPress SVN revision 1379242.
Changed paths main.php and js/main.js
Prerequisites Linux, SVN, Git, curl, sha256sum, Node 24 and PHP 8.5 CLI. The scoped runner disables PHP exec and replaces it with an effect counter.

This patch was created and tested by Casco.

Download and apply

Use a new disposable directory. These commands verify downloads before applying or executing them. Do not apply the patch blindly to another revision.

File SHA-256
static-snapshot-request-validation.patch e688b58868c4a5df5488500ba6f48cdd15794c9abf85a7e32201efd6f67fd6a2
static-contract-fixture.php 525644be51ee640a9156e453c7c75ea6623c8840e696a53cb9bb6cc2c12ba3ec
run-static-contract.cjs 2d2447a1a058ada06c64ca3cdb6add13d028e5b6c0428277dcd66d06a8d93aed
set -eu
mkdir cve-2026-116533-verification
cd cve-2026-116533-verification
curl -fL 'https://casco.com/cve/artifacts/CVE-2026-116533/e688b58868c4a5df5488500ba6f48cdd15794c9abf85a7e32201efd6f67fd6a2/static-snapshot-request-validation.patch' -o 'static-snapshot-request-validation.patch'
printf '%s  %s\n' 'e688b58868c4a5df5488500ba6f48cdd15794c9abf85a7e32201efd6f67fd6a2' 'static-snapshot-request-validation.patch' | sha256sum -c -
curl -fL 'https://casco.com/cve/artifacts/CVE-2026-116533/525644be51ee640a9156e453c7c75ea6623c8840e696a53cb9bb6cc2c12ba3ec/static-contract-fixture.php.txt' -o 'static-contract-fixture.php'
printf '%s  %s\n' '525644be51ee640a9156e453c7c75ea6623c8840e696a53cb9bb6cc2c12ba3ec' 'static-contract-fixture.php' | sha256sum -c -
curl -fL 'https://casco.com/cve/artifacts/CVE-2026-116533/2d2447a1a058ada06c64ca3cdb6add13d028e5b6c0428277dcd66d06a8d93aed/run-static-contract.cjs.txt' -o 'run-static-contract.cjs'
printf '%s  %s\n' '2d2447a1a058ada06c64ca3cdb6add13d028e5b6c0428277dcd66d06a8d93aed' 'run-static-contract.cjs' | sha256sum -c -
svn export --non-interactive -r 1379242 https://plugins.svn.wordpress.org/static-snapshot/trunk static-snapshot
printf '%s  %s\n' 'b9512f8707bf776ddcf46c0c5e4913cc0d00713ecacca56bea6d4581e8a38de7' static-snapshot/main.php | sha256sum -c -
cp static-snapshot/main.php static-main.baseline.php
git -C static-snapshot apply --check -p0 ../static-snapshot-request-validation.patch
git -C static-snapshot apply -p0 ../static-snapshot-request-validation.patch
php -l static-snapshot/main.php
node run-static-contract.cjs "$PWD"

Validation

Fresh public-download verification passed patch application, PHP syntax and 15/15 actual-callback/UI-contract checks; the original passed 5/15. Shell execution is disabled and counted in this suite.

Deployment and rollback

Deploy both changed files and refresh cached admin JavaScript. Names must contain 1–200 ASCII letters, digits, spaces, underscores or hyphens and start with a letter or digit. Check existing names for compatibility. Before real generation on minimal Ubuntu, install tzdata-legacy and verify the existing US/Mountain timezone alias. Test backup generation, download and deletion on disposable staging data; broader crawling, browser and production behavior were not validated here. Keep the previous source, built package and backups. To reverse this exact patch after checking applicability:

git -C static-snapshot apply -R -p0 ../static-snapshot-request-validation.patch

A rollback restores the earlier code; verify the staging result before any production rollout.

Evidence

Primary advisory or CVE record. Structured CVE record. Validation was repeated from anonymous public source/artifact downloads on November 23, 2026; The scoped results above do not establish full application or production acceptance.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Unknown Static Snapshot

Default version status: unknown

  • 0 to ≤ 0.2.1affected

References