Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-40525
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:34 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-40525
Complete source record
{
"id": "8703b1a65299adedfbe21f34334d367007ecd0d9119714c1a352c1b298bcc398",
"url": "https://osv.dev/vulnerability/CVE-2021-40525",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-40525",
"summary": "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.",
"evidence": "osv:CVE-2021-40525",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-40525",
"aliases": [
"CVE-2021-40525",
"GHSA-c38m-7h53-g9v4"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/james-project",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "1a99bbf78209779e4f90369afba43f1536b633e4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:james:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.6.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"james-project-3.6.1",
"james-project-3.6.0",
"james-project-3.4.0",
"james-project-3.3.0",
"pre-3.1.0",
"james-project-3.0.0",
"cassandra_migration_v1_to_v2",
"james-project-3.0.0-RC1",
"james-project-3.0.0-beta5",
"james-project-3.0-beta5"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40525.json"
}
}
],
"modified": "2026-10-24T10:30:54.998118970Z",
"provider": "osv",
"references": [
"https://www.openwall.com/lists/oss-security/2022/01/04/4"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-40525",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438327,
"published_at": "2022-01-04T09:15:07.423+00:00"
}