r/drupal • • 4d ago

Drupal core - Critical - Remote code execution - SA-CORE-2026-017

https://www.drupal.org/sa-core-2026-017
49 Upvotes

20 comments sorted by

4

u/badasimo 4d ago

OK but install.php has been Drupal architecture for 20 years probably so is this really possible to exploit?

4

u/chiachilla 4d ago

Pantheon has also removed the install.php in their Drupal 7 LTS, so it seems like this has been slumbering there all this time. https://docs.pantheon.io/release-notes/2026/11/drupal-core-security-release

0

u/pianomansam 4d ago edited 4d ago

No one knew about the exploit until today

2

u/cmlara 3d ago

I wouldn’t say that’s entirely accurate.

We have known about the most significant part of this for quite some time.

The root fault patched appears to be that the installer can run again after a site has been deployed. That issue has been raised previously to the core and security team and and cleared at least once for public discussion

https://www.drupal.org/project/drupal/issues/34558

I’m not sure if they are claiming a new RCE is also present there (no direct patch I saw for one however could be in error handeling) or if they are referring to the privilege escalation to UID 1can allow arbitrary code execution later (such as devel-php).

I’m assuming they found another more common way to trigger this , however that wouldn’t change that the root flaw (can run again) was noted years ago.

17

u/zad370 4d ago

There is a PHP security patch being released tomorrow. https://www.php.net/archive/2026.php#2026-11-18-1

10

u/game-mad-web-dev 4d ago • Heartwarming

5

u/zad370 4d ago

Yeap... we went from biweekly release cycle to almost two releases a week. Our releases happen after hours, so often it ends up close to midnight.

5

u/spaceyraygun 4d ago

Thank you my cake day present

10

u/alphex https://www.drupal.org/u/alphex 4d ago

Reason #72613 why all my sites are on pantheon. This is protected against at the edge.

13

u/DrDam8584 4d ago

Thanks Drupal Steward provide by DrupalSecurityTeam...

5

u/RecklessCube 4d ago

Yupp. Pantheon is op. For the handful of apps not on the installer. Shutting down installer.php access at the Apache level should do the trick as well as hardening settings.php although I think that’s just needed if they could access installer in the first place

4

u/mherchel https://drupal.org/user/118428 4d ago

Same w Acquia (disclosure I work there!)

1

u/millenniumtree 4d ago

Our nginx config has blocked access to install.php for over 10 years, and anybody who leaves web-write access on their settings.php should just go back to Wordpress, circa 2012, where everything was web-writeable, and every Wordpress site got hacked within a week.

That being said, I'm getting sick of all these patches... But thankful this one was a bit of a nothing-burger.

3

u/Cheap-Procedure-5413 4d ago

What about update.php? Should it be hidden too? Can it be hypocritically exploited?

3

u/miststudent2011 3d ago

I think this can be mitigated by creating a post install composer hook which deletes the install.php file. I have been using this approach from a couple of years. 

1

u/__ButtStuff69__ 4d ago

The messaging seems vague, but am I safe from this if install.php is already secured?

1

u/pianomansam 4d ago

Secured how?

4

u/__ButtStuff69__ 4d ago

Via Apache and htaccess. /install.php returns a 403 Forbidden

2

u/alphex https://www.drupal.org/u/alphex 4d ago

That should work if configured right. But you want to upgrade asap.

0

u/pianomansam 4d ago

We did a similar path but are now working on pushing the updated core release.