SCA: security update for twig/twig (GHSA-529h-vh3j-85hq)

medium Tenable Cloud Security Plugin ID 444198

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.27.0, the per-template filter, tag, and function allow-
list verdict is computed when a Template instance is constructed and can remain cached after sandbox state
changes between renders, allowing a later sandboxed render to reuse a template that was originally checked
with a different or empty policy. This issue is fixed in version 3.27.0. (CVE-2026-49981)

Solution

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

See Also

https://github.com/advisories/GHSA-529h-vh3j-85hq

Plugin Details

Severity: Medium

ID: 444198

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 7/1/2026

Updated: 7/20/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

Percentile: 96.36

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

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

CVSS Score Source: CVE-2026-49981

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/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: 7/1/2026

Vulnerability Publication Date: 7/1/2026

Reference Information

CVE: CVE-2026-49981