Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft directory name with injected PowerShell payload
-
DeliveryPlace lure document inside crafted directory
-
ExploitDeliver directory to victim via phishing or shared drive
-
ExecutionVictim opens document in Sakura Editor
-
PersistVictim invokes 'Open Terminal' feature
-
ImpactInjected OS command executes as victim user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires two sequential user actions: (1) the victim must open a file that resides in an attacker-controlled or attacker-crafted directory path containing injected shell metacharacters, and (2) the victim must explicitly invoke the 'Open Terminal' (Open PowerShell) feature within Sakura Editor while that file is active. The CVSS 4.0 vector AV:L confirms the crafted directory must exist on the victim's local Windows filesystem before exploitation is possible - remote network delivery alone is insufficient. PR:N indicates no prior account privileges on the target system are required by the attacker. Limiting factors: requires active user interaction beyond simply opening a file; the victim must take a deliberate second action (Open Terminal); the attack is Windows-only; Sakura Editor must be the application used to open the file; and the directory name or path must contain injected shell metacharacters, which may be filtered or truncated by some delivery mechanisms (e.g., certain email clients or archive tools that sanitize filenames). |
| Impact | The CVSS 4.0 score of 8.4 with vector AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H reflects a high-impact but socially-engineered local attack. The local attack vector (AV:L) is the primary limiting factor: an attacker cannot trigger this remotely - the crafted directory must exist on the victim's local filesystem, typically via phishing, shared network drives, archive extraction, or version control checkout. Active user interaction (UI:A) is required because the victim must explicitly invoke 'Open Terminal' after opening the file; passive file opening alone is insufficient. No EPSS data was provided in the input, and the vulnerability is not listed in the CISA KEV catalog. No public exploit or proof-of-concept has been identified at time of analysis. Real-world risk is moderate: the attack chain depends on two sequential user actions (open file, then invoke Open Terminal), reducing opportunistic exploitation risk, but the full C:H/I:H/A:H impact means a successful attack yields complete control of the victim's user context. Organizations where developers or content editors routinely open files from external or untrusted sources (shared drives, git repositories, downloaded archives) face elevated exposure. |
| Exploit ScenarioDerived | An attacker crafts a directory whose name contains PowerShell metacharacters embedding a malicious command (e.g., a reverse shell or credential harvester), places a plausible lure document inside it, and delivers the directory to the victim via a phishing archive, shared network drive, or repository clone. When the victim opens the document in Sakura Editor and clicks 'Open Terminal' to launch PowerShell in the working directory, the injected command executes under the victim's user account. No public proof-of-concept has been identified, but the technique is straightforward given the well-understood mechanics of CWE-78. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
OS command injection in Sakura Editor (Windows text editor) enables arbitrary command execution on a victim's PC when they open a file from an attacker-crafted directory and invoke the 'Open Terminal' (Open PowerShell) feature. The vulnerability, tracked as JVN#74538868 and GHSA-6x2x-729r-wjh5 and reported by JPCERT, requires social engineering to place the victim's file in a path containing injected shell metacharacters. No public exploit identified at time of analysis and no CISA KEV listing, but the full-compromise impact (C:H/I:H/A:H on the vulnerable system) warrants prompt patching to v2.4.3.
RemediationAI
Upgrade to Sakura Editor v2.4.3 or later, available at https://github.com/sakura-editor/sakura/releases/tag/v2.4.3. This release explicitly resolves the OS command injection in the 'Open PowerShell' feature per the vendor security advisory GHSA-6x2x-729r-wjh5 and JVN#74538868. Where immediate upgrade is not feasible, the primary compensating control is to disable or avoid using the 'Open Terminal' / 'Open PowerShell' feature entirely, which removes the trigger condition; this has no impact on core editing functionality. Additionally, users should be instructed not to open files from untrusted or externally-supplied directory paths. Restricting execution of PowerShell via Software Restriction Policies or AppLocker could reduce the blast radius if injection occurs but would not prevent the injection attempt itself. No known workarounds fully substitute for patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Sakura Editor is a long-running open-source Japanese text editor for Windows maintained by the Sakura Editor Development Community. The root cause (CWE-78: Improper Neutralization of Special Elements used in an OS Command) lies in the 'Open Terminal' / 'Open PowerShell' feature, which constructs a shell invocation using the current document's directory path. When that path contains shell-special characters - injected by an attacker who controls the directory name or path - the unsanitized string is passed directly to PowerShell, enabling injection of arbitrary commands. The CVSS 4.0 vector (AV:L) confirms the attack surface is the local filesystem: the crafted path must exist on the victim's Windows machine before the trigger condition can be exercised. No CPE string was provided in the input data, but the affected product is unambiguously Sakura Editor prior to v2.4.3 on Windows 10 and later (v2.4.3 release notes explicitly dropped Windows 7/8.1 support).
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
AV:L because the crafted directory must be local; UI:R because victim must actively invoke 'Open Terminal'; PR:N as no attacker account privileges are needed; full C/I/A impact within the user's context.
Primary rating from Vendor (jpcert).
CVSS VectorVendor: jpcert
Lifecycle Timeline
2DescriptionCVE.org
Sakura Editor provided by Sakura Editor Development Community contains an OS command injection vulnerability. If a victim user is directed to edit a file in a crafted directory, arbitrary OS command may be executed on the user's PC when the user invokes "Open Terminal".
Executive ViewAI
Sakura Editor for Windows contains an OS command injection vulnerability (CVSS 8.4) allowing arbitrary command execution when users open files from attacker-controlled directory paths and invoke the integrated PowerShell feature. No vendor patch is currently available, creating immediate risk for organizations using this editor-particularly those with users handling files from external or untrusted sources.
No vendor-released patch identified at time of analysis. Interim mitigations include: uninstalling Sakura Editor where not operationally required; disabling PowerShell/Terminal integration features through application configuration or Group Policy restrictions; blocking Editor process execution in sensitive directories; implementing file origin restrictions; and enhanced EDR monitoring for command execution chains initiated by Editor processes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-64730
GHSA-4cgq-vq27-gxqx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB