Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach unauthenticated /mcp/rpc (legacy bridge) or inject agent prompt
-
DeliveryCall import_to_vault with chosen source_path
-
ExploitSet traversal/absolute destination_name past DOCS_DIR
-
Executionshutil.copy2 writes outside vault or stages secrets
-
PersistRead secrets via secure_query or overwrite authorized_keys
-
ImpactDisclose 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 1
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
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.
Apply vendor patch.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-129040
NVD
CVE.org
EPSS
GitHub
Exploit-DB