CVE-2026-47727
Last modified
CVE-2026-47727 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. 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. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| TriliumNext | Trilium | 0.104.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-47727?
How severe is CVE-2026-47727?
How do I fix CVE-2026-47727?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-47721FUXA is a web-based Process Visualization (SCADA/HMI/Dashboa…6.3
- CVE-2026-47722nebula-mesh is a self-hosted control plane for Slack Nebula …8.7
- CVE-2026-47723nebula-mesh is a self-hosted control plane for Slack Nebula …7.1
- CVE-2026-47724nebula-mesh is a self-hosted control plane for Slack Nebula …9.9
- CVE-2026-47725nebula-mesh is a self-hosted control plane for Slack Nebula …6.9
- CVE-2026-47726nebula-mesh is a self-hosted control plane for Slack Nebula …7.1
- CVE-2026-47728Bugsink is a self-hosted error tracking tool. Prior to 2.2.0…4.3
- CVE-2026-47729Squid is a caching proxy for the Web. Prior to 7.6, due to a…6.5
- CVE-2026-4773Improper validation of specified type of input vulnerability…8.1
- CVE-2026-47730Twig is a template language for PHP. From 3.0.0 until 3.26.0…5.4
- CVE-2026-47731The AMMOS Instrument Toolkit (Formerly the Bespoke Links to …9.1
- CVE-2026-47732Twig is a template language for PHP. Prior to 3.26.0, severa…6.5
Are you affected by CVE-2026-47727?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
