SCA: security update for compliance-trestle (GHSA-4q5v-7g7x-j79w)

high Tenable Cloud Security Plugin ID 442442

Description

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

- compliance-trestle is a tooling platform for managing compliance as code. Prior to versions 3.12.2 and
4.0.3, the `-o/--output` argument in `trestle author jinja` allows writing files outside the intended
workspace. The application does not properly validate, `../`, `..\`, or absolute paths. This allows
arbitrary file write to attacker-controlled locations. Versions 3.12.3 and 4.0.3 patch the issue.
(CVE-2026-46345)

Solution

Update the compliance-trestle library and its related packages to version 3.12.2 or later.

See Also

https://github.com/advisories/GHSA-4q5v-7g7x-j79w

Plugin Details

Severity: High

ID: 442442

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 5/28/2026

Updated: 8/17/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.93

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

CVSS Score Source: CVE-2026-46345

CVSS v3

Risk Factor: High

Base Score: 8.4

Temporal Score: 7.3

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/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: 5/28/2026

Vulnerability Publication Date: 5/28/2026

Reference Information

CVE: CVE-2026-46345