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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22",
"CWE-36",
"CWE-73"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46345.json"
}{
"extracted_events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.3"
},
{
"introduced": "0"
},
{
"fixed": "3.12.2"
}
],
"source": [
"AFFECTED_FIELD",
"REFERENCES"
]
}