Skip to main content
Public proof of conceptFix available

CVE-2021-26291

A public proof of concept exists; no exploitation attested.

  • Published2021-04-23
  • WeaknessCWE-346

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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

Timeline

dates in UTC
  1. 2021-04-2315:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-04 09:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2021-26291?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2021-26291?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Oracle financial services analytical applications infrastructure
BranchAffectedFixed in
8.0≥ 8.0.6.0.0, ≤ 8.0.9.0.0no fix published
8.1≥ 8.1.0.0.0, ≤ 8.1.2.0no fix published
Apache maven
BranchAffectedFixed in
3.8< 3.8.13.8.1
Oracle goldengate big data and application adapters
BranchAffectedFixed in
23.1= 23.1no fix published

1 more product in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • clojureopenSUSE:Tumbleweedall versions · fixed in 1.10.3.855-1.2
  • hadoop-fips-3.3.6Chainguardall versions · fixed in 3.3.6-r21
  • hadoop-fips-3.3.6Chainguardall versions · fixed in 3.3.6-r15
  • hadoop-fips-3.5Chainguardall versions · no fixed version listedand 85 other packages
  • jenkinsRed Hat:ocp_tools:4.13::el8all versions · fixed in 0:2.426.3.1706516254-3.el8
  • jenkinsRed Hat:ocp_tools:4.12::el8all versions · fixed in 0:2.426.3.1706515686-3.el8
  • jenkinsRed Hat:ocp_tools:4.11::el8all versions · fixed in 0:2.387.1.1683009763-3.el8
  • jenkins-2-pluginsRed Hat:ocp_tools:4.13::el8all versions · fixed in 0:4.13.1706516346-1.el8

14 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-26291 Red Hat Product Security10 products fixed · 338 known affected

    maven: Block repositories using http by default

    openjdk-8-ubi8-container as a component of Red Hat build of OpenJDK 1.8 · redhat-openjdk-18-openjdk18-openshift as a component of Red Hat build of OpenJDK 1.8 · openjdk-11-rhel7-container as a component of Red Hat build of OpenJDK 11 · +335 more

  • RHSA-2024:0778 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Jenkins and Jenkins-2-plugins security update

  • RHSA-2024:0776 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: jenkins and jenkins-2-plugins security update

  • RHSA-2023:3198 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: jenkins and jenkins-2-plugins security update

  • RHSA-2023:1334 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Process Automation Manager 7.13.2 security update

  • RHSA-2022:1029 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Integration Camel-K 1.6.4 release and security update

2 more advisories

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2024:0778 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Vendor fix Red Hat Product Security RHSA-2023:1334 · 1 productFor on-premise installations, before applying the update, back up your existing installation including all applications, configuration files, databases and database settings, and so on. Red Hat recommends that you halt the server by stopping the JBoss Application Server process before installing t…
  3. Vendor fix Red Hat Product Security RHSA-2022:1029 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHSA-2021:3880 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link for the update. You must be logged in to download the update.
  5. Workaround from the vendor Red Hat Product Security RHSA-2024:0778 · 4 productsTo avoid possible man-in-the-middle related attacks with this flaw, ensure any linked repositories in maven POMs use https and not http.
  6. No fix planned, says the vendor Red Hat Product Security CVE-2021-26291 · 2 productsOut of support scope

Advisories and patches

Detection

read 2026-11-03 22:42 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
1 repository, unverifiedjpmartins/MinimalReproducer
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published
2021-04-23
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-2f88-5hg8-9x2x

Frequently asked questions

What is CVE-2021-26291?

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

Is CVE-2021-26291 actively exploited?

Active exploitation of CVE-2021-26291 has not been confirmed. Its EPSS score was 8.7% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-26291?

CVE-2021-26291 has a CVSS v3 base score of 9.1 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.

Running maven? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record