Summary
CVE-2026-130154 is a path traversal vulnerability (CWE-22, with missing authentication, CWE-306) in the Zyrabit Platform (zyrabit-SLM), an enterprise retrieval-augmented generation (RAG) infrastructure product. It affects versions before 2.4.4 and has a CVSS v3.1 base score of 9.1 (Critical). When the legacy MCP HTTP router is exposed, an unauthenticated remote attacker can read and write arbitrary files.
Technical details
- Root cause: The
import_to_vault(source_path, destination_name)MCP tool (inmcp_service.py) accepts both paths from the caller. A content-pattern guard checks the source file contents for executable patterns, but nothing confinesdestination_name. The destination is built asPath(DOCS_DIR) / destination_namewith no normalization or traversal check. - Trigger conditions: The attacker supplies a relative traversal path (for example
../../../../tmp/...) or an absolute path asdestination_name. Source files such as credential files can also be imported, because the content guard only targets executable patterns. Remote exploitation requires the unauthenticated MCP router to be reachable, which the advisory ties toENABLE_LEGACY_EXTENSIONS=true(HTTP bridge enabled). - Attack vector: Network, with no privileges and no user interaction when the HTTP bridge is enabled. The advisory rates the local-only case lower (CVSS 7.1 High).
- Impact: Arbitrary file disclosure (configuration files, credentials, SSH keys) and writes or overwrites at arbitrary paths. The advisory notes that overwriting files such as
~/.ssh/authorized_keyscould potentially lead to remote code execution.
Affected software
- Zyrabit-tech zyrabit-SLM versions earlier than 2.4.4
Severity
- CVSS v3.1 base score: 9.1 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Mitigation and recommended actions
- Immediate: Upgrade zyrabit-SLM to version 2.4.4 or later.
- If you cannot upgrade immediately (workarounds from the vendor advisory):
- Reduce
destination_nameto a bare file name, for example withos.path.basename. - Verify that the resolved destination stays inside the vault directory.
- Restrict
source_pathto an allowlisted directory. - Add authentication to the MCP router endpoint.
- Reduce
- Do not expose the MCP HTTP bridge or legacy extensions (
ENABLE_LEGACY_EXTENSIONS=true) to untrusted networks.

