Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure user to malicious web page
-
DeliveryPage sends cross-origin request to local Yank Note server
-
ExploitBypass checkPermission in Terminal Handler
-
ExecutionInject OS command via PTY handler
-
ImpactExecute arbitrary commands as 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 | Requires a running instance of Yank Note 3.93.0 with its local server active and the terminal feature reachable; the flaw is that checkPermission in src/main/server/index.ts (Terminal Handler) did not adequately validate request provenance, so a browser context the user is tricked into loading (UI:P) can drive the terminal/PTY endpoint. Limiting factors: the user must visit or load attacker-controlled content while the app is running (passive user interaction), the server is loopback-oriented, and no additional authentication is enforced on the terminal path before the fix. The PR's added controls (trusted provenance plus a loopback peer requirement for Socket.IO and pre-PTY handling) indicate exploitation hinged on forged or absent browser-origin headers against the local server. |
| Impact | Signals point to a moderate, interaction-gated risk rather than a drop-everything emergency. The supplied CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L, score 5.3 Medium) describes a network-reachable, low-complexity, unauthenticated flaw that nonetheless requires passive user interaction (UI:P) to fire. It is NOT in CISA KEV (no confirmed active exploitation), no EPSS probability was provided in the input, and the PoC is a public GitHub issue reference that is not verified as working exploit code - so POC availability must not be read as active exploitation. The vuln.today decision label is 'this_month', consistent with a real but non-urgent patch priority. The notable tension is impact: the vendor/source scored confidentiality, integrity and availability as Low (VC:L/VI:L/VA:L), yet the root cause is OS command injection (CWE-78) in the Terminal Handler, which in practice yields arbitrary command execution as the user running Yank Note - a far higher technical impact than 'Low' suggests. Net: not a mass-exploitation threat given the UI requirement and the loopback-local server model, but the command-execution capability warrants prompt patching, especially for developers who run Yank Note routinely. |
| Exploit ScenarioDerived | While a user has Yank Note running (its local HTTP/Socket.IO server listening on loopback), an attacker lures them to a malicious web page; that page issues cross-origin requests that the Terminal Handler's checkPermission fails to reject, reaching the PTY path and injecting OS commands that run with the user's privileges. A public PoC reference exists (GitHub issue #531) but is not verified as working exploit code, and the passive user-interaction requirement (visiting the page) limits opportunistic mass exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
OS command injection in the terminal handler of Yank Note 3.93.0's local HTTP server lets a browser page the user is tricked into loading drive the PTY endpoint and execute commands with the privileges of the running app. The affected function is checkPermission in src/main/server/index.ts, which did not adequately validate request provenance before the terminal path was reached; the CVSS 4.0 record scores this 5.3 (AV:N/AC:L/PR:N/UI:P), while the independent assessment rates confidentiality, integrity and availability impact as High with user interaction required (UI:R) and no privileges needed (PR:N), the loopback-oriented server being the main limiting factor. Vendor-released patch: Yank Note 3.93.1 (commit 59f85d48f17a70a402ad59dcecacdbec20f954df, PR #535); a public PoC reference exists in issue #531 but it is not verified as working exploit code, and there is no CISA KEV confirmation of active exploitation at time of analysis.
RemediationAI
Upgrade Yank Note to 3.93.1, which is the vendor-released fix: the patch is commit 59f85d48f17a70a402ad59dcecacdbec20f954df delivered through PR https://github.com/purocean/yn/pull/535 and published as https://github.com/purocean/yn/releases/tag/v3.93.1, with the vendor advisory trail at https://vuldb.com/vuln/431157. Because the fix is a request-boundary rewrite rather than an isolated string change, do not expect equivalent behavior from ad-hoc edits: the release validates Host independently of Origin and forwarding headers, rejects cross-origin, opaque/null, malformed or contradictory browser provenance, requires application/json for body-bearing API calls (except the documented attachment multipart, tmp-file/user-file text/plain and proxy-fetch stream cases), and forces trusted provenance plus a loopback Socket.IO peer for polling, upgrades and pre-PTY handling. Where upgrading is not immediately possible, the vendor's own security notes frame the practical exposure limits: the server is loopback-oriented and the maintainer states that reverse-proxy exposure needs separate authentication plus compatible Host/source configuration, so avoid publishing the local server through a reverse proxy or otherwise beyond loopback, and note that this does not address same-origin XSS, native same-user access, or the loopback-admin risk of an externally exposed proxy. No fixed version other than 3.93.1 is listed, and the vendor record recommends upgrading the affected component; priority per the current decision signal is to patch this month rather than as an emergency.
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
Yank Note is an Electron markdown note-taking application that embeds a Koa-based HTTP server (the PR diff shows koa middleware counted in src/main/server/__tests__/index.ts) plus a node-pty backed terminal exposed over Socket.IO for the in-app terminal feature. The flaw is CWE-78 (OS command injection) in checkPermission inside src/main/server/index.ts: the permission check that guards the terminal/PTY handler did not adequately validate where a request came from, so a browser context the user is lured into loading could reach the terminal endpoint without the provenance it should have required. The 4.0 vector carries PR:N, so no credentials are needed, but UI:P/UI:R means the user must be induced to load attacker-controlled content while the app and its server are running; the CPE cpe:2.3:a:purocean:yank_note:*:*:*:*:*:*:*:* records the whole product without version granularity, and the vendor scope is 3.93.0 specifically. The upstream fix broadens the boundary substantially rather than patching a single string: Host is validated independently of Origin and forwarding headers, explicit cross-origin, opaque/null, malformed or contradictory browser provenance is rejected, body-bearing API requests must be application/json with a short list of existing-format exceptions, and Socket.IO polling, upgrades and pre-PTY handling independently require trusted provenance plus a loopback peer. The same change strips server.jwt-secret from settings JSON and JavaScript responses, and the developer notes state outright that these checks do not address same-origin XSS, native same-user access, or the loopback-admin risk of an externally exposed reverse proxy. The precise payload-level trigger beyond the permission-check gap is not described in the available sources.
Know when Yank Note gets its next vulnerability
- 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:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Unauthenticated cross-origin request reaches the terminal handler (AV:N/AC:L/PR:N) but needs the user to load malicious content (UI:R); OS command injection yields full code execution as the user, so C/I/A:H.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was identified in Purocean Yank Note 3.93.0. Affected by this vulnerability is the function checkPermission of the file src/main/server/index.ts of the component Terminal Handler. Such manipulation leads to os command injection. The attack can be executed remotely. The exploit is publicly available and might be used. Upgrading to version 3.93.1 addresses this issue. The name of the patch is 59f85d48f17a70a402ad59dcecacdbec20f954df. Upgrading the affected component is recommended.
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.
Related Vulnerabilities in Yank Note Information Disclosure and Command Injection
View all 2Yank Note (YN) 3.52.1 allows execution of arbitrary code when a crafted file is opened, e.g., via nodeRequire('child_pro
Yank Note releases before 3.93.1 expose a path traversal flaw in the embedded HTTP server's publicly allowlisted /api/he
EUVD-2026-117209
GHSA-5qjp-6ppp-5274
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB