# CVE-2022-40308: Apache Archiva prior to 2.2.9 may allow the anonymous user to read arbitrary files

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-11-15 · Modified: 2025-04-30
- Aliases: GHSA-463w-hxfv-g9f6
- Record: https://cvemate.com/vulnerability/CVE-2022-40308 · JSON: https://cvemate.com/vulnerability/CVE-2022-40308/json

## Description

```text
If anonymous read enabled, it's possible to read the database file directly without logging in.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.495%, percentile 75.073%, 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: ≥ Apache Archiva, ≤ 2.2.8
- apache archiva: \< 2.2.9
- org.apache.archiva archiva-common (Maven): \< 2.2.9

## References

- <https://lists.apache.org/thread/x01pnn0jjsw512cscxsbxzrjmz64n4cc>
- <http://www.openwall.com/lists/oss-security/2022/11/15/2>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-40308>
- <https://archiva.apache.org/security.html>
- <https://github.com/apache/archiva>

---

Data as of 2026-12-05T03:28:47.874Z. 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
