# CVE-2022-40309: Apache Archiva prior to 2.2.9 allows an authenticated user to delete arbitrary directories

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/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.63%, higher than 76% of CVEs (2026-12-01)
- Published: 2022-11-15T00:00:00.000Z
- Modified: 2026-06-17T05:01:17.350Z
- Also known as: GHSA-xgq8-jq9w-77r5
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## Description

Users with write permissions to a repository can delete arbitrary directories.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Archiva: from unspecified up to 2.2.8
- org.apache.archiva:archiva-common (Maven): before 2.2.9
- apache archiva: before 2.2.9

## Every score

- CISA-ADP: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://lists.apache.org/thread/1odl4p85r96n27k577jk6ftrp19xfc27> (issue-tracking, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/11/15/3> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-40309> (advisory)
- <https://github.com/apache/archiva> (package)

## Sources

- CVE List: [CVE-2022-40309](https://www.cve.org/CVERecord?id=CVE-2022-40309), CVE Terms of Use, modified 2025-04-30
- GitHub Advisory Database: [GHSA-xgq8-jq9w-77r5](https://github.com/advisories/GHSA-xgq8-jq9w-77r5), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-40309](https://nvd.nist.gov/vuln/detail/CVE-2022-40309), Public domain, modified 2026-06-17

---

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