Skip to main content

Zyrabit SLM EUVDEUVD-2026-129040

| CVE-2026-130154 CRITICAL
Path Traversal (CWE-22)
2026-11-18 GitHub_M
9.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach unauthenticated /mcp/rpc (legacy bridge) or inject agent prompt
  2. Delivery
    Call import_to_vault with chosen source_path
  3. Exploit
    Set traversal/absolute destination_name past DOCS_DIR
  4. Execution
    shutil.copy2 writes outside vault or stages secrets
  5. Persist
    Read secrets via secure_query or overwrite authorized_keys
  6. Impact
    Disclose credentials / conditional process execution

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

Two distinct paths with different prerequisites. DEFAULT mode: the import_to_vault MCP tool is only locally invocable and must be triggered by the agent, i.e. via a prompt-injected agent that passes attacker-chosen source_path and a traversal or absolute destination_name - this requires the attacker to influence agent tool calls (user/agent interaction) and, for the write-to-RCE chain, the ability to stage source content (e.g. through document upload) into an execution-triggered destination like ~/.ssh/authorized_keys or cron, limited to content that does not trip the executable-pattern filter. NETWORK mode: exploitation without authentication requires the operator to have set ENABLE_LEGACY_EXTENSIONS=true, which registers POST /mcp/rpc without get_current_user; this is explicitly disabled by default. Limiting factors: non-default HTTP bridge for the remote unauthenticated case, required agent interaction/prompt injection for the local case, the executable-pattern content filter on read-back (which secrets like /etc/passwd, .env, and SSH keys still bypass), and that only versions prior to 2.4.4 are affected.

Impact

Signals conflict on severity depending on deployment mode, and this must be stated plainly. The input CVSS 9.1 vector (AV:N/AC:L/PR:N/UI:N) only describes the OPTIONAL configuration ENABLE_LEGACY_EXTENSIONS=true, which registers POST /mcp/rpc without get_current_user and exposes the import_to_vault tool to unauthenticated network callers - this is disabled by default per both the description and the GHSA advisory. In the DEFAULT deployment the flaw is a local MCP agent tool requiring agent invocation or prompt injection (the advisory assesses that path at CVSS 7.1 AV:L/AC:L/PR:N/UI:R). So the headline 'network, unauthenticated, Critical' rating is real only for operators who enabled the legacy HTTP bridge; verify that setting before treating this as remotely reachable. The vuln.today Decision label is act_now, and the underlying bug (path traversal in destination_name plus unrestricted source_path) is confirmed by the vendor GHSA, PR #99, the fixing commit, and release v2.4.4, so the defect itself is not speculative. No EPSS score and no CISA KEV status were provided in the input, and no evidence of active exploitation exists - absence of these is not evidence of safety but should temper 'widespread exploitation' assumptions. The only exploit artifact is a harmless local harness in the advisory that reproduces the shipped Path+shutil.copy2 logic, not a weaponized remote exploit. Net: prioritize patching to 2.4.4 (act_now is appropriate given confirmed arbitrary file read AND write), but real-world blast radius hinges on whether the non-default HTTP bridge is enabled and on the product's limited deployment footprint.

Exploit ScenarioDerived

With ENABLE_LEGACY_EXTENSIONS=true, a remote unauthenticated attacker sends a tools/call to POST /mcp/rpc invoking import_to_vault with a source_path pointing at /etc/passwd, a .env file, or SSH keys and a benign destination_name, then retrieves the staged content via secure_query (files lacking executable patterns bypass the content filter). In the default local mode the same tool is reached through a prompt-injected agent, and a traversal or absolute destination_name (e.g. ../../../../home/user/.ssh/authorized_keys) lets the attacker write outside the vault, which the advisory notes can chain to conditional process execution. A local, harmless PoC harness replicating the Path+shutil.copy2 logic exists in the advisory; it is not verified as working remote exploit code.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 18, 2026

Arbitrary file write and disclosure in Zyrabit SLM before 2.4.4 stem from the import_to_vault MCP tool, which passes a caller-controlled destination_name to Path(DOCS_DIR) / destination_name and then shutil.copy2 without confining it, while source_path can read any file the service can access and expose it through secure_query. In the default deployment the tool is locally invocable and exploitation requires a prompt-injected agent to make the tool call (assessed CVSS AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N, 7.1), whereas unauthenticated network exploitation is possible only if the operator has enabled the non-default ENABLE_LEGACY_EXTENSIONS=true, which registers POST /mcp/rpc without authentication and corresponds to the published CVSS 9.1. A public PoC harness replicating the shipped logic is referenced but is not confirmed as working exploit code against a live deployment; no CISA KEV status is indicated, the vendor fixed the issue in 2.4.4, and the vuln.today priority is act_now.

RemediationAI

Upgrade to Zyrabit SLM 2.4.4 or later (pip zyrabit-slm>=2.4.4; release tag v2.4.4; commit bb81be4d279a4680e26213c52041c003f9b78869; PR https://github.com/Zyrabit-tech/zyrabit-SLM/pull/99). The vendor fix forces destination_name to os.path.basename(destination_name), verifies dest.resolve() stays under Path(DOCS_DIR).resolve(), restricts source_path to an allowlisted directory, and adds dependencies=[Depends(get_current_user)] to the mcp router. Until upgrading, keep ENABLE_LEGACY_EXTENSIONS=false (the default), which avoids the unauthenticated POST /mcp/rpc network path but does not remove the local prompt-injected-agent path; disabling legacy extensions may remove functionality that depends on those endpoints. Advisory: https://github.com/Zyrabit-tech/zyrabit-SLM/security/advisories/GHSA-r4q8-hjfc-ggp2.

Affected VersionsENISA

zyrabit-SLM < 2.4.4

Affected Packages

euvd zyrabit_slm fix: 2.4.4

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

The primary defect is CWE-22 path traversal in zyrabit-slm/api-rag/app/domain/services/mcp_service.py (import_to_vault, lines 34-68). Both source_path and destination_name are caller-controlled; the only guard inspects the source file contents for executable patterns such as import os, exec(, and #!/bin/, and performs no normalization, traversal rejection, or absolute-path rejection on destination_name. The sink is dest_path = Path(DOCS_DIR) / destination_name followed by shutil.copy2(src, dest_path): a value like ../../../x escapes the vault, and an absolute value such as /abs/path causes pathlib to discard the base path and write to that absolute location. Because source_path is unrestricted, files readable by the service can be copied into the vault and then retrieved via secure_query; /etc/passwd, .env files, SSH keys, and tokens pass the content filter because they do not contain executable patterns. A secondary CWE-306 issue exists in app/main.py: the chat, documents, integrations, and node routers use dependencies=[Depends(get_current_user)], but the mcp router does not, so when ENABLE_LEGACY_EXTENSIONS=true the POST /mcp/rpc endpoint allows unauthenticated tools/call and raises the exposure from the assessed local vector to the published network vector. The advisory describes conditional process execution only if an attacker can stage chosen source content and write to an execution-triggered destination such as ~/.ssh/authorized_keys or cron, with content that does not trip the executable-pattern filter. No CISA KEV status is indicated; a public PoC harness is referenced but is not confirmed as working exploit code against a live deployment.

Know when Zyrabit Slm 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 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.1 HIGH

Default deployment is a local MCP tool triggered through an agent (AV:L, UI:R); no auth guards the tool (PR:N); arbitrary read and write give C:H/I:H, no availability impact; network AV:N applies only to the non-default legacy HTTP bridge.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/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
High
Availability
None

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 18:03 EUVD
CVE Published
Nov 18, 2026 - 16:49 cve.org
CRITICAL 9.1

DescriptionCVE.org

Zyrabit Platform provides sovereign AI infrastructure for enterprise retrieval-augmented generation. Prior to 2.4.4, import_to_vault(source_path, destination_name) accepts both caller-controlled paths, but the content-pattern guard does not confine destination_name. The vulnerable tool is implemented in zyrabit-slm/api-rag/app/domain/services/mcp_service.py, where Path(DOCS_DIR) / destination_name is passed to shutil.copy2, allowing traversal or an absolute destination to write outside the vault. An unrestricted source_path can be copied into the vault and retrieved through secure_query, disclosing files readable by the service; files that do not match the executable-pattern filter pass that filter. When ENABLE_LEGACY_EXTENSIONS=true, zyrabit-slm/api-rag/app/main.py registers POST /mcp/rpc without get_current_user, allowing unauthenticated network tool calls; this optional exposure is disabled by default and is not required for local invocation. If an attacker can stage chosen source content and write to an execution-triggered destination, the advisory describes conditional process execution. This issue is fixed in version 2.4.4.

Technical POC Analysis

CWE-22: Improper Limitation of a Pathname to a Restricted Directory.

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

Zyrabit SLM versions before 2.4.4 contain a critical flaw in the import_to_vault tool that could allow unauthorized file access and manipulation, potentially exposing sensitive organizational data. Leadership should prioritize remediation because the vulnerability can be triggered through a prompt-injected agent even in default configurations, and if legacy extensions are enabled, it becomes remotely exploitable without authentication.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Low
niche sovereign-AI enterprise RAG platform from a small vendor
Social Media
1
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
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