Arbitrary Code Injection Affecting drupal-11.3 package, versions <11.3.10-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.41% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-DRUPAL113-16801304
  • published23 May 2026
  • disclosed14 Jul 2026

Introduced: 23 May 2026

CVE-2026-46640  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Chainguard drupal-11.3 to version 11.3.10-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream drupal-11.3 package and not the drupal-11.3 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Twig is a template language for PHP. From 3.15.0 until 3.26.0, _self.(<string>) and import-alias dynamic attribute syntax can concatenate an attacker-controlled string into a MacroReferenceExpression name without identifier validation, causing raw PHP to be emitted into the generated template source and executed at template-load time. This issue is fixed in version 3.26.0.