SCA: security update for twig/twig (GHSA-7fxw-r6jv-74c8)

medium Tenable Self-Hosted Container Security Plugin ID 442276

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Twig is a template language for PHP. Prior to 3.26.0, {% sandbox %}{% include %} can include a template
that was previously loaded outside the sandbox without re-invoking checkSecurity(), allowing the cached
template to use tags, filters, and functions that should have been denied by
SecurityPolicy::checkSecurity(). This issue is fixed in version 3.26.0. (CVE-2026-46638)

Solution

Update the twig/twig library and its related packages to version 3.26.0 or later.

See Also

https://github.com/advisories/GHSA-7fxw-r6jv-74c8

Plugin Details

Severity: Medium

ID: 442276

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 5/22/2026

Updated: 7/16/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.87

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:N

CVSS Score Source: CVE-2026-46638

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6

Threat Score: 2.3

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/21/2026

Vulnerability Publication Date: 5/21/2026

Reference Information

CVE: CVE-2026-46638

cwe: CWE-693