# CVE-2022-22931: Path traversal in Apache James 3.6.1

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.82%, higher than 79% of CVEs (2026-12-01)
- Published: 2022-02-07T18:50:10.000Z
- Modified: 2026-06-17T04:29:11.940Z
- Also known as: GHSA-v84g-cf5j-xjqx
- Weaknesses: CWE-22
- Assigned by: apache

## Description

Fix of CVE-2021-40525 do not prepend delimiters upon valid directory validations. Affected implementations include: - maildir mailbox store - Sieve file repository This enables a user to access other users data stores (limited to user names being prefixed by the value of the username being used).

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache James: Apache James 3.6.1
- org.apache.james:james-server (Maven): before 3.6.2
- apache james: 3.6.1

## Every score

- GitHub: rating Medium
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://lists.apache.org/thread/bp8yql4wws56jlh0vxoowj7foothsmpr> (mailing-list, vendor-advisory, web)
- <https://www.openwall.com/lists/oss-security/2022/02/07/1> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-22931> (advisory)
- <https://github.com/apache/james-project/pull/877> (web)
- <https://github.com/apache/james-project/pull/877/commits/b1e891a9e5eeadfa1d779ae50f21c73efe4d2fc7> (web)
- <https://github.com/apache/james-project> (package)

## Sources

- CVE List: [CVE-2022-22931](https://www.cve.org/CVERecord?id=CVE-2022-22931), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-v84g-cf5j-xjqx](https://github.com/advisories/GHSA-v84g-cf5j-xjqx), CC-BY-4.0, modified 2024-12-05
- NVD: [CVE-2022-22931](https://nvd.nist.gov/vuln/detail/CVE-2022-22931), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-22931 · Whole record: https://cve.day/CVE-2022-22931.json · Rebuilt by cve.day 2026-11-25T22:58:09.545Z
