StackPatch is liveSee product

Back to CVE digest
CVE-2018-12895 · cross-distro fix matrix

CVE-2018-12895: WordPress through 4.9.6 allows Author users to execute arbitrary code by leveraging directory traversal in the wp-admin/post.php thumb parameter, which is passed to the PHP unlink function and can delete the wp-config.php file. This is related to missing filename validation in the wp-includes/post.p

Affects 3 Linux releases across 3 (distro × package) combinations.

Elevated exploitation risk

FIRST EPSS puts CVE-2018-12895's probability of exploitation in the next 30 days at 63% (99th percentile of all CVEs)— well above the noise floor. Prioritize it.

EPSS:63% · 30-day exploit probability99th percentile

Fix per ecosystem

Each block below is a distro release where CVE-2018-12895 has a known fix. Run the listed command on that distro to remediate.

Debian bullseye

Source: Debian Security Tracker

  • wordpress→ fixed in4.9.7+dfsg1-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y wordpress

Debian bookworm

Source: Debian Security Tracker

  • wordpress→ fixed in4.9.7+dfsg1-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y wordpress

Debian trixie

Source: Debian Security Tracker

  • wordpress→ fixed in4.9.7+dfsg1-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y wordpress
Are YOU affected by CVE-2018-12895?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2018-12895dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. From $9/mo, 14-day free trial, cancel anytime.

See StackPatch (from $9/mo)