On 17 June 2026 the Drupal security team published five core advisories in one window. The lead, SA-CORE-2026-005, is a critical PHP object injection flaw reachable through JSON:API, and it closes a gap left by the fix for a highly critical remote code execution flaw in 2019. A week later, on 24 June, a wave of contributed module advisories followed, including a critical SQL injection in Geolocation Field.
I spent more than ten years working on GovCMS, so I have been through a lot of Drupal security windows from the side that has to work out which sites are affected and get the update out. What I want to look at in this one is less the severity of the lead flaw, which turns out to be narrow, and more the route each flaw takes to reach a site.
The lead flaw is narrow
The lead advisory is honest about its limits, and it is worth reading closely. To exploit it, an attacker needs write access to an entity through JSON:API, and the site needs an entity reference field that stores a serialised property. The advisory says that no field type shipped with Drupal core meets these criteria, and that contributed or custom field types that do “appear to be extremely unusual”. JSON:API is also read-only by default, so a site is only affected if someone has turned write access on. On the same day, though, three contributed modules that store serialised data in fields, Formatter Field, Flag attendance field and Plotly.js Graphing, received critical advisories of their own for PHP object injection. For most Drupal sites the answer to “are we exposed to SA-CORE-2026-005?” is probably no, but it is worth checking which field modules you run.
The more useful reading of the window comes from the whole set of five, with the route each one takes and what it needs.
| Advisory | Risk | Flaw | Route in | What it needs |
|---|---|---|---|---|
| SA-CORE-2026-005 | Critical, 18/25 | PHP object injection | JSON:API | Write access through JSON:API, and an entity reference field that stores a serialised property |
| SA-CORE-2026-006 | Moderately critical, 14/25 | Gadget chain | None on its own | A separate flaw that passes untrusted data to unserialize() |
| SA-CORE-2026-007 | Less critical, 9/25 | Cache poisoning and open redirect | rebuild.php | An anonymous request with a Host header that the script does not check against trusted host patterns |
| SA-CORE-2026-008 | Moderately critical, 10/25 | Server-side request forgery | Media oEmbed URL discovery | A user who can add oEmbed media, such as a Remote video; before the update, URL discovery ran by default for URLs no known provider matches |
| SA-CORE-2026-009 | Moderately critical, 11/25 | Improper validation of uploaded files | JSON:API and REST image uploads | A user who can upload to an image field, and a web server that serves the file’s real MIME type |
Three of the five arrive through HTTP endpoints that a public Drupal site answers: JSON:API for 005, JSON:API and REST image uploads for 009, and rebuild.php for 007, which an anonymous visitor can reach in a default configuration. The 2019 flaw behind the original fix came in the same way, through REST and other web services modules such as JSON:API. Only 007 can be reached without an account. 005 and 009 need an account with write or upload permission, but they still arrive through public API routes. The other two sit further from the public request, because 008 needs an account that can add oEmbed media, and 006 is a chain of methods that only becomes dangerous when some other flaw passes untrusted data to unserialize().
The contributed wave a week later had the same shape. The Geolocation Field advisory, SA-CONTRIB-2026-062, is rated critical at 19/25. The SQL injection sits in one of the module’s Views filters, and it can only be reached when a view uses that filter and is set to accept user input, which means it needs a page that takes a visitor’s input and turns it into a database query.
Drupal has had windows like this before. In March 2018, SA-CORE-2018-002, rated highly critical at 24/25, was a remote code execution flaw that any anonymous visitor could reach. Drupal is a large, capable application that does a lot of work on every request: routing, access checks, serialisation, file handling, query building and cache building. Each of those is code that can carry a flaw, and on a public Drupal site all of it runs for anyone on the internet who sends a request.
A static public site does not have these endpoints
Most public websites built on Drupal exist to publish pages: news, services, policies, forms and contact details. JSON:API and REST are often switched on for reasons that have nothing to do with the public, because a decoupled front end needed them, a mobile app or another system reads from them, or a module required them once and nobody turned them off. rebuild.php ships with core, and unless the web server blocks it, it answers on the public site whether anyone uses it or not. The login form is public on most sites because that is where Drupal puts it.
When the public side of a site is a set of pre-rendered files served from an edge network, there is no /jsonapi route, no REST upload handler, no rebuild.php and no login form on the public hostname. A request for any of them gets a 404 from the edge, because nothing behind that hostname can run them. JSON:API can stay on in the authoring instance, where only the people and systems you trust can reach it, or you can turn it off if nothing needs it. The figure below puts the five advisories side by side for the two kinds of public site.
Choose what the public hostname serves to see where each flaw can be reached.
SA-CORE-2026-005
Critical, 18/25
/jsonapi
Public Drupal: Signed in
Answers when JSON:API is on. Needs an account with write access.
Static copy: Not on the public host
404 from the edge. JSON:API answers only on the authoring instance.
SA-CORE-2026-006
Moderately critical, 14/25
No route of its own
Public Drupal: No route
Dangerous only if another flaw passes untrusted data to unserialize().
Static copy: No route
Same. The fix still goes on the authoring instance.
SA-CORE-2026-007
Less critical, 9/25
/core/rebuild.php
Public Drupal: Anonymous
Answers anonymous requests unless the web server blocks it.
Static copy: Not on the public host
404 from the edge. Nothing behind the hostname can run it.
SA-CORE-2026-008
Moderately critical, 10/25
Media oEmbed URL discovery
Public Drupal: Signed in
Needs an account that can add oEmbed media.
Static copy: Not on the public host
The media forms exist only where editors sign in.
SA-CORE-2026-009
Moderately critical, 11/25
JSON:API and REST image uploads
Public Drupal: Signed in
Answers when an API is on. Needs upload permission.
Static copy: Not on the public host
404 from the edge.
Public Drupal: Four of the five have a route on the public hostname, and one of those needs no account at all.
Static copy: None of the five has a route on the public hostname. Every one still needs the update on the authoring instance, which only your editors can reach.
Source: Drupal security advisories SA-CORE-2026-005 to SA-CORE-2026-009, 17 June 2026.
You can see which model a site is in from a terminal. These four checks take a few minutes against each public hostname, and need nothing more than curl.
# Only run this against sites you are responsible for.
SITE=www.example.gov.au
# 1. Does the public site answer JSON:API?
# A 200 means the module is on and reachable from the internet.
curl -s -o /dev/null -w "%{http_code}\n" "https://$SITE/jsonapi"
# 2. Does rebuild.php answer on the public host? (SA-CORE-2026-007)
# A redirect means the script ran in PHP on your public site.
curl -s -o /dev/null -w "%{http_code}\n" "https://$SITE/core/rebuild.php"
# 3. Is the Drupal login form public?
curl -s -o /dev/null -w "%{http_code}\n" "https://$SITE/user/login"
# 4. Does the site tell the world it runs Drupal, and which major version?
curl -sI "https://$SITE/" | grep -iE "^(x-generator|x-drupal-cache|x-drupal-dynamic-cache):"On a static public site, the first three return a 404 and the fourth returns nothing. On a public Drupal site you will usually get a 200 for the login form, a redirect from rebuild.php, and a 200 from /jsonapi if the module is enabled. I would treat each answer that is not a 404 as a decision for your team to make on purpose, because at the moment it is most likely a default that came with the install.
Patching is now measured in hours
None of this replaces patching, and the Drupal security team was clear about the timeline. The advisory for 005 notes that Drupal Steward is applying a WAF rule, which it expects to cover “the common/obvious vulnerability paths” but not every case, and it says that several of the other core advisories released that day are not mitigated by Drupal Steward. Then it says:
Therefore, our recommended action is still to plan an actual Drupal update within 24 hours of this release.
Twenty-four hours is a short window for a large Drupal estate. An update means a Composer change, database updates, a test pass and a deployment to every environment, for every site, and a large estate often runs many sites on shared code. It can be done inside a day when the estate is in good shape and the people who know it are available, and it is hard when either of those is not true. The fixed releases were 10.5.12, 10.6.11, 11.2.14 and 11.3.12. Drupal 11.1.x, 11.0.x, 10.4.x and earlier get no security coverage, and Drupal 8 and 9 are end of life, so if your site is on any of those there was no release for you in this window at all.
This is how the month ran.
20 February 2019: SA-CORE-2019-003
A highly critical remote code execution flaw, rated 23/25. Some field types did not clean up data that came from sources other than forms, and sites running REST, or another web services module such as JSON:API, were at risk.
17 June 2026: five core advisories
SA-CORE-2026-005 says the 2019 fix "did not cover all potential attack vectors for JSON:API". The same window patches a gadget chain, cache poisoning in rebuild.php, an oEmbed SSRF and image upload validation. Fixed in 10.5.12, 10.6.11, 11.2.14 and 11.3.12.
Within 24 hours: the recommended update window
The security team recommends a real update inside a day. A Drupal Steward WAF rule should mitigate the common paths for 005 in the meantime, but not several of the other advisories, and the advisory does not rely on it.
Week of 22 June: Drupal 11.4.0 is delayed
The next feature release, scheduled for that week, had not shipped by 26 June. Release managers had spent their time on two core security releases and several off-schedule patch releases for dependency security fixes.
24 June 2026: the contributed module wave
A critical SQL injection in Geolocation Field, rated 19/25, plus access-bypass fixes in Paragraphs and the AI module family.
The delay to 11.4.0 is worth a moment. A security window takes the time of the people who maintain Drupal core away from everything else, and a delayed feature release is what that looks like from the outside. I do not say that as a criticism of them, because they did the right thing with their week. I say it because it is a good reason to reduce how much of your organisation depends on those people shipping a fix, and on you deploying it, inside a day.
Before the next window, know where each Drupal instance stands. These commands run on the instance itself, not against the public hostname.
# Which core version is this? Patched: 10.5.12+, 10.6.11+, 11.2.14+ or 11.3.12+ on the same minor branch.
drush status --field=drupal-version
# Are JSON:API or REST enabled at all?
drush pm:list --status=enabled --type=module | grep -E "\((jsonapi|rest)\)"
# Is JSON:API still read-only? SA-CORE-2026-005 needs write access.
drush config:get jsonapi.settings read_onlyIf you use oEmbed URL discovery for media, SA-CORE-2026-008 also asks for a change in settings.php after the update: set $settings['media_oembed_discovery_trusted_host_patterns'] to the hosts you trust, as regular expressions. Sites that only use the providers list, for providers such as YouTube and Vimeo, are not affected by that change. The fix for SA-CORE-2026-007 checks the Host header in rebuild.php only when $settings['trusted_host_patterns'] is set, so confirm that it is.
Keep Drupal where editors work
Drupal is very good at what editors need: structured content, revisions, moderation workflows, translations, a media library and page building. None of that has to run on the public request path, because the public needs the pages that Drupal produces rather than Drupal itself.
So keep Drupal for your editors, and serve the public a static copy of what they publish. There are two ways to do that with Quant. The Quant Drupal module pushes content to Quant as editors save it, and unpublishes it when they delete it. The crawler takes a static copy of a Drupal site without a module, for any Drupal version or configuration. Either way, the public hostname serves files from the edge, and the Drupal instance only needs to be reachable by your editors and the publishing process.
That changes the patching race. You still patch the authoring side, because a flaw that needs JSON:API write access is still a flaw if someone steals an editor’s password. The difference is that you patch a system your own staff can reach, on your network or behind a VPN, rather than one that every automated scanner on the internet can reach the morning after a release. If an update takes three days instead of one, the exposure in those days is to your own people.
I have two qualifications to that. The first is that a static public site does not make an unsupported Drupal safe. It moves the unsupported code off the public request path and buys time to upgrade, and the upgrade still has to happen. We have customers still on Drupal 7 whose public side we serve statically, and for them the static copy buys the time to plan that move. The second is that not every page is static. Search, forms, filtered listings and signed-in areas need something to run when the visitor asks. Some of that moves to services at the edge, such as Quant Search and form handling for static sites, and the rest stays dynamic and needs the protections in the last section of this article.
I have been making the static case since Back To The Static in 2021, which argued that static serving is lighter, faster, more secure and costs less. Most of what changed on 17 June changed in code that a static public site never runs, which makes the security part of that argument for me.
What changed in the Quant Drupal module this month
Version 2.0.0 of the module is now a stable release for Drupal 11, and version 1.7.0 is the release for Drupal 10. Drupal 9 is no longer supported, because 1.7.0 requires Drupal 10, and Drupal 9 is end of life and gets no security fixes, as this window showed. The module now supports only the two major versions that still get security releases.
| Change | 1.7.0 (Drupal 10) | 2.0.0 (Drupal 11) |
|---|---|---|
Home page pushed at each language prefix, such as /en or /fr | Yes | Yes |
| Deletes unpublish translations, media files, image style files and Quant Search pages | Yes | Yes |
| A separate queue lock for each Quant project, so sites on one server do not block each other | Yes | Yes |
| Warnings on pages with exposed-filter views or webforms in page-building layouts | No | Yes |
| Aggregated CSS and JavaScript pushed under the file name each page uses (Drupal 10.1+) | Yes | Yes |
| Remote video embeds load from the static site | Yes | Yes |
| Search pages no longer produce unknown query parameter errors | Yes | Yes |
Three of these changes bear on the argument in this article.
The first is deleted content. A static copy is only as good as its last publish, and when an editor deletes something in Drupal the public copy has to lose it too, or the static site keeps serving content the organisation has withdrawn. Deleting a node or taxonomy term now unpublishes its translations, deleting an audio, document, image or video media item unpublishes its file, and deleting an image also unpublishes its image style files. Those are the leftovers that are easy to miss in a large multilingual site.
The second is the new warnings in 2.0.0. The module now tells administrators when a page needs extra setup on a static site, such as a page with a view that has exposed filters, or a node whose page-building layout contains a webform. Each warning links to the Drupal integration documentation. These are the pages where a visitor’s input has to go somewhere, and the Geolocation Field advisory shows why they deserve a deliberate decision: its flaw needs a view that is set to accept user input, which is exactly what an exposed filter is. On a static site, a page like that becomes static, moves to a service at the edge, or stays dynamic behind a proxy rule and the WAF, and the warning is there so that it does not stay dynamic by accident.
The third is queue locking. drush quant:run-queue now keeps a separate lock for each Quant project, so several sites on one server that push to different projects no longer block each other’s queue runs. When a run is already in progress, the message names the lock file and suggests drush quant:unlock-queue. It is a small change, and it matters to organisations that run many Drupal sites on shared infrastructure and publish all of them statically.
If you update the module, run a seed again afterwards. On Drupal 10.1 and later, some pages could reach Quant without their aggregated CSS or JavaScript files, and a fresh seed pushes any that are missing.
For the parts that must stay dynamic
Some of a Drupal estate has to stay dynamic: a decoupled API that a mobile app depends on, signed-in services, or a site that is not ready to move yet. For those I would work through the following in order, and I would not skip any of it.
Patch first. A WAF rule, such as the one Drupal Steward shipped for 005, should mitigate the common paths, but the advisory itself says not to rely on it alone, and the patched release is the fix.
Put a WAF in front of the site, and add rules to it quickly. The Quant WAF runs on proxy rules, with managed rules for SQL injection, cross-site scripting and other common attacks, rate limiting, and block lists by IP address, user agent, referer and ASN. Page rules can match on URL, HTTP method, IP address, country and ASN, so you can limit which paths reach the origin, and from where. If nothing outside your organisation should ever send a write request to /jsonapi, the edge is a good place to say so.
Restrict the origin so that only the edge can reach it. A CDN in front of a site does not help much if the origin still answers anyone who finds its address, because an attacker can go straight around the CDN and its WAF. On Quant Cloud, where you can run Drupal from a template, origin protection means visitors cannot open the application at its origin or preview domain. Traffic has to come through a Quant project that proxies to it, so your caching and WAF rules apply to every request. You can also list IP addresses or CIDR ranges, such as your VPN exit addresses, that can reach the application directly. For an authoring-only Drupal instance, that combination keeps it reachable only from your allow-listed addresses and through Quant, as long as no public proxy rule points at it.
Keep a static copy ready. Static failover keeps a static snapshot of a dynamic site at the edge and switches to it automatically when the origin is down, and you can set it to fail over when the origin’s time to first byte crosses a threshold. If you have to take the origin offline to patch, the public still gets the pages.
For Australian government teams that need their data to stay onshore, QuantGov Cloud is a Quant platform built for Australian government organisations, with data stored in Australia.
What I would do this month
If you run Drupal for an Australian agency, university or large organisation, this is the order I would work in.
- Update core on every Drupal instance to 10.5.12, 10.6.11, 11.2.14 or 11.3.12, including authoring, staging and the sites nobody has touched in a year. Then work through the contributed module advisories: the 17 June ones for Formatter Field, Flag attendance field and Plotly.js Graphing, and the 24 June wave, starting with Geolocation Field, Paragraphs and the AI modules if you run them.
- If any site is on Drupal 8 or 9, 10.4 or earlier, 11.0 or 11.1, there was no release for it in this window. Put the upgrade on the plan now, and in the meantime take its public side off the request path.
- Run the four public checks above against every public Drupal hostname. Treat each answer that is not a 404 for
/jsonapi,rebuild.phpor/user/loginas a decision to make. - On each instance, check whether JSON:API and REST are enabled and whether JSON:API is still read-only. Turn off what nothing uses. If you use oEmbed URL discovery, set
media_oembed_discovery_trusted_host_patternsinsettings.php, and confirmtrusted_host_patternsis set, because the SA-CORE-2026-007 fix checks the Host header only when it is. - For each site, decide whether its public side needs Drupal at all. For content sites, publish static and keep Drupal for your editors, on your network or behind origin protection.
- For the sites and paths that stay dynamic, put them behind a WAF and add rules to it quickly, restrict the origin so only the edge and your management network can reach it, and set up static failover.
- If you use the Quant module, move to 2.0.0 on Drupal 11 or 1.7.0 on Drupal 10, run a seed again, and review every page that shows a static-site warning.
About QuantCDN
Quant is an Australian edge platform: a CDN and WAF combined with static web hosting, with Quant Cloud for the applications that have to stay dynamic. We make Drupal and WordPress static, support the popular static site generators, and host government, education and enterprise sites across Australia. Our Drupal integration covers the module, the crawler and running Drupal on Quant Cloud. If you want help working out which parts of your Drupal estate need to be public, contact us.
Share
