CVE-2021-40525: Sieve file storage vulnerable to path traversal attacks
Vulnerability summary
CVE-2021-40525 is a critical (CVSS 9.1) vulnerability in apache software foundation apache james. EPSS estimates a 3.83% chance of exploitation in the next 30 days, higher than 90.4% of scored vulnerabilities.
Severe, CVSS 9.1 (NVD); no exploitation reported by the 5 checked sources; EPSS 4% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 04-01-2022PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · MavenEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
3.83%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.83% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- james< 3.6.2
Apache software foundation1 product
- apache james≥ Apache James, ≤ 3.6.0
Chainguard1 product
- keycloakAll versions (No fix recorded)
Org.apache.james1 product
- james-server< 3.6.1
Wolfi1 product
- keycloakAll versions (No fix recorded)
5 vendors · 5 products
References
5 links- www.openwall.com/lists/oss-security/2022/01/04/4X Refsource MISCAdvisoryWEBMailing ListThird Party Advisory
- www.openwall.com/lists/oss-security/2022/01/04/4Mailing ListX Refsource MLISTAdvisoryWEBThird Party Advisory
- www.openwall.com/lists/oss-security/2022/02/07/1Mailing ListX Refsource MLISTAdvisoryWEBThird Party Advisory