Trilium is an open-source hierarchical note-taking application. In versions prior to 0.104.0, the default-on "Safe import" filter fails to neutralize the shareTemplate relation because that relation is not marked as dangerous, allowing an attacker-supplied import archive to plant a server-side template that leads to remote code execution. The relation is omitted from the built-in list of dangerous attributes, so unlike other code-loading relations it is not disabled on import, and when the victim later publishes the imported note the public share renderer feeds the linked EJS code note's raw bytes into ejs.render, which compiles them in the server's Node process. An unauthenticated request to the shared note then executes the attacker's JavaScript with full access to require, process, the filesystem, and the network. This issue is fixed in version 0.104.0.
CVE-2026-47727
This high-severity CVE scores 8.6 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 64% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.6
- EG Score
- 8.6(medium)
- EG Risk
- 55(Track*)EG Risk 55/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity86% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS PROB
- 0%
- EPSS %ILE
- 36%
- KEV
- Not listed
Published
August 27, 2026
Last Modified
August 29, 2026
Advisory Details (2)
Auto-updated Aug 27, 2026commit 0db3d4403ab2 (TriliumNext/Trilium)
Fix landed in TriliumNext/Trilium commit 0db3d4403ab2 — awaiting tagged release
https://github.com/TriliumNext/Trilium/commit/0db3d4403ab26de13d19a8739f014ee72b716239Authenticated RCE in TriliumNext/Trilium via `shareTemplate` Relation — SafeImport Bypass → EJS SSTI (Safe import enable) · Advisory · TriliumNext/Trilium · GitHub
https://github.com/TriliumNext/Trilium/security/advisories/GHSA-c26q-6pwv-wf25Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 10× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-30 03:54 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 04:28 UTCEG score recompute
- 2026-08-29 04:07 UTCEG score recompute
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-28 20:43 UTCEG score recompute
- 2026-08-28 19:47 UTCEG score recompute
- 2026-08-27 20:27 UTCEG score recompute
- 2026-08-27 20:16 UTCEG score recompute
- 2026-08-27 20:13 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2003-1432EG 10.0EPSS p94HIGH
- CVE-2002-0495EG 10.0EPSS p96HIGH
- CVE-1999-0702EG 10.0EPSS p98HIGH
- CVE-1999-0509EG 10.0EPSS p98HIGH
- CVE-2006-1318EG 9.3EPSS p97HIGH
- CVE-2006-1301EG 9.3EPSS p95HIGH
- CVE-2006-1308EG 9.3EPSS p95HIGH
- CVE-2006-1309EG 9.3EPSS p95HIGH
- CVE-2006-1304EG 9.3EPSS p96HIGH
- CVE-2006-1306EG 9.3EPSS p95HIGH
Frequently asked(5)
What is CVE-2026-47727?
When was CVE-2026-47727 disclosed?
Is CVE-2026-47727 actively exploited?
What is the CVSS score of CVE-2026-47727?
How do I remediate CVE-2026-47727?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-47727
Is Your Infrastructure Affected by CVE-2026-47727?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.