PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-10821 Yoast CVE debrief

The Yoast SEO Premium WordPress plugin before version 27.6.1 is vulnerable to Remote Code Execution (RCE) when the file-based redirect mode is enabled and the redirect-creation endpoint is reachable by users with Author-level access. This allows such users to inject arbitrary newline-delimited Apache directives into the root .htaccess file. On Apache servers that honor PHP directives, the injection can be chained with the user's own media upload (a polyglot image carrying a PHP payload) and an auto_prepend_file directive to achieve RCE.

Vendor
Yoast
Product
Yoast SEO Premium
CVSS
MEDIUM 6.6
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-02
Original CVE updated
2026-09-03
Advisory published
2026-09-02
Advisory updated
2026-09-03

Who should care

Defenders responsible for WordPress installations with the Yoast SEO Premium plugin, particularly those with Author-level users who can access the redirect-creation endpoint, should assess exposure and prioritize updating to version 27.6.1 or later.

Why it matters

CVE-2026-10821 is a Remote Code Execution vulnerability in the Yoast SEO Premium WordPress plugin that allows Author-level users to inject malicious Apache directives, potentially leading to RCE on Apache servers that honor PHP directives. Defenders should prioritize updating to version 27.6.1 or later and consider additional security measures.

  • Remote Code Execution (RCE) is possible for Author-level users
  • Apache server logs may require monitoring for suspicious activity
  • Updating to version 27.6.1 or later is necessary to prevent exploitation
  • Additional security measures, such as WAF rules, may be necessary to detect and prevent RCE attacks

Technical summary

The Yoast SEO Premium WordPress plugin before version 27.6.1 does not sanitize control characters from redirect origins before writing them to the site's Apache configuration file when the file-based redirect mode is enabled, and the redirect-creation endpoint is reachable by users with only Author-level access. This allows such users to inject arbitrary newline-delimited Apache directives into the root .htaccess file. On Apache servers that honor PHP directives, the injection can be chained with the user's own media upload (a polyglot image carrying a PHP payload) and an auto_prepend_file directive to achieve Remote Code Execution.

Defensive priority

Medium

Recommended defensive actions

  • Update Yoast SEO Premium to version 27.6.1 or later
  • Restrict access to the redirect-creation endpoint to prevent Author-level users from injecting malicious directives
  • Monitor Apache server logs for suspicious activity
  • Consider implementing additional security measures, such as Web Application Firewall (WAF) rules to detect and prevent RCE attacks
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed

Evidence notes

The vulnerability exists in the Yoast SEO Premium WordPress plugin before version 27.6.1. The CVE record and NVD entry provide details on the vulnerability, including its CVSS score and severity. Affected deployments should be confirmed in managed environments, and owners assigned for follow-up. Official advisories or CVE records should be reviewed to validate affected scope, severity, and vendor guidance. Compensating controls should be reviewed for exposed systems while remediation is scheduled and verified.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-10821 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-10821 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

    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.