---
title: "CVE-2021-40525: Apache Software Foundation Apache James Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2021-40525: Apache Software Foundation Apache James Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2021-40525 is a published software vulnerability affecting Apache Software Foundation Apache James. Published January 4, 2022 by apache. 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.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2021-40525
- Status: Published
- Affected vendor: Apache Software Foundation
- Affected product: Apache James
- Assigner CNA: apache
- Published date: January 4, 2022
- Last updated: August 4, 2024
- Weakness (CWE): CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Truck repair shops in the United States](https://specstream.ai/data/businesses/truck-repair-shops/united-states)
- [Clinical laboratories in the United States](https://specstream.ai/data/businesses/clinical-laboratories/united-states)
- [Ice suppliers in the United States](https://specstream.ai/data/businesses/ice-suppliers/united-states)
- [Research institutes in the United States](https://specstream.ai/data/businesses/research-institutes/united-states)
- [B2B cleaning and waste management companies in the United States](https://specstream.ai/data/businesses/b2b-cleaning-and-waste-management-companies/united-states)
- [Excavation contractors in the United States](https://specstream.ai/data/businesses/excavation-contractors/united-states)
