Every CVE Search/ Get API key

CVE-2022-40309

Apache Archiva prior to 2.2.9 allows an authenticated user to delete arbitrary directories

4.3 MediumFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
None

Exploit likelihood

1.50%Up 0.6 points since Nov 16, 2022
90%50%10%1%

What each source reports

NVD Score used 4.3

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

Record
CVE-2022-40309
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
CVE List 4.3

Apache Archiva prior to 2.2.9 allows an authenticated user to delete arbitrary directories

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

Record
CVE-2022-40309
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
EUVDEUVD-2022-7463 4.3

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

Record
EUVD-2022-7463
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-xgq8-jq9w-77r5 4.3

Apache Archiva subject to arbitrary directory deletion by users.

Apache Archiva prior to 2.2.9 allows an authenticated user to delete arbitrary directories. Users with write permissions to a repository can delete arbitrary directories.

Record
GHSA-xgq8-jq9w-77r5
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-862
Updated
2026-11-02
OSV 4.3

Apache Archiva prior to 2.2.9 allows an authenticated user to delete arbitrary directories

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

Record
CVE-2022-40309
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
OSVGHSA-xgq8-jq9w-77r5 4.3

Apache Archiva subject to arbitrary directory deletion by users.

Apache Archiva prior to 2.2.9 allows an authenticated user to delete arbitrary directories. Users with write permissions to a repository can delete arbitrary directories.

Record
GHSA-xgq8-jq9w-77r5
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-862
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.archiva:archiva-common
Maven
before 2.2.9
2.2.9
org.apache.archiva:archiva-common
Maven
before 2.2.9, plus listed versions
1.11.1.11.1.21.1.31.1.4
Show 29 moreShow less
1.21.2-M11.2.11.2.21.31.3.11.3.21.3.31.3.41.3.51.3.61.3.81.3.91.4-M11.4-M21.4-M31.4-M42.0.02.0.12.1.02.1.12.2.02.2.12.2.32.2.42.2.52.2.62.2.72.2.8
2.2.9

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-40309 is a medium vulnerability (CVSS 4.3) in Apache Archiva, published November 15, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.50%, the 74th percentile. Fixed in org.apache.archiva:archiva-common 2.2.9.

References

MoveEnter Open