Skip to main content

yt-mcp EUVDEUVD-2026-129309

| CVE-2026-75612 HIGH
Path Traversal (CWE-22)
2026-11-18 GitHub_M
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Gain control of tool arguments (compromised client or prompt injection)
  2. Delivery
    Call add_attachment with sensitive file_path
  3. Exploit
    Server reads unconfined local file
  4. Execution
    Bytes uploaded to attacker-readable YouTrack issue
  5. Impact
    Retrieve exfiltrated secrets from issue

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the file_path mode of the add_attachment tool and an attacker who controls the tool arguments - either a compromised/malicious MCP client or an LLM steered by indirect prompt injection; the server then reads any file its process can access and uploads it to a YouTrack issue the caller can read. The unauthenticated/network (AV:N, PR:N) exposure applies specifically when the server runs the SSE/streamable-HTTP transport; the default stdio-local deployment limits this to a local confused-deputy/exfiltration scenario (AV:L). The related get_project_health write-traversal requires passing a project value containing parent-directory sequences. Limiting factors: affected versions are <= 1.18.0 (fixed in 1.18.1); the fix disables file_path mode entirely unless the operator sets YOUTRACK_ATTACHMENT_ROOTS, and the content/content_base64 mode is unaffected and recommended.

Impact

Signals point to a genuine but context-dependent priority rather than a mass-exploitation emergency. The reporter's CVSS 3.1 of 7.5 (AV:N/AC:L/PR:N/UI:N/C:H) describes the SSE/streamable-HTTP multi-tenant transport; the vendor's own ADR-027 states that the default stdio-local deployment is better modeled as AV:L (~6.2), where the real risk is a confused-deputy / indirect-prompt-injection exfiltration rather than a remote network crossing - so the AV:N rating should be treated as the worst-case transport, not the default. The vuln.today decision label is 'this_week' (not act_now/emergency). No EPSS score, no CISA KEV listing, and no confirmed public working exploit were provided; the advisory explicitly states the reporter's PoC was not executed and is not published. The standout risk factor is qualitative, not scored: add_attachment collapses arbitrary local file read AND an external egress channel (upload to a reader-accessible YouTrack issue) into one tool - the prompt-injection 'lethal trifecta' - so an LLM steered by indirect prompt injection could read /etc/passwd, ~/.ssh/id_rsa, .env or cloud credentials and exfiltrate them. Net: a real, well-characterized hardening issue warranting prompt patching, but with low expected scale given the product's tiny footprint and no evidence of active exploitation.

Exploit ScenarioDerived

An attacker plants indirect prompt-injection content (e.g. in a YouTrack issue or document the agent reads) instructing the LLM to call add_attachment with file_path set to ~/.ssh/id_rsa or .env; the server reads the file with only an existence check and uploads its bytes to a YouTrack issue the attacker can read, exfiltrating secrets. Alternatively a compromised or malicious MCP client supplies the path directly. No public working exploit is published (the reporter's PoC was not executed), and CVSS AC:L/PR:N/UI:N indicates the tool call itself needs no special complexity or authentication once the attacker controls the arguments.

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

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

Alert me

AnalysisAIv1 – Nov 18, 2026

Path traversal in the yt-mcp YouTrack MCP server (versions up to and including 1.18.0) turns the add_attachment tool into a combined local file read and exfiltration channel: a caller that controls the file_path argument can read any file the server process can reach - system password files, SSH private keys, .env and cloud credential files - and have those bytes uploaded to a YouTrack issue the caller can read. The same release also lets a caller-controlled project value traverse parent directories when get_project_health writes snapshot JSON files outside the intended snapshots directory. The flaw is fixed in 1.18.1; no public exploit identified at time of analysis, and risk is deployment-dependent - the AV:N view applies to the SSE/streamable-HTTP transport, while the default stdio-local deployment is a confused-deputy and indirect-prompt-injection exfiltration scenario, making this a genuine but context-dependent priority for teams running the server.

RemediationAI

Upgrade to yt-mcp 1.18.1, which is the vendor-released patch for both sinks; the release is tagged v1.18.1 and the fix commit is b70054b180e6ec7a03f70ee4744518d96d2fba8a, documented as ADR-027 (docs/adr/027-confine-attachment-and-snapshot-paths.md) and described in advisory GHSA-99mq-fjjc-6v9j. Until upgrading, avoid the file_path mode of add_attachment entirely and use the content or content_base64 mode instead, where the file is read in the client's own trust context rather than silently by the server. Be aware that 1.18.1 is a deliberate breaking change for existing file_path users: that mode is disabled by default and only works for directories the operator explicitly allowlists in YOUTRACK_ATTACHMENT_ROOTS (os.pathsep-separated, realpath-resolved, contained via os.path.commonpath, with a 100 MB read cap), so operators who genuinely upload workspace files must set that variable to the narrowest directory they need - allowlisting broad paths such as $HOME or / reintroduces the exposure the fix removes. Snapshot filename confinement requires no operator action and does not change behavior for valid project names. The advisory notes the reporter's PoC was not executed during fix validation.

Affected VersionsENISA

yt-mcp < 1.18.1

Affected Packages

euvd yt_mcp fix: 1.18.1

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

yt-mcp is a Python MCP (Model Context Protocol) server that exposes YouTrack operations as tools an LLM client such as Claude Code can invoke; the trust boundary that matters is that tool arguments are attacker-influenceable, either by a compromised/malicious MCP client or by an LLM steered through indirect prompt injection in content it processes. In src/yt_mcp/tools/attachments.py, add_attachment's file_path mode performed only an existence check (os.path.isfile) and then opened and streamed the file to POST /api/issues/{id}/attachments with no directory confinement or traversal guard - the CWE-22 improper limitation of a pathname to a restricted directory plus CWE-73 external control of file name or path. Because the same tool both reads a private file and provides an external egress channel into an issue, it collapses the classic 'lethal trifecta' into a single call. A second, lower-severity instance was found in monitoring.py, where the caller-supplied project value was interpolated into a snapshot filename (f"{project.lower()}.json") under the snapshots directory without a separator check, allowing a value such as ../../../x to write a JSON file elsewhere. The 1.18.1 fix disables file_path mode by default, requiring operators to allowlist directories via YOUTRACK_ATTACHMENT_ROOTS, resolving paths with os.path.realpath so symlinks are resolved before the check, and comparing with os.path.commonpath rather than string prefix comparison so sibling-prefix escapes (/root versus /root-evil) are rejected, plus a 100 MB read cap; snapshot filenames are now restricted to a plain short-name token (^[A-Za-z0-9_-]+$) and unsafe names no-op snapshot tracking.

Know when Yt Mcp 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 (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.8 MEDIUM

Default deployment is stdio-local so AV:L; no auth on the tool call (PR:N); arbitrary file read gives C:H, and the secondary snapshot write-traversal adds limited I:L.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 23:19 EUVD
CVE Published
Nov 18, 2026 - 21:34 cve.org
HIGH 7.5

DescriptionCVE.org

yt-mcp is a YouTrack MCP server for Claude Code. Prior to 1.18.1, add_attachment in src/yt_mcp/tools/attachments.py accepts a caller-controlled file_path, checks only that the file exists, reads it without directory confinement, and uploads the bytes to a YouTrack issue. A compromised MCP client or an LLM steered by indirect prompt injection can read any file accessible to the server process and exfiltrate secrets through an issue the caller can access. The same release also permits get_project_health to interpolate a caller-controlled project value into snapshot filenames, allowing parent-directory traversal to write JSON files outside the snapshots directory. This issue is fixed in version 1.18.1.

Technical POC Analysis

The flaw is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), with the advisory also tagging CWE-73 (External Control of File Name or Path).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A path traversal flaw in yt-mcp, the YouTrack MCP server used up to version 1.18.0, allows callers to read sensitive local files and exfiltrate them into YouTrack issues, and to write snapshot files outside intended directories. Any team that exposes this server over SSE or streamable-HTTP is most at risk, as are local deployments susceptible to indirect prompt injection; leadership should care because exposed credentials and keys could enable broader compromise and data loss.

Business Impact: High
Compensating Controls

Vendor-released patch: 1.18.1. Until applied, restrict server exposure to trusted networks, run the process with least-privilege filesystem permissions and a confined account, avoid mounting credential stores or SSH keys, and review YouTrack attachments for signs of exfiltration.

Threat Intelligence Overview

EPSS Score
0.6%
Top 50% exploitable
Prevalence
Rare
niche open-source YouTrack MCP server, tiny pip install base
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.6%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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