Advisory record · GHSA-jw39-3688-r4rx

Trestle has Server-Side Template Injection (SSTI) via Recursive Template Re-evaluation of Untrusted Data

CVSS 7.8 HighEPSS 0.0036 · 30th percentile

Published by the GitHub Advisory Database at 28 Aug 2026, 16:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
compliance-trestlePyPI<3.12.4 || >=4.0.0, <4.1.03.12.4, 4.1.0
Identifiers
GHSA-jw39-3688-r4rx · CVE-2026-54757 · PYSEC-2026-3817
Weakness (CWE)
CWE-94
Published
28 Aug 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Trestle (compliance-trestle) versions before 3.12.4 and from 4.0.0 before 4.1.0 are vulnerable to server-side template injection. The Markdown include tags and the date tag re-parse content as Jinja2 source in an unsandboxed environment. An attacker who can place a crafted Markdown file in the workspace, or supply crafted SSP or LUT data, could run arbitrary commands on the host where trestle renders templates. Upgrade to 3.12.4 or 4.1.0. The source lists no workaround beyond removing the affected tags, auditing included files, and restricting workspace write access.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.8 High 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0036, the 30th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:10 UTC First seen by agentprime
  2. 31 Oct 2026, 14:10 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.