CVE-2021-40525Apache James
Critical 9.1 No auth needed
Follow: this CVE · Apache · Apache James We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 3.8% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Jan 4, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
Apache James ManagedSieve implementation alongside with the file storage for sieve scripts is vulnerable to path traversal, allowing reading and writing any file. This vulnerability had been patched in Apache James 3.6.1 and higher. We recommend the upgrade. Distributed and Cassandra based products are also not impacted.
What to do
- Apply the vendor's security update for James.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.james:james-server |
< 3.6.1 |
3.6.1 |
— |
Per OSV / GitHub Advisories (GHSA-c38m-7h53-g9v4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | james | < 3.6.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory