Drupal core contains a chain of existing methods (a "gadget chain") that an attacker could use to include arbitrary files, and from there possibly run code on your server. It isn't a hole on its own. It needs a separate flaw that passes untrusted data to PHP's unserialize() (turning stored text back into objects, known as PHP object injection). Drupal's advisory says there are no such known flaws in Drupal core.
Who is affected
Sites on drupal/core from 8.0.0 up to the fixed releases below. The chain matters only where custom code or a contributed module calls unserialize() on data a user can control, such as request input or cookies. Drupal rates the configuration needed as uncommon. Sites that never unserialize untrusted input aren't exposed through this chain.
What to do
Update to the fixed release for your branch:
- Drupal 10.3: update to 10.3.13
- Drupal 10.4: update to 10.4.3
- Drupal 11.0: update to 11.0.12
- Drupal 11.1: update to 11.1.3
Drupal 10 releases before 10.3 no longer get security fixes, so move to a supported branch.
Reported by anzuukino and shin24.