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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-11-15 · Modified: 2025-04-30
- Aliases: GHSA-xgq8-jq9w-77r5
- Record: https://cvemate.com/vulnerability/CVE-2022-40309 · JSON: https://cvemate.com/vulnerability/CVE-2022-40309/json

## Description

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

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- EPSS: 1.664%, percentile 77.536%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache archiva: ≥ unspecified, ≤ 2.2.8
- apache archiva: \< 2.2.9
- org.apache.archiva archiva-common (Maven): \< 2.2.9

## References

- <https://lists.apache.org/thread/1odl4p85r96n27k577jk6ftrp19xfc27>
- <http://www.openwall.com/lists/oss-security/2022/11/15/3>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-40309>
- <https://github.com/apache/archiva>

---

Data as of 2026-12-05T03:44:30.816Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
