External Control of File Name or Path Affecting compliance-trestle package, versions [,3.12.2)[4.0.0,4.0.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about External Control of File Name or Path vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-COMPLIANCETRESTLE-17283177
  • published10 Jun 2026
  • disclosed28 May 2026
  • creditLAKSHMIKANTHAN K

Introduced: 28 May 2026

NewCVE-2026-46345  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-36  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade compliance-trestle to version 3.12.2, 4.0.3 or higher.

Overview

compliance-trestle is a Tools to manage & autogenerate python objects representing the OSCAL layers/models

Affected versions of this package are vulnerable to External Control of File Name or Path via the -o/--output argument in the trestle author jinja. An attacker can overwrite arbitrary files outside the intended workspace by supplying crafted path traversal sequences, such as ../ or absolute paths, as output destinations. This can result in the modification of sensitive files, execution of attacker-controlled code, or compromise of CI/CD workflows.

CVSS Base Scores

version 4.0
version 3.1