CVE-2026-46345

HIGHPre-NVD 8.48.4
EchelonGraph scoreLOW confidence

This high-severity CVE scores 8.4 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit probability: 0.1%, top 84% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: cna:github_m, epss
8.4
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 0%CVSS: 8.4Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

compliance-trestle - jinja has an Arbitrary File Write via Path Traversal

Relevant Products/Components:

* trestle/core/commands/author/jinja.py * trestle author jinja


Detailed Description:

The -o/--output argument in trestle author jinja allows writing files outside the intended workspace.

The application does not properly validate:

* ../ * ..\ * absolute paths

This allows arbitrary file write to attacker-controlled locations.

Vulnerable code:

output_file = trestle_root / r_output_file

An attacker can overwrite files such as:

* .github/workflows/*.yml * .git/hooks/* * user writable config files

This can lead to CI/CD compromise or local code execution.


Steps To Reproduce:

  • Clone the repository:

git clone https://github.com/oscal-compass/compliance-trestle.git
cd compliance-trestle
  • Create template:

echo "hello" > template.j2
  • Run:

trestle author jinja -i template.j2 -o "subdir\..\..\..\..\..\poc.txt"
  • Observe:

dir E:\poc.txt

The file is written outside the repository workspace.


Browsers Verified In:

Not browser related.

Tested on:

* Windows 11 * Python 3.13


Supporting Material/References:

Affected file:

trestle/core/commands/author/jinja.py

Successfully verified:

* directory traversal using ../ * Windows traversal using ..\ * arbitrary file write outside workspace


Access Vector Required for Exploitation:

Local


Vulnerability Exists in Default Configuration?:

Yes


Is the exploitation trivial or does it involve a multi-step process that may depend on user/victim interaction?:

Trivial. Single command execution.


Exploitation Requires Authentication?:

No


Under what privileges does the vulnerable service or component run?:

Runs with privileges of the user executing the trestle command.

Impact

An attacker can write files outside the intended workspace directory and overwrite sensitive files writable by the current user.

Possible impacts include:

* overwriting .github/workflows/*.yml to execute attacker-controlled GitHub Actions workflows * overwriting .git/hooks/* for local code execution * modifying user configuration files such as .bashrc * tampering with repository files and generated compliance artifacts

In CI/CD environments, this may result in execution of attacker-controlled commands on build runners.

CVSS v3
8.4
EG Score
8.4(low)
EPSS
16.2%
KEV
Not listed

Published

May 28, 2026

Last Modified

May 28, 2026

Vendor Advisories for CVE-2026-46345(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(1 across 1 ecosystem)
PyPI(1)
PackageVulnerable rangeFixed inDependents
compliance-trestle0.0.2 ... 3.9.3 (97 versions)3.12.2

Data Freshness Timeline

(refreshed 1× in last 7d / 21× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-11 19:48 UTCEG score recompute
  2. 2026-07-08 18:05 UTCEG score recompute
  3. 2026-07-02 23:18 UTCEG score recompute
  4. 2026-07-02 10:26 UTCEG score recompute
  5. 2026-07-01 14:09 UTCEG score recompute
  6. 2026-07-01 02:47 UTCEG score recompute
  7. 2026-06-30 01:38 UTCEG score recompute
  8. 2026-06-29 13:39 UTCEG score recompute
  9. 2026-06-28 16:48 UTCEG score recompute
  10. 2026-06-28 05:26 UTCEG score recompute
  11. 2026-06-27 18:04 UTCEG score recompute
  12. 2026-06-27 04:42 UTCEG score recompute
  13. 2026-06-26 16:43 UTCEG score recompute
  14. 2026-06-25 19:23 UTCEG score recompute
  15. 2026-06-25 08:01 UTCEG score recompute
  16. 2026-06-24 16:29 UTCEG score recompute
  17. 2026-06-18 23:58 UTCEG score recompute
  18. 2026-06-17 19:37 UTCEG score recompute
  19. 2026-06-17 08:16 UTCEG score recompute
  20. 2026-06-16 20:53 UTCEG score recompute
  21. 2026-06-16 09:32 UTCEG score recompute
  22. 2026-06-15 21:34 UTCEG score recompute
  23. 2026-06-15 06:33 UTCEG score recompute
  24. 2026-06-14 23:18 UTCEPSS rescore
  25. 2026-06-14 19:11 UTCEG score recompute
Show 32 more
  1. 2026-06-14 07:49 UTCEG score recompute
  2. 2026-06-13 23:00 UTCEPSS rescore
  3. 2026-06-13 20:27 UTCEG score recompute
  4. 2026-06-13 08:41 UTCEG score recompute
  5. 2026-06-12 23:12 UTCEPSS rescore
  6. 2026-06-12 21:19 UTCEG score recompute
  7. 2026-06-12 09:57 UTCEG score recompute
  8. 2026-06-11 22:34 UTCEG score recompute
  9. 2026-06-11 11:13 UTCEG score recompute
  10. 2026-06-10 23:50 UTCEG score recompute
  11. 2026-06-10 12:28 UTCEG score recompute
  12. 2026-06-10 01:07 UTCEG score recompute
  13. 2026-06-09 13:45 UTCEG score recompute
  14. 2026-06-09 02:24 UTCEG score recompute
  15. 2026-06-08 15:02 UTCEG score recompute
  16. 2026-06-08 03:40 UTCEG score recompute
  17. 2026-06-07 16:18 UTCEG score recompute
  18. 2026-06-07 04:56 UTCEG score recompute
  19. 2026-06-06 17:35 UTCEG score recompute
  20. 2026-06-06 06:13 UTCEG score recompute
  21. 2026-06-05 18:51 UTCEG score recompute
  22. 2026-06-05 07:29 UTCEG score recompute
  23. 2026-06-04 20:07 UTCEG score recompute
  24. 2026-06-04 08:45 UTCEG score recompute
  25. 2026-06-03 21:23 UTCEG score recompute
  26. 2026-06-03 10:01 UTCEG score recompute
  27. 2026-06-02 22:39 UTCEG score recompute
  28. 2026-06-02 11:17 UTCEG score recompute
  29. 2026-06-01 23:55 UTCEG score recompute
  30. 2026-06-01 12:31 UTCEG score recompute
  31. 2026-06-01 01:03 UTCEG score recompute
  32. 2026-05-28 18:06 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-46345?
CVE-2026-46345 is a high vulnerability published on May 28, 2026. compliance-trestle - jinja has an Arbitrary File Write via Path Traversal Relevant Products/Components: trestle/core/commands/author/jinja.py trestle author jinja --- Detailed Description: The -o/--output argument in trestle author jinja allows writing files outside the intended workspace. The…
When was CVE-2026-46345 disclosed?
CVE-2026-46345 was first published in the National Vulnerability Database on May 28, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-46345 actively exploited?
CVE-2026-46345 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 16.2% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-46345?
CVE-2026-46345 has a CVSS v4.0 base score of 8.4 (CNA self-assessment; NVD's own analysis pending). The EG score is currently aggregating — additional source signals are being incorporated as they become available..
How do I remediate CVE-2026-46345?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-46345, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-46345

Explore →

Is Your Infrastructure Affected by CVE-2026-46345?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.