SCA: security update for twig/twig (GHSA-p42q-9prx-q5wq)

medium Tenable Self-Hosted Container Security Plugin ID 444178

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, deprecated internal wrappers in
src/Resources/core.php do not forward the current sandbox state to CoreExtension::checkArrow(),
arraySome(), and arrayEvery(), allowing legacy calls such as twig_array_some(), twig_array_every(), and
twig_check_arrow_in_sandbox() to bypass sandbox callable restrictions. This issue is fixed in version
3.27.0. (CVE-2026-48805)

Solution

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

See Also

https://github.com/advisories/GHSA-p42q-9prx-q5wq

Plugin Details

Severity: Medium

ID: 444178

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 6/30/2026

Updated: 7/20/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.69

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

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

CVSS Score Source: CVE-2026-48805

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/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: 5.3

Threat Score: 1.3

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/30/2026

Vulnerability Publication Date: 6/30/2026

Reference Information

CVE: CVE-2026-48805

cwe: CWE-693