SCA: security update for org.thymeleaf:thymeleaf, org.thymeleaf:thymeleaf-spring5, org.thymeleaf:thymeleaf-spring6 (GHSA-r4v4-5mwr-2fwr)

high Tenable Cloud Security Plugin ID 440441

Description

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

- Thymeleaf is a server-side Java template engine for web and standalone environments. Versions
3.1.3.RELEASE and prior contain a security bypass vulnerability in the expression execution mechanisms.
Although the library provides mechanisms to prevent expression injection, it fails to properly restrict
the scope of accessible objects, allowing specific potentially sensitive objects to be reached from within
a template. If an application developer passes unvalidated user input directly to the template engine, an
unauthenticated remote attacker can bypass the library's protections to achieve Server-Side Template
Injection (SSTI). This issue has ben fixed in version 3.1.4.RELEASE. (CVE-2026-40477)

Solution

Update the org.thymeleaf:thymeleaf library and its related packages to version 3.1.4.RELEASE or later.

See Also

https://github.com/advisories/GHSA-r4v4-5mwr-2fwr

Plugin Details

Severity: High

ID: 440441

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 4/16/2026

Updated: 6/30/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.16

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

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

CVSS Score Source: CVE-2026-40477

CVSS v3

Risk Factor: High

Base Score: 8.5

Temporal Score: 7.4

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/15/2026

Vulnerability Publication Date: 4/15/2026

Reference Information

CVE: CVE-2026-40477