CVE-2022-22931: Maildir & Sieve - Path Traversal
- Cve: CVE-2022-22931
- Name: Maildir & Sieve - Path Traversal
- 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).
- Impact: Attackers can access other users' data stores, leading to unauthorized data disclosure.
- Remediation: Apply patches that correctly prepend delimiters during directory validation to prevent cross-user data store access.
- Vulnerability type: path_traversal
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.01761
- Epss percentile: 0.78593
- Assignee: [email protected]
- Published at: 2022-02-07T19:15:08Z
- Age in days: 1751
- Modified at: 2026-06-17T04:29:11Z
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-22931
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/shoucheng3/asf__james-project_CVE-2022-22931_3-6-0 | poc-in-github | 2025-08-17 |
References
| Url | Source | Tags |
|---|---|---|
| https://lists.apache.org/thread/bp8yql4wws56jlh0vxoowj7foothsmpr | nvd | Mailing List, Vendor Advisory |
| https://www.openwall.com/lists/oss-security/2022/02/07/1 | nvd | Mailing List, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:james | = 3.6.1 | no | nvd | /v1/products/apache/james |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/james-project | package, pull | yes | /v1/repositories/apache/james-project |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-08-17
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts