Skip to main content

Yank Note EUVDEUVD-2026-117209

| CVE-2026-122157 LOW
OS Command Injection (CWE-78)
2026-11-05 VulDB GHSA-5qjp-6ppp-5274
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Lure user to malicious web page
  2. Delivery
    Page sends cross-origin request to local Yank Note server
  3. Exploit
    Bypass checkPermission in Terminal Handler
  4. Execution
    Inject OS command via PTY handler
  5. Impact
    Execute 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 1.0% exploitation probability (EPSS)

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

Alert me

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

Yank Note 3.93.0

Affected Packages

euvd yank_note no fix

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 8.8 HIGH

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.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Nov 05, 2026 - 02:22 NVD
MEDIUM LOW
CVSS changed
Nov 05, 2026 - 02:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Nov 05, 2026 - 01:45 cve.org
MEDIUM 5.3

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

EPSS Score
1.0%
Top 39% exploitable
Prevalence
Low
niche open-source markdown editor, limited production deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 1.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +10
PoC: +20
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.

Related Vulnerabilities in Yank Note Information Disclosure and Command Injection

View all 2

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