Drupal core contains a potential PHP Object Injection vulnerability
Drupal core contains a potential PHP Object Injection vulnerability that (if combined with another exploit) could lead to Remote Code Execution. It is not directly exploitable.
This issue is mitigated by the fact that in order for it to be exploitable, a separate vulnerability must be present to allow an attacker to pass unsafe input to unserialize(). There are no such known exploits in Drupal core.
To help protect against this potential vulnerability, types have been added to properties in some of Drupal core's classes. If an application extends those classes, the same types may need to be specified on the subclass to avoid a TypeError.
This issue affects Drupal Core: from 8.0.0 before 10.2.11, from 10.3.0 before 10.3.9, from 11.0.0 before 11.0.8.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/core | >= 8.8.0, < 10.2.11, >= 10.3.0, < 10.3.9, >= 11.0.0, < 11.0.8 | 10.2.11, 10.3.9, 11.0.8 |
| Composer package | drupal/core-recommended | >= 8.8.0, < 10.2.11, >= 10.3.0, < 10.3.9, >= 11.0.0, < 11.0.8 | 10.2.11, 10.3.9, 11.0.8 |
| Composer package | drupal/drupal | >= 8.8.0, < 10.2.11, >= 10.3.0, < 10.3.9, >= 11.0.0, < 11.0.8 | 10.2.11, 10.3.9, 11.0.8 |
| Drupal (core) | drupal/core | >= 8.8.0, < 10.2.11, >= 10.3.0, < 10.3.9, >= 11.0.0, < 11.0.8, >= 8.8.0, < 10.2.11, >= 10.3.0, < 10.3.9, >= 11.0.0, < 11.0.8, >= 8.8.0, < 10.2.11, >= 10.3.0, < 10.3.9, >= 11.0.0, < 11.0.8 | 10.2.11, 10.3.9, 11.0.8 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-502, CWE-915- Platform
- Composer, Drupal
- Package
drupal/core, drupal/core-recommended, drupal/drupal- Disclosed
- 20.11.2024
- Updated
- 11.10.2026 12:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-w6rx-9g2x-mg5g - CC BY 4.0
OSV / GitHub Advisory Database - DRUPAL-CORE-2024-007 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/core-recommended
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 6
- First → latest
- 08.2024 11.2024
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Medium 3
- Low 1
Disclosures per year
- 2024: 6
- 2025: 0
- 2026: 0
-
Drupal core contains a potential PHP Object Injection vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.