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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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.46%, higher than 74% of CVEs (2026-12-01)
- Published: 2022-11-15T00:00:00.000Z
- Modified: 2026-06-17T05:01:17.203Z
- Also known as: GHSA-463w-hxfv-g9f6
- Weaknesses: CWE-200, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## Description

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

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Archiva: from Apache Archiva 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 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

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

## Sources

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

---

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