Live threats

All CVEs / Apache

CVE-2021-40525Apache James

Critical 9.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for James.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachejames< 3.6.2

Official sources

References

Links published by the sources. Open them with care.