Skip to main content

Sakura Editor CVE-2026-59561

| EUVDEUVD-2026-64730 HIGH
OS Command Injection (CWE-78)
2026-08-24 vultures@jpcert.or.jp GHSA-4cgq-vq27-gxqx
8.4
CVSS 4.0 · Vendor: jpcert
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft directory name with injected PowerShell payload
  2. Delivery
    Place lure document inside crafted directory
  3. Exploit
    Deliver directory to victim via phishing or shared drive
  4. Execution
    Victim opens document in Sakura Editor
  5. Persist
    Victim invokes 'Open Terminal' feature
  6. Impact
    Injected 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Sakura Editor 0 <2.4.3

Affected Packages

euvd sakura_editor fix: 2.4.3

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

Vendor (jpcert) PRIMARY 8.4 HIGH
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
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (jpcert).

CVSS VectorVendor: jpcert

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 24, 2026 - 06:01 EUVD
CVE Published
Aug 24, 2026 - 05:16 cve.org
HIGH 8.4

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.7%
Top 48% exploitable
Prevalence
Low
Japanese-language Windows text editor, limited deployment outside Japan
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy