CVE-2026-26058: Zulip Server path traversal in data import utility

CVE-2026-26058 · Severity: medium · CVSS 6.1 · Published 2026-04-03

Zulip is an open-source team collaboration platform. A security flaw in its data import tool allows an attacker to steal sensitive files from the server's filesystem, such as configuration secrets or system passwords. To exploit this, an attacker must trick an administrator into running a malicious data import using a specially crafted file.

Technologies: Zulip. Vendors: Zulip.

Quick answers

Is CVE-2026-26058 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-26058 being exploited in the wild.
How severe is CVE-2026-26058?
Medium severity, with a CVSS score of 6.1, published 3 April 2026.
Which products and versions are affected?
Zulip Zulip Server 1.4.0 to 11.5.
Is there a fix for CVE-2026-26058?
A patch was published on 2026-03-31: Fix committed to repository Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-26058 attacked?
It is attacked with local access, in a network appliance.
Am I affected by CVE-2026-26058?
Check whether you run Zulip. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A path traversal vulnerability (CWE-22) exists in the `./manage.py import` command of Zulip Server. The root cause is a failure to sanitize file paths within the `uploads/records.json` file contained in export tarballs. When an administrator imports a crafted tarball, the `import_uploads` function in `zerver/lib/import_realm.py` uses `os.path.join` on unsanitized input, allowing an attacker to reference files outside the intended directory. This results in the server copying arbitrary files (readable by the 'zulip' user) into the public uploads directory or an S3 bucket. The issue is fixed in version 11.6 by implementing path validation using `os.path.realpath`.

Affected products

  • Zulip Zulip Server 1.4.0 to 11.5

Timeline

  • 2026-03-31: patched: Fix committed to repository
  • 2026-03-31: advisory: GitHub Security Advisory published
  • 2026-04-03: disclosed: CVE published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.