Summary
Versions of zyrabit-SLM before 2.4.4 do not properly validate the destination_name and source_path parameters of import_to_vault, allowing writes outside the intended directory and disclosure of files readable by the service. The source assigns a CVSS 3.1 score of 9.1 (critical) and states it is fixed in version 2.4.4.
What happened
The import_to_vault tool accepts caller-controlled paths (source_path and destination_name). The content-pattern guard does not confine destination_name, so a path with directory traversal or an absolute path can cause a file to be written outside the vault. In addition, 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 it. When ENABLE_LEGACY_EXTENSIONS=true, the application registers the POST /mcp/rpc endpoint without user authentication, allowing unauthenticated tool calls over the network; this exposure is optional, disabled by default, and not required for local invocation. The advisory also describes conditional process execution: if an attacker can stage chosen source content and write to a destination that triggers execution. The issues are classified as CWE-22 and CWE-306.
Why it matters
The source assigns a CVSS 3.1 score of 9.1 (critical severity), with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, published by CNA:GitHub_M. This indicates high impact on confidentiality and integrity. The source does not indicate active exploitation: the issue is not listed as known exploited, and no evidence is provided that it is a zero-day.
Affected products and versions
zyrabit-SLM (vendor: Zyrabit-tech), versions < 2.4.4.
| Product | Versions | Fixed in |
|---|---|---|
| Zyrabit-tech zyrabit-SLM | < 2.4.4 | — |
Action recommended by the source
The vendor states the issue is fixed in version 2.4.4. More details are available in the vendor's security advisory (GHSA-r4q8-hjfc-ggp2), pull request 99, and the v2.4.4 release of the Zyrabit-tech/zyrabit-SLM repository on GitHub.
Sources and references
- https://github.com/Zyrabit-tech/zyrabit-SLM/security/advisories/GHSA-r4q8-hjfc-ggp2 — CVE Program
- https://github.com/Zyrabit-tech/zyrabit-SLM/pull/99 — CVE Program
- https://github.com/Zyrabit-tech/zyrabit-SLM/commit/bb81be4d279a4680e26213c52041c003f9b78869 — CVE Program
- https://github.com/Zyrabit-tech/zyrabit-SLM/releases/tag/v2.4.4 — CVE Program
Weaknesses (CWE): CWE-22, CWE-306
Relevant change history
Advisory correction
The preliminary version was replaced by the full write-up.
Published
Preliminary advisory published.