r/drupal • • 11d ago

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

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

21 comments sorted by

4

u/badasimo 10d ago

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

4

u/chiachilla 10d 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 10d ago edited 10d ago

No one knew about the exploit until today

2

u/cmlara 9d 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.

1

u/cmlara 3d ago

At least one of the reporting organizations has published their write up on this incident

https://www.slcyber.io/research/fail2install-system-limits-pre-auth-rce-drupal

It was a new RCE path separate from having UID 1.

17

u/zad370 11d 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 11d ago • Heartwarming

5

u/zad370 11d 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 10d ago

Thank you my cake day present

4

u/miststudent2011 9d 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. 

10

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

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

13

u/DrDam8584 11d ago

Thanks Drupal Steward provide by DrupalSecurityTeam...

5

u/RecklessCube 11d 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 10d ago

Same w Acquia (disclosure I work there!)

1

u/millenniumtree 10d 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 10d ago

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

1

u/__ButtStuff69__ 11d ago

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

1

u/pianomansam 11d ago

Secured how?

4

u/__ButtStuff69__ 10d ago

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

2

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

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

0

u/pianomansam 10d ago

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