CVE-2021-26291

CRITICAL

Apache Maven < 3.8.1 - Origin Validation Error

Title source: rule

Description

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

Exploits (1)

nomisec WRITEUP
by jpmartins · poc
https://github.com/jpmartins/MinimalReproducer

References (43)

... and 23 more

Scores

CVSS v3 9.1
EPSS 0.4610
EPSS Percentile 97.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Details

CWE
CWE-346
Status published
Products (6)
apache/maven < 3.8.1
oracle/financial_services_analytical_applications_infrastructure 8.0.6.0.0 - 8.0.9.0.0
oracle/goldengate_big_data_and_application_adapters 23.1
org.apache.maven/maven-compat 0 - 3.8.1Maven
org.apache.maven/maven-core 0 - 3.8.1Maven
quarkus/quarkus < 1.13.5
Published Apr 23, 2021
Tracked Since Feb 18, 2026