<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/critical-wordpress-rce-vulnerability-announced-wjo8pmvau" -->

---
title: Critical WordPress RCE vulnerability announced | daily.dev
description: A critical, unauthenticated remote-code-execution vulnerability has been found in WordPress's get_page_template() function, which handles page-template...
canonical: https://daily.dev/posts/critical-wordpress-rce-vulnerability-announced-wjo8pmvau
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Critical WordPress RCE vulnerability announced | daily.dev
og:description: A critical, unauthenticated remote-code-execution vulnerability has been found in WordPress's get_page_template() function, which handles page-template...
og:url: https://daily.dev/posts/critical-wordpress-rce-vulnerability-announced-wjo8pmvau
og:image: https://api.daily.dev/og/posts/wJO8PMVAu.png
og:image:alt: Critical WordPress RCE vulnerability announced
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Critical WordPress RCE vulnerability announced

**[LWN.net](https://daily.dev/sources/lwn)** · 1 min read · 0 upvotes · 0 comments

## Summary

A critical, unauthenticated remote-code-execution vulnerability has been found in WordPress's get_page_template() function, which handles page-template resolution. WordPress has released fixes for the current branch and backported patches all the way to branch 4.7. The same flaw also affects the ClassicPress fork, which has not yet issued a patch. Administrators running either CMS are urged to update as soon as possible.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://lwn.net/Articles/1096195>

## Questions this post answers

### What is the WordPress get_page_template() vulnerability that was just patched?

It is a critical remote-code-execution vulnerability in the get_page_template() function used for page-template resolution, exploitable by an unauthenticated attacker under limited circumstances. WordPress released a fix for the current branch and backported patches to older branches going back to version 4.7. The ClassicPress fork, which shares the vulnerable code, is also affected but had not yet received a patch.

_Teams patching WordPress instances can track fast-moving CVE fixes and advisories on daily.dev._

### Is the ClassicPress fork of WordPress affected by the get_page_template RCE vulnerability?

Yes, ClassicPress inherited the same vulnerable get_page_template() code from WordPress and is affected by the critical unauthenticated remote-code-execution flaw. Unlike WordPress, which shipped fixes for its current branch and backports down to 4.7, ClassicPress had not released a security update at the time the vulnerability was disclosed, leaving its users exposed until a patch arrives.

_Anyone maintaining WordPress or ClassicPress sites can follow security advisories like this one on daily.dev._

## Similar posts on daily.dev

- [CVE-2026-1357: WordPress Plugin RCE Exposes Sites to Full Takeover](https://daily.dev/posts/cve-2026-1357-wordpress-plugin-rce-exposes-sites-to-full-takeover-fq2jk89o7) · Security Boulevard · 0 upvotes · 0 comments
- [CISA flags WordPress RCE flaw as actively exploited in attacks](https://daily.dev/posts/cisa-flags-wordpress-rce-flaw-as-actively-exploited-in-attacks-ttytuolnc) · BleepingComputer · 2 upvotes · 0 comments
- [wp2shell: WordPress Patches a Pre-Auth RCE That Needed No Plugins](https://daily.dev/posts/wp2shell-wordpress-patches-a-pre-auth-rce-that-needed-no-plugins-pmh9adxqu) · Latest Hacking News · 2 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#php](https://daily.dev/tags/php), [#wordpress](https://daily.dev/tags/wordpress)

[View this post on daily.dev](https://daily.dev/posts/critical-wordpress-rce-vulnerability-announced-wjo8pmvau)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Critical WordPress RCE vulnerability announced","url":"https://daily.dev/posts/critical-wordpress-rce-vulnerability-announced-wjo8pmvau","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/critical-wordpress-rce-vulnerability-announced-wjo8pmvau"},"datePublished":"2026-09-23T14:00:48.495Z","dateModified":"2026-09-28T12:55:50.005Z","description":"A critical, unauthenticated remote-code-execution vulnerability has been found in WordPress's get_page_template() function, which handles page-template...","image":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","thumbnailUrl":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","isAccessibleForFree":true,"articleSection":"LWN.net","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"LWN.net","logo":"https://media.daily.dev/image/upload/s--4jjE7GIK--/f_auto,q_auto/v1774960833/logos/lwn?_a=BAMAMiWQ0","url":"https://daily.dev/sources/lwn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/critical-wordpress-rce-vulnerability-announced-wjo8pmvau","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,php,wordpress","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"LWN.net","item":"https://daily.dev/sources/lwn"},{"@type":"ListItem","position":3,"name":"Critical WordPress RCE vulnerability announced"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/critical-wordpress-rce-vulnerability-announced-wjo8pmvau#faq","mainEntity":[{"@type":"Question","name":"What is the WordPress get_page_template() vulnerability that was just patched?","acceptedAnswer":{"@type":"Answer","text":"It is a critical remote-code-execution vulnerability in the get_page_template() function used for page-template resolution, exploitable by an unauthenticated attacker under limited circumstances. WordPress released a fix for the current branch and backported patches to older branches going back to version 4.7. The ClassicPress fork, which shares the vulnerable code, is also affected but had not yet received a patch. Teams patching WordPress instances can track fast-moving CVE fixes and advisories on daily.dev."}},{"@type":"Question","name":"Is the ClassicPress fork of WordPress affected by the get_page_template RCE vulnerability?","acceptedAnswer":{"@type":"Answer","text":"Yes, ClassicPress inherited the same vulnerable get_page_template() code from WordPress and is affected by the critical unauthenticated remote-code-execution flaw. Unlike WordPress, which shipped fixes for its current branch and backports down to 4.7, ClassicPress had not released a security update at the time the vulnerability was disclosed, leaving its users exposed until a patch arrives. Anyone maintaining WordPress or ClassicPress sites can follow security advisories like this one on daily.dev."}}]}
```

