❌

Normal view

How do disable a module when it causes a bootstrap failure which stops drush from removing it via pm:uninstall?

Upgrading a Drupal 10.4.x installation via composer has resulted in this bootsrap error.

PHP Fatal error: Type of Drupal\shortcut_menu\ShortcutMenuLazyBuilder::$entityTypeManager must be ? Drupal\Core\Entity\EntityTypeManagerInterface (as in class Drupal\shortcut\ShortcutLazyBuilders) in /var/www/html/web/modules/contrib/shortcut_menu/src/ShortcutMenuLazyBuilder.php on line 9 

drush cr, drush cc drush upgradedb:status and drush pm:uninstall all fail because of

How can I disable it?

Can I use composer to do it, or will it be better to disable it by setting the value in the system table or some other table that disables the module?

Does the latter method work for the Drupal 10+ series?

submitted by /u/vfclists
[link] [comments]

Is deploying with an artifact repository still state of the art?

We once had a consultation with a Drupal Agency when we moved from D7 to D9. They explained to us that "blt artifact deploy" can be used to fill a git repository that is then copied to the server for hosting using CI/CD.

With BLT not being maintained anymore, what's the successor for this kind of workflow? Is there a replacement to handle this? Should it be done on a per project basis and artifact deploy isn't a valid approach anymore?

Would like to get some insight on how others do this and appreciate any feedback or hints to tooling or workflow to learn.

submitted by /u/splatterb0y
[link] [comments]

Recommended way to change a theme's css?

As the subject says, I'd love to edit some theming colors to recreate an old site stuck at Drupal 7, the theme itself is Bootstrap Business and while this was part of the theme back in the day those options no longer exist in the current version for D11

What is the best/recommended way in 2026?

submitted by /u/AmonMetalHead
[link] [comments]

Passwordless login via code

Is there a call for passwordless login via an emailed access code?

I've recently implemented the passwordless module (https://www.drupal.org/project/passwordless) on a site which utilises the core reset password functionality to log users straight in via unique login link.

The negatives are a user wanting to access a page via an external link that they need to log in to view, the page they want to access is lost in the process of receiving the email and clicking to log in. With an extra page with an access code form the user can then navigate to the page they want. Or is this niche? Or have I not found and implemented the correct flow/configuration?

Any feedback or advice is appreciated πŸ˜„

submitted by /u/markov_ovlov
[link] [comments]

Does 'ddev composer update "drupal/*" --with-all-dependencies' exclude Drupal core?

I just run this command I didn't see any drupal/core-xxxx packages in the listing.

The disk was running out of space and saw the message in the admin that I didn't have enough space, ie 1024k to upgrade Drupal core and wonder if that was why the above command didn't upgrade Drupal core as well.

I upgraded it using composer require drupal/core-recommended:11.1.10 drupal/core-composer-scaffold:11.1.10 drupal/core-project-message:11.1.10 --update-with-all-dependencies

It was as far as I could go probably it was a Drupal CMS 1.0 installation.

submitted by /u/vfclists
[link] [comments]

CVE-2026-9082 is now on CISA KEV β€” anyone else seeing active scan traffic targeting PostgreSQL Drupal installs?

CISA added CVE-2026-9082 to the KEV catalog yesterday (May 22). For those catching up: this is an unauthenticated SQL injection in Drupal Core's database abstraction API that affects PostgreSQL-backed installs. There's working PoC code from Searchlight Cyber already in the wild, and SecurityWeek confirmed attacks on thousands of sites.

The technical detail that I think is being undersold in the mainstream coverage:

The flaw is in the code that's *supposed to prevent* SQL injection. The Drupal database abstraction API is used precisely to sanitize queries before they hit PostgreSQL. A user-supplied PHP array key reached the SQL placeholder construction stage without being stripped. The patch is an `array_values()` call that resets array keys to sequential numerics before they can do damage. It's clean and correct β€” but it took a disclosure for anyone to notice the gap.

The thing I'm curious about from people running Drupal in enterprise environments: **are you treating Drupal's pre-announcement PSA (published May 18, three days before the actual advisory) as enough lead time to get patches through your change management process? Or is the 24-72 hour window still too tight for your approval workflows?**

I ask because that gap β€” between when you can prepare and when the PoC drops β€” is increasingly the only window defenders actually have.

---

I previously covered a similar platform-layer trust failure in the CVE-2026-41940 cPanel Authentication Bypass if you want background on how attackers operationalize these types of vulnerabilities: https://www.techgines.com/post/cve-2026-41940-cpanel-authentication-bypass-zero-day

Full technical breakdown with patch table and exploit mechanics: https://www.techgines.com/post/cve-2026-9082-drupal-sql-injection-postgresql-rce

Not looking to just drop a link β€” genuinely interested in how people are managing the patch urgency vs. change control tension here.

submitted by /u/Expert_Sort7434
[link] [comments]

Project Glasswing

I’m not sure how this slipped under the radar but check this out.

The Drupal Association has been given a grant, and we know from the credits on symfony vulnerabilities that Mythos has scanned them.

This is huge and reassures us that once again, Drupal is, and will remain, the most secure open-source CMS out there.

https://thephp.foundation/blog/2026/05/18/announcing-ecosystem-security-team/

Edit - reworded para 2 based on rereading the context.

submitted by /u/davidrwb
[link] [comments]

Building Drupal at 79 years old

I picked up a new client today. A charity based in the UK.

The β€œwebmaster” (her words) was a 79 year old lady who started Drupal when she was 70.

It was a delight to talk to her and hear her talk about composer, git, and the things we take for granted.

It’s honestly one of the most wholesome things I’ve encountered in my 20+ years of running a Drupal agency.

She wanted a D10 to D11 upgrade and explained about the composer hell she went through. I agreed to help her and estimated a couple of hours to assist. It’s a super simple site, and that’s honestly how long it will take.

Anyway, I wanted to share the story and I hope I’m still doing Drupal at the age of 79 with as much passion as my new client has for her project.

submitted by /u/davidrwb
[link] [comments]

🚨 Drupal Core SQLi (CVE-2026-9082)

Tiny patch, huge impact:

if (is_array($condition['value'])) {
$condition['value'] = array_values($condition['value']);
}

Drupal fixed PostgreSQL placeholder generation by reindexing array keys before query translation.

Without it, attacker-controlled keys could influence SQL placeholder construction.

Affects PostgreSQL-backed Drupal sites.
Anonymous exploitation possible.

Advisory:
[https://www.drupal.org/sa-core-2026-004\](https://www.drupal.org/sa-core-2026-004)

[https://cveplayground.com/blog/cve-2026-9082-drupal-core-sql-injection?utm\\\_source=reddit\](https://cveplayground.com/blog/cve-2026-9082-drupal-core-sql-injection?utm\_source=reddit)

submitted by /u/Protection-Mobile
[link] [comments]
❌