CVE-2022-40309: Apache Archiva prior to 2.2.9 allows an authenticated user to delete arbitrary directories
Vulnerability summary
CVE-2022-40309 is a medium (CVSS 4.3) vulnerability in apache software foundation apache archiva. EPSS estimates a 1.66% chance of exploitation in the next 30 days, higher than 77.5% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 15-11-2022PublishedVulnerability first disclosed.
- 30-04-2025Last modifiedVulnerability information updated.
Description
Users with write permissions to a repository can delete arbitrary directories.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
1.66%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
Increase +0.17 pp
From 1.50% 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, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- archiva< 2.2.9
Apache software foundation1 product
- apache archiva≥ unspecified, ≤ 2.2.8
Org.apache.archiva1 product
- archiva-common< 2.2.9
3 vendors · 3 products
References
4 links- lists.apache.org/thread/1odl4p85r96n27k577jk6ftrp19xfc27WEBIssue TrackingMailing ListVendor Advisory
- github.com/apache/archivaPACKAGE