Live threats

All CVEs / Apache

CVE-2021-26291Apache Maven

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
8.7%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Apr 23, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-346
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

Apache Maven will follow repositories that are defined in a dependency’s Project Object Model (pom) which may be surprising to some users, resulting in potential risk if a malicious actor takes over that repository or is able to insert themselves into a position to pretend to be that repository. Maven is changing the default behavior in 3.8.1+ to no longer follow http (non-SSL) repository references by default. More details available in the referenced urls. If you are currently using a repository manager to govern the repositories used by your builds, you are unaffected by the risks present in the legacy behavior, and are unaffected by this vulnerability and change to default behavior. See this link for more information about repository management: https://maven.apache.org/repository-management.html

Original NVD text.

What to do

  1. Apply the vendor's security update for Maven.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.maven:maven-compat < 3.8.1 3.8.1 —
Maven org.apache.maven:maven-core < 3.8.1 3.8.1 —

Per OSV / GitHub Advisories (GHSA-2f88-5hg8-9x2x). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachemaven< 3.8.1
quarkusquarkus< 1.13.5
oraclefinancial_services_analytical_applications_infrastructure≥ 8.0.6.0.0 ≤ 8.0.9.0.0
oraclefinancial_services_analytical_applications_infrastructure≥ 8.1.0.0.0 ≤ 8.1.2.0
oraclegoldengate_big_data_and_application_adapters23.1

Official sources

References

Links published by the sources. Open them with care.