CVE-2026-130154 Zyrabit-tech · zyrabit-SLM
AI summary
zyrabit-SLM before 2.4.4 has a path traversal in the import_to_vault tool allowing writes outside the vault and disclosure of files readable by the service, with conditional process execution possible. When ENABLE_LEGACY_EXTENSIONS=true (disabled by default), POST /mcp/rpc is reachable over the network without authentication. Critical (CVSS 9.1); upgrade to 2.4.4.
Official description
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.
- Published
- 2026-11-18 17:17 UTC
- Modified
- 2026-11-19 15:17 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - EPSS
- 0.63% (percentile 45)
- ENISA EUVD
- EUVD-2026-129040
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-22
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- github.com
https://github.com/Zyrabit-tech/zyrabit-SLM/commit/bb81be4d279a4680e26213c52041c003f9b78869 - github.com
https://github.com/Zyrabit-tech/zyrabit-SLM/pull/99 - github.com
https://github.com/Zyrabit-tech/zyrabit-SLM/releases/tag/v2.4.4 - github.com
https://github.com/Zyrabit-tech/zyrabit-SLM/security/advisories/GHSA-r4q8-hjfc-ggp2