Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. compliance-trestle
  4. ›
  5. CVE-2026-46345

CVE-2026-46345: compliance-trestle - jinja has an Arbitrary File Write via Path Traversal

May 28, 2026

Relevant Products/Components:

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

References

  • github.com/advisories/GHSA-4q5v-7g7x-j79w
  • github.com/oscal-compass/compliance-trestle/commit/247fcce289f60103f3d8e28d8ec51a6986b94fb6
  • github.com/oscal-compass/compliance-trestle/commit/7d107b3ac53caca7bde97a6278b23cd739d94525
  • github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5v-7g7x-j79w
  • nvd.nist.gov/vuln/detail/CVE-2026-46345

Code Behaviors & Features

Detect and mitigate CVE-2026-46345 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.12.2, all versions starting from 4.0.0 before 4.0.3

Fixed versions

  • 3.12.2
  • 4.0.3

Solution

Upgrade to versions 3.12.2, 4.0.3 or above.

Impact 8.4 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-36: Absolute Path Traversal
  • CWE-73: External Control of File Name or Path

Source file

pypi/compliance-trestle/CVE-2026-46345.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:30 +0000.