InfraRunBook
    Back to articles

    CVE-2026-130154: Zyrabit zyrabit-SLM path traversal in import_to_vault - affected versions and fix

    CVE Advisories
    Published: Nov 18, 2026
    Updated: Nov 18, 2026

    CVE-2026-130154 is a path traversal flaw (CVSS 9.1) in the import_to_vault tool of Zyrabit zyrabit-SLM before 2.4.4. It allows arbitrary file write outside the vault and disclosure of files the service can read. If ENABLE_LEGACY_EXTENSIONS=true, the tool endpoint is reachable over the network without authentication. Upgrade to 2.4.4.

    CVE-2026-130154: Zyrabit zyrabit-SLM path traversal in import_to_vault - affected versions and fix

    At a glance

    • CVE ID: CVE-2026-130154
    • Severity: CVSS 3.1 score 9.1, CRITICAL. Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    • Vendor / product: Zyrabit-tech zyrabit-SLM (Zyrabit Platform)
    • Affected versions: All versions before 2.4.4
    • Fixed / patched versions: 2.4.4
    • Exploited in the wild: No known exploitation
    • Attack vector: Network. No authentication when the optional ENABLE_LEGACY_EXTENSIONS=true setting exposes POST /mcp/rpc. No user interaction. The tool can also be called locally without that setting.
    • Published by: GitHub_M (GitHub), 2026-11-18
    • Official advisory: GHSA-r4q8-hjfc-ggp2

    What is this vulnerability?

    Zyrabit Platform (zyrabit-SLM) provides sovereign AI infrastructure for enterprise retrieval-augmented generation (RAG). It has an MCP-style tool called

    import_to_vault
    . The tool takes two inputs:
    source_path
    and
    destination_name
    . The caller controls both.

    The tool is implemented in

    zyrabit-slm/api-rag/app/domain/services/mcp_service.py
    . It builds the destination by joining the documents directory with
    destination_name
    , then passes the result to
    shutil.copy2
    . The code has a content-pattern guard, but that guard does not restrict where
    destination_name
    points. A relative path that climbs out of the directory, or an absolute path, makes the copy land outside the vault. This is a classic path traversal (CWE-22).

    The read side has the same problem.

    source_path
    is not restricted either. Any file the service account can read can be copied into the vault. After that, the content can be retrieved through the
    secure_query
    function. The executable-pattern filter only blocks content that matches its patterns. Everything else, such as config files, keys or credentials, passes through.

    The second weakness is missing authentication (CWE-306). When

    ENABLE_LEGACY_EXTENSIONS=true
    is set,
    zyrabit-slm/api-rag/app/main.py
    registers
    POST /mcp/rpc
    without the
    get_current_user
    dependency. Anyone who can reach that endpoint can call the tool without logging in. This exposure is off by default. It is also not required for the flaw to exist, because local callers can invoke the tool directly.

    How does it affect you?

    The impact has three parts:

    • Arbitrary file write. An attacker can write files anywhere the service account has write access. That can overwrite application files, configuration or data.
    • File disclosure. An attacker can pull any file readable by the service into the vault and read it back through the query path. Think environment files, API keys, database credentials and private keys.
    • Conditional code execution. The advisory says process execution is possible if an attacker can stage chosen source content and write it to a location that triggers execution. This depends on your deployment, so treat it as a real possibility rather than a certainty.

    The CVSS score of 9.1 assumes network access with no privileges. That matches the case where legacy extensions are enabled. If your deployment has that flag on and the API is reachable from untrusted networks, treat this as an emergency. If the flag is off, the risk is lower but not gone. Any user, agent or LLM workflow that can call the tool can still misuse it. In a RAG system, tool calls can be driven by model output, so be careful about assuming that only trusted parties call tools.

    There is no known exploitation in the wild. The CVE is not listed in CISA KEV at publication.

    Who is affected?

    Anyone running Zyrabit-tech zyrabit-SLM before version 2.4.4. The highest-risk group is deployments where:

    • ENABLE_LEGACY_EXTENSIONS
      is set to
      true
      , and
    • the API service is reachable from networks you do not fully trust, and
    • the service runs with broad filesystem read or write permissions.

    Deployments with the flag left at its default (disabled) are still affected through local or authenticated tool calls.

    How to check if you are vulnerable

    1. Find the zyrabit-SLM version you are running. Check your deployment manifest, container image tag, or the Git tag or commit you deployed from. Anything earlier than 2.4.4 is vulnerable.
    2. Check whether legacy extensions are on. Look in your environment files, container environment, compose files or orchestration manifests for
      ENABLE_LEGACY_EXTENSIONS
      . A generic search over your config directory works:
    grep -rn ENABLE_LEGACY_EXTENSIONS /path/to/your/deployment/config
    1. If the flag is
      true
      , check if
      /mcp/rpc
      is reachable from outside the host. Review your firewall rules, reverse proxy routes and load balancer config.
    2. Check which account the API service runs as and what it can read and write. This tells you how much damage a successful attack could do.

    How to fix and recover

    1. Upgrade to 2.4.4. This is the fixed release. See the v2.4.4 release. The fix is in pull request #99 and commit bb81be4.
    2. Verify after patching. Confirm the running instance reports or was built from 2.4.4. Restart all API replicas so none still run old code.
    3. Turn off legacy extensions unless you have a confirmed need for them.
    4. Assume compromise if you were exposed. If an older version ran with legacy extensions enabled on a reachable network, take these steps:
      • Rotate every secret the service could read. That includes API keys, database passwords, model provider tokens and TLS or SSH private keys on the host.
      • Review the vault contents for documents you did not import, especially copies of system or config files.
      • Look for new or changed files outside the vault directory, owned by the service account.
      • Restore application code and config from a known-good source. Rebuilding containers from clean images is the simplest option.

    Workarounds and mitigations

    The advisory lists no official workarounds. Upgrading is the fix. If you cannot upgrade right away, these steps reduce exposure:

    • Set
      ENABLE_LEGACY_EXTENSIONS
      to false or remove it. This removes the unauthenticated network path.
    • Block
      /mcp/rpc
      at your reverse proxy or firewall for all untrusted sources.
    • Run the service as a low-privilege account. Make the filesystem read-only wherever you can, with only the vault directory writable.
    • Keep secrets out of files the service can read. Use a secrets manager or tightly scoped mounts.

    None of these remove the bug. They only shrink who can reach it and what it can touch.

    What to monitor

    • Requests to
      POST /mcp/rpc
      , especially from unexpected sources or without authenticated sessions.
    • Calls to
      import_to_vault
      whose path arguments contain parent-directory sequences or absolute paths.
    • New documents in the vault that look like system files, configuration or credentials.
    • File writes by the service account outside the documents directory. File integrity monitoring helps here.
    • Unexpected processes started by the service account, given the conditional execution risk.
    • Use of any secrets after rotation, which may show they were stolen earlier.

    References

    Frequently Asked Questions

    Which versions of zyrabit-SLM are affected by CVE-2026-130154?

    All versions before 2.4.4 are affected. Version 2.4.4 contains the fix.

    Is CVE-2026-130154 exploitable without authentication?

    Yes, if ENABLE_LEGACY_EXTENSIONS=true. That setting registers POST /mcp/rpc without authentication. It is disabled by default. Even with it off, local or authenticated callers can still misuse the vulnerable tool.

    Is CVE-2026-130154 being exploited in the wild?

    There is no known exploitation. It is not listed in CISA's Known Exploited Vulnerabilities catalog.

    What can an attacker do with this flaw?

    They can write files outside the vault and read any file the service can access by copying it into the vault and retrieving it through secure_query. The advisory also describes conditional process execution if the attacker can write chosen content to a location that triggers execution.

    What should I do if I cannot upgrade immediately?

    Disable ENABLE_LEGACY_EXTENSIONS, block /mcp/rpc from untrusted networks, and run the service with minimal filesystem permissions. These steps reduce risk but do not fix the bug. Upgrade to 2.4.4 as soon as you can.

    Related Articles

    CVE-2026-123903: VMware vCenter Server authentication bypass - affected versions and fix

    CVE-2026-123903 is a critical (CVSS 9.8) authentication bypass in the VMware Directory Service used by VMware vCenter Server. Broadcom lists fixed releases for vCenter 9.1, 9.0 and 8.0, VMware Cloud Foundation 5.x and the Telco Cloud products.

    CVE-2026-123910, CVE-2026-123911, CVE-2026-123912: VMware ESX critical I/O filter and XHCI flaws - affected versions and fix

    Broadcom disclosed three critical VMware ESX flaws: two in the I/O filter service (CVSS 9.8, network-reachable, no authentication) and one in the XHCI USB controller (CVSS 9.3). Fixed builds are available for ESX 9.1, 9.0 and 8.0, VCF 5.x and Telco Cloud Platform.

    CVE-2026-136412: OpenResty stream-lua-nginx-module use-after-free via receiveuntil() - affected versions and fix

    CVE-2026-136412 is a use-after-free in OpenResty stream-lua-nginx-module before 0.0.20rc4. A garbage-collected receiveuntil() iterator can leave a stale pointer that crashes or corrupts the nginx worker. Upgrade to 0.0.20rc4 or later.

    CVE-2026-123172: SolarWinds Serv-U privilege escalation to root on Linux - affected versions and fix

    CVE-2026-123172 is a privilege escalation flaw in SolarWinds Serv-U 2026.3 and earlier. It can lead to root on Linux installs, and the risk is lower on Windows. SolarWinds fixed it in Serv-U 2026.4.

    CVE-2026-82321 and 7 more: SolarWinds Serv-U privilege escalation flaws - affected 2026.3 and below, fixed in 2026.4

    SolarWinds disclosed eight privilege escalation flaws in Serv-U 2026.3 and earlier. Each lets a domain administrator or higher gain more access. SolarWinds fixed all eight in Serv-U 2026.4. No exploitation is known.

    CVE-2026-134624: N-able MailAssure (SpamExperts) SSRF in relay LDAP sync check - affected versions and fix

    CVE-2026-134624 is a server-side request forgery flaw in N-able MailAssure (SpamExperts) before 20261121.1943. An authenticated API user can make the server probe internal hosts and ports and send crafted data to internal services. It is listed in CISA KEV.