Skip to content
CriticalVulnerability

CVE-2026-130154: Zyrabit Platform path traversal in import_to_vault destination_name

Identifier
CVE-2026-130154
Published
Record updated
View JSON

Summary

Zyrabit Platform before 2.4.4 has a flaw in its import_to_vault tool, implemented in zyrabit-slm/api-rag/app/domain/services/mcp_service.py. The destination_name argument is not confined, so Path(DOCS_DIR) / destination_name passed to shutil.copy2 allows path traversal or an absolute path to write outside the vault. An unrestricted source_path can copy readable service files into the vault, where secure_query returns them. When ENABLE_LEGACY_EXTENSIONS=true, POST /mcp/rpc is registered without get_current_user, enabling unauthenticated network tool calls; this is disabled by default. The advisory also describes conditional process execution if an attacker can stage content and write to an execution-triggered destination.

Mitigation

Fixed in version 2.4.4.