CVE-2022-40308: Apache Archiva prior to 2.2.9 may allow the anonymous user to read arbitrary files
Vulnerability summary
CVE-2022-40308 is a high (CVSS 7.5) vulnerability in apache software foundation apache archiva. EPSS estimates a 1.49% chance of exploitation in the next 30 days, higher than 75% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 15-11-2022PublishedVulnerability first disclosed.
- 30-04-2025Last modifiedVulnerability information updated.
Description
If anonymous read enabled, it's possible to read the database file directly without logging in.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
1.49%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
Increase +0.18 pp
From 1.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- archiva< 2.2.9
Apache software foundation1 product
- apache archiva≥ Apache Archiva, ≤ 2.2.8
Org.apache.archiva1 product
- archiva-common< 2.2.9
3 vendors · 3 products
References
5 links- lists.apache.org/thread/x01pnn0jjsw512cscxsbxzrjmz64n4ccWEBIssue TrackingMailing ListVendor Advisory
- github.com/apache/archivaPACKAGE