Drupal Core Remote Code Execution Vulnerability

Description

Drupal before 7.58, 8.x before 8.3.9, 8.4.x before 8.4.6, and 8.5.x before 8.5.1 allows remote attackers to execute arbitrary code because of an issue affecting multiple subsystems with default or common module configurations.

Basic information

Type
reviewed
Severity
critical
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2022-05-14 01:29:45 UTC
Updated
2025-10-22 17:30:08 UTC
GitHub reviewed
2024-04-23 22:36:48 UTC
NVD published
2018-03-29

EPSS Score

Score Percentile
94.49% 100.00%

CVSS Scores

Base score Version Severity Vector
9.8 3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
Exploit maturity (E:H)
Exploits are easy to find or already weaponized—assume people are using them.

Identifiers

CWEs

CWE id Name
CWE-20 Improper Input Validation

Affected packages (8)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
composer drupal/core >= 7.0, < 7.58 7.58
composer drupal/core >= 8.0, < 8.3.9 8.3.9
composer drupal/core >= 8.4.0, < 8.4.6 8.4.6
composer drupal/core >= 8.5.0, < 8.5.1 8.5.1
composer drupal/drupal >= 7.0, < 7.58 7.58
composer drupal/drupal >= 8.0, < 8.3.9 8.3.9
composer drupal/drupal >= 8.4, < 8.4.6 8.4.6
composer drupal/drupal >= 8.5, < 8.5.1 8.5.1

References

cvelogic Threat Intelligence