CVE-2026-57170: oscal-compass compliance-trestle · Code Injection
Affects oscal-compass compliance-trestleSource CVE Database V5
Not known to be exploited · CVSS 7.8 High : upgrade to 4.1.0 or 3.12.4 soon.
Data as of 23 Nov 2026, 21:15 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.1.0, 3.12.4
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 25 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade oscal-compass compliance-trestle to 4.1.0 or 3.12.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| oscal-compasscompliance-trestle | Affected
| Fixed in
|
| oscal-compasscompliance-trestle | Affected
| Fixed in
|
AI-suggested
Upgrade to compliance-trestle version 4.1.0 or later, where this vulnerability is fixed by using a sandboxed Jinja2 environment for template parsing. Patch status is not explicitly confirmed in the advisory, but the fix is stated to be in version 4.1.0. Until upgrade, avoid processing untrusted OSCAL data that could contain malicious Jinja2 syntax in included Markdown files.
Description
Compliance-trestle versions prior to 3.12.4 and 4.0.0 through 4.0.3 contain a server-side template injection vulnerability due to improper handling of Jinja2 include tags. These tags re-parse included Markdown files as Jinja2 templates in a non-sandboxed environment, allowing arbitrary code execution. The issue is fixed in version 4.1.0.
References
- github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-mr95-65j8-9mxp (opens in a new tab)
- github.com/oscal-compass/compliance-trestle/commit/0f82d19bd42f9cc0f1b3acd7fc3f6dafe3b6ae10 (opens in a new tab)
- github.com/oscal-compass/compliance-trestle/commit/5335ff873a2a68eb7de43df029bea09cadff22fd (opens in a new tab)