CVE-2026-22249 Docmost affected by an Arbitrary File Write via Zip Import Feature (ZipSlip)

High 7.1 Published Updated

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.

Sources

Also known as GHSA-54pm-hqxm-54wg.

Is CVE-2026-22249 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free