CVE-2025-57231 Path traversal in n/a

High 7.5 Published Updated

An unauthenticated attacker can disclose local files via path traversal in avatar attachments, requiring an upgrade to Docmost.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-57231?

CVE-2025-57231 is a high-severity path traversal vulnerability in n/a, published on 10 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Path Traversal in avatar attachments in Docmost v0.21.0 allows an unauthenticated malicious actor to disclose local files via a POST Request in a public url.

Weakness: CWE-22

Which versions are affected by CVE-2025-57231?

How do I fix CVE-2025-57231?

No fix has been published for CVE-2025-57231 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-2025-57231 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-57231 exists.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-59m3-fj8c-996g.

Is CVE-2025-57231 in your software?

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

Check your SBOMs for free