CVE-2021-40525
CRITICAL 9.1CVSS 3.1Path traversal in Apache James
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.
- Published
- 4 Jan 2022
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-c38m-7h53-g9v4
- Sources
- NVDJSONOSV GHSA-c38m-7h53-g9v4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | jamescpe:2.3:a:apache:james:*:*:*:*:*:*:*:* |
< 3.6.2 | 3.6.2 |
| OSV | Maven | org.apache.james:james-server | < 3.6.1 | 3.6.1 |
References
- http://www.openwall.com/lists/oss-security/2022/01/04/4 · Mailing List, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2022/02/07/1 · Mailing List, Third Party Advisory, WEB
- https://www.openwall.com/lists/oss-security/2022/01/04/4 · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-40525 · ADVISORY
- https://github.com/apache/james-project · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 4 Jan 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Jan 2022)