> CVE-2026-46345 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-08-17 18:16
MODIFIED
2026-08-17 18:16
CVSS_SCORE V3
8.4
EPSS (Prob. Exploit)
0.20%
Top 90.3%
DATA SOURCES:
NVD đź”— 2026-08-17 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-18 GITHUB đź”— 2026-10-15 OSV đź”— 2026-10-26

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EXPLOITABILITY
2.5
IMPACT
5.9

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-22 CWE-36 CWE-73

> CWE DETAILED DESCRIPTIONS

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. | CWE-36: Absolute Path Traversal - The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize absolute path sequences such as "/abs/path" that can resolve to a location that is outside of that directory. | CWE-73: External Control of File Name or Path - The product allows user input to control or influence paths or file names that are used in filesystem operations.

> GITHUB SECURITY ADVISORY

GHSA-4q5v-7g7x-j79w HIGH

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

AFFECTED PACKAGES:
PIP / compliance-trestle
<= 3.12.1
Fixed in: 3.12.2
PIP / compliance-trestle
>= 4.0.0, < 4.0.3
Fixed in: 4.0.3

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
101 versions affected
ALIASES:
GHSA-4q5v-7g7x-j79w, PYSEC-2026-2423

> HISTORIQUE DES MODIFICATIONS

Première apparition
17/08/2026 18:16
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - The product uses external input to construct a pathname that is intended to identify a file or directory that i...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/oscal-compass/compliance-trestle/commit/247fcce289f60103f3d8e...
https://github.com/oscal-compass/compliance-trestle/commit/7d107b3ac53caca7bde97...
https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5...
https://github.com/pypa/advisory-database/tree/main/vulns/compliance-trestle/PYS...
https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5...
« BACK_TO_HOME