PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-104021 hostspa CVE debrief

The Fastcache by Host.it plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 1.7.4. Authenticated attackers with administrator-level access can inject arbitrary Apache directives into the site's `.htaccess` file, enabling server-level configuration changes. This vulnerability allows for potential execution of attacker-controlled PHP code on every request, emphasizing the need for immediate patching and verification of `.htaccess` file integrity. WordPress administrators and security teams should assess exposure, apply patches, and monitor for suspicious activity related to Apache configuration changes.

Vendor
hostspa
Product
Fastcache by Host.it
CVSS
HIGH 7.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-10
Original CVE updated
2026-10-11
Advisory published
2026-10-10
Advisory updated
2026-10-11

Who should care

WordPress administrators, security teams, and IT personnel responsible for managing WordPress installations and ensuring the security of their sites should be aware of this vulnerability. They should assess exposure, apply patches or updates provided by the vendor, and monitor `.htaccess` file changes and Apache configuration for suspicious activity. Additionally, they should verify administrator-level access controls and ensure only authorized personnel,

Why it matters

CVE-2026-104021 is a high-severity Code Injection vulnerability in the Fastcache by Host.it plugin for WordPress. Authenticated attackers with administrator-level access can inject arbitrary Apache directives, enabling server-level configuration changes. WordPress administrators and security teams should assess exposure, apply patches, and monitor for suspicious activity.

  • Server-level configuration changes can be made by authenticated attackers with administrator-level access.
  • Arbitrary Apache directives can be injected into the site's `.htaccess` file.
  • Code injection can lead to execution of attacker-controlled PHP code on every request.
  • Verification of patch application and monitoring of `.htaccess` file changes are crucial.

Technical summary

The Fastcache by Host.it plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 1.7.4 via the `fastcache_settings[cache_cookie_exclude][]` parameter. This is due to the plugin registering the `cache_cookie_exclude` setting via `register_setting()` without a `sanitize_callback`, while `buildSiteHtaccessRules()` applies only `trim()` to each cookie value before interpolating it directly into an Apache `RewriteCond` line.

Defensive priority

High priority for WordPress administrators and security teams to assess exposure and apply patches.

Recommended defensive actions

  • Assess exposure by checking if the Fastcache by Host.it plugin version 1.7.4 or earlier is installed and in use.
  • Verify administrator-level access controls and ensure only authorized personnel have access to WordPress administration.
  • Apply patches or updates provided by the vendor to address the Code Injection vulnerability.
  • Monitor `.htaccess` file changes and Apache configuration for suspicious activity.
  • Consider implementing additional security measures such as Web Application Firewalls (WAFs) to detect and prevent code injection attacks.

Evidence notes

The vulnerability allows authenticated attackers with administrator-level access to inject arbitrary Apache directives into the site's `.htaccess` file. This is due to the plugin registering the `cache_cookie_exclude` setting without a `sanitize_callback`, while applying only `trim()` to each cookie value before interpolating it directly into an Apache `RewriteCond` line.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-104021 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-104021

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-104021 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-104021

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.