CVE-2021-26291

block repositories using http by default

CRITICAL
9.1
CVSS Score
Published: April 23, 2021 at 02:20 PM UTC
Updated: June 17, 2026 at 03:43 AM UTC
4 products affected across 3 vendorsFinancial Services Analytical Applications InfrastructureQuarkusMaven

Using Apache Maven by Apache Software Foundation?

Get instant alerts when new vulnerabilities affect Apache Maven - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.1
Exploit prediction
EPSS 9%

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.8.1Apache Maven ≤ v ≤ 3.8.1
Affected range stops below 3.8.1, so it looks safe — our inference, not a vendor statement
8.0.6.0.0 ≤ v ≤ 8.0.9.0.08.1.0.0.0 ≤ v ≤ 8.1.2.0
v < 1.13.5
Affected range stops below 1.13.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-346

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card