PT-2026-44730 · Unknown · Compliance-Trestle

CVE-2026-46345

·

Published

2026-05-28

·

Updated

2026-07-13

CVSS v3.1

8.4

High

VectorAV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions compliance-trestle (affected versions not specified)
Description An arbitrary file write issue exists in the trestle author jinja command due to improper validation of the -o/--output argument. The application fails to sanitize directory traversal sequences such as ../ and .., as well as absolute paths, allowing files to be written outside the intended workspace. This can be exploited to overwrite sensitive files, including .github/workflows/*.yml for CI/CD compromise, .git/hooks/* for local code execution, or user configuration files like .bashrc. The issue is located in the trestle/core/commands/author/jinja.py file.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability. As a temporary workaround, avoid using the -o/--output parameter with untrusted input in the trestle author jinja command.

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-46345
GHSA-4Q5V-7G7X-J79W
PYSEC-2026-2423

Affected Products

Compliance-Trestle