CVE-2026-22249 Docmost affected by an Arbitrary File Write via Zip Import Feature (ZipSlip)
Attackers can write arbitrary files via ZipSlip in Docmost's import feature, potentially leading to code execution or data modification.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-22249?
CVE-2026-22249 is a high-severity path traversal vulnerability in docmost, published on 15 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Docmost is an open-source collaborative wiki and documentation software. From 0.21.0 to before 0.24.0, Docmost is vulnerable to Arbitrary File Write via Zip Import Feature (ZipSlip). In apps/server/src/integrations/import/utils/file.utils.ts, there are no validation on filename. This vulnerability is fixed in 0.24.0.
Weakness: CWE-22
Which versions are affected by CVE-2026-22249?
It affects 1 product.
Products include Docmost Docmost.
How do I fix CVE-2026-22249?
No fix has been published for CVE-2026-22249 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-22249 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22249 exists.
Other vulnerabilities in docmost
- CVE-2026-24045 Docmost Affected by Stored XSS in Public Share Page
- CVE-2026-23630 Docmost is vulnerable to stored Cross-Site Scripting (XSS) through Mermaid rendering
- CVE-2025-55574 Cross-site scripting in n/a
- CVE-2026-40927 Docmost: XSS in Comments with JavaScript URI
- CVE-2026-34212 Docmost page content has stored XSS via unsanitized attachment URLs
Sources
Also known as GHSA-54pm-hqxm-54wg.