Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111915 Overview
Yank Note versions before 3.93.1 contain a path traversal vulnerability [CWE-22] in the /api/help endpoint. Unauthenticated remote attackers can read arbitrary files by abusing the path or doc parameter. The endpoint applies a single-replacement sanitization routine that fails to strip repeated ../ segments, allowing traversal outside the intended help directory. Successful exploitation discloses SSH keys, application configuration, and user notes stored on the host.
Critical Impact
Unauthenticated attackers can read arbitrary files from the host filesystem through a publicly allowlisted API endpoint.
Affected Products
- Yank Note (yn) versions prior to 3.93.1
- Yank Note version 3.93.0 (confirmed vulnerable in referenced source)
- Desktop and server deployments exposing the /api/help endpoint
Discovery Timeline
- 2026-10-19 - CVE-2026-111915 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-111915
Vulnerability Analysis
The vulnerability resides in Yank Note's HTTP server at src/main/server/index.ts. The /api/help route is included in a public allowlist, meaning it processes requests without authentication. The handler reads the path or doc query parameter and uses it to locate help content on disk.
The sanitization logic performs a single string replacement to strip ../ sequences from the input. This approach fails against overlapping or stacked traversal tokens. An attacker who supplies crafted sequences such as ....// or chained ../ segments bypasses the filter because the replacement runs only once. The resolved path escapes the intended help directory and reaches arbitrary files on the host.
Root Cause
The root cause is improper limitation of a pathname to a restricted directory. The server trusts user-controlled input after a non-idempotent sanitization step and does not verify that the final resolved path remains within the help root. The fix introduces a resolvePathWithin helper that compares the resolved target against the canonicalized root using path.relative semantics.
Attack Vector
The attack is network-based and requires no authentication or user interaction. An attacker sends an HTTP GET request to /api/help with a traversal payload in the path or doc parameter. The server returns the raw contents of the targeted file, enabling disclosure of SSH private keys, application secrets, and user notes.
// Security patch in src/main/helper.ts
// Resolves input strictly inside root using native path semantics
import * as path from 'path'
export function resolvePathWithin (root: string, input: unknown): string | null {
if (typeof input !== 'string' || !input || input.includes('\0') || path.isAbsolute(input) || path.win32.parse(input).root) {
return null
}
const target = path.resolve(root, input)
const relative = path.relative(path.resolve(root), target)
return relative !== '' && relative !== '..' && !relative.startsWith('..' + path.sep) && !path.isAbsolute(relative) ? target : null
}
Source: GitHub yn Commit d3b0ad2
The patch rejects absolute paths, null bytes, and Windows drive-qualified inputs. It then confirms that the resolved target stays within the canonicalized root before returning the path.
Detection Methods for CVE-2026-111915
Indicators of Compromise
- HTTP requests to /api/help containing ../, ..%2f, or ....// sequences in the path or doc parameter
- Access log entries showing responses from /api/help returning file content outside the Yank Note help directory
- Outbound reads of sensitive files such as .ssh/id_rsa, .env, or local note repositories correlated with Yank Note process activity
Detection Strategies
- Deploy web application firewall rules that inspect query strings on /api/help for encoded and stacked traversal tokens
- Baseline normal response sizes from /api/help and alert on anomalous payloads containing cryptographic key headers or configuration syntax
- Review Yank Note server logs for repeated requests to /api/help from a single source within a short window
Monitoring Recommendations
- Monitor file access telemetry on hosts running Yank Note for reads of SSH keys and dotfiles by the Yank Note process
- Capture and retain full HTTP request logs including query parameters for the Yank Note server
- Alert on any Yank Note instance running a version earlier than 3.93.1 discovered during asset inventory scans
How to Mitigate CVE-2026-111915
Immediate Actions Required
- Upgrade all Yank Note deployments to version 3.93.1 or later without delay
- Restrict network exposure of the Yank Note HTTP server to trusted hosts using firewall rules or bind to localhost only
- Rotate SSH keys, API tokens, and credentials that may have been readable from affected hosts
Patch Information
The vendor released the fix in GitHub yn Release v3.93.1. The underlying change is tracked in GitHub yn Commit d3b0ad2 and discussed in GitHub yn Issue #543. Additional context is provided in the VulnCheck Advisory on Yank Note.
Workarounds
- Block external access to the /api/help endpoint at a reverse proxy until the upgrade is applied
- Run Yank Note under a dedicated low-privilege user account with no access to SSH keys or sensitive configuration
- Remove sensitive files from the home directory of the account running Yank Note where feasible
# Example nginx rule to block traversal on /api/help until patched
location /api/help {
if ($args ~* "\.\./|\.\.%2f|\.\.%5c|%00") {
return 403;
}
proxy_pass http://127.0.0.1:3044;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

