8.4
HIGH CVSS 3.1
CVE-2026-46345
compliance-trestle - jinja has an Arbitrary File Write via Path Traversal
Description

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.

INFO

Published Date :

Aug. 17, 2026, 6:16 p.m.

Last Modified :

Aug. 17, 2026, 6:16 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-46345 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH [email protected]
Solution
Update compliance-trestle to patched versions to prevent arbitrary file writes.
  • Update to compliance-trestle versions 3.12.3 or 4.0.3.
  • Apply vendor-provided patches for compliance-trestle.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-46345 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-46345 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-46345 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Aug. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'oscal-compass', 'product': 'compliance-trestle', 'versions': [{'status': 'affected', 'version': '>= 4.0.0, < 4.0.3'}, {'status': 'affected', 'version': '< 3.12.2'}]}]
    Added Description 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.
    Added CVSS V3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-22
    Added CWE CWE-36
    Added CWE CWE-73
    Added Reference https://github.com/oscal-compass/compliance-trestle/commit/247fcce289f60103f3d8e28d8ec51a6986b94fb6
    Added Reference https://github.com/oscal-compass/compliance-trestle/commit/7d107b3ac53caca7bde97a6278b23cd739d94525
    Added Reference https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5v-7g7x-j79w
    Added Reference https://github.com/pypa/advisory-database/tree/main/vulns/compliance-trestle/PYSEC-2026-2423.yaml
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Aug. 17, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5v-7g7x-j79w
    Added SSVC {'id': 'CVE-2026-46345', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-08-17T18:03:21.229026Z'}
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.