Path Traversal in Apache James Server
Apache James Server prior to version 3.6.2 contains a path traversal vulnerability. The fix for CVE-2021-40525 does not prepend delimiters upon valid directory validations. Affected implementations include: - maildir mailbox store - Sieve file repository This enables a user to access other users data stores (limited to user names being prefixed by the value of the username being used).
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.james:james-server | < 3.6.2 | 3.6.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-22931
- https://github.com/apache/james-project/pull/877
- https://github.com/apache/james-project/pull/877/commits/b1e891a9e5eeadfa1d779ae50f21c73efe4d2fc7
- https://github.com/apache/james-project
- https://lists.apache.org/thread/bp8yql4wws56jlh0vxoowj7foothsmpr
- https://www.openwall.com/lists/oss-security/2022/02/07/1
- Weakness (CWE)
CWE-22- Platform
- Java / Kotlin (Maven)
- Package
org.apache.james:james-server- Disclosed
- 08.02.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-v84g-cf5j-xjqx - CC BY 4.0
Vulnerability history: org.apache.james:james-server
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 11
- First → latest
- 01.2022 02.2024
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 4
- Medium 5
Disclosures per year
- 2022: 8
- 2023: 1
- 2024: 2
- 2025: 0
- 2026: 0
-
Path Traversal in Apache James Server this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.