CVE-2021-26291
A public proof of concept exists; no exploitation attested.
- Published2021-04-23
- WeaknessCWE-346
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2021-04-2315:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-04 09:37 UTCBlock 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| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | ≥ 8.0.6.0.0, ≤ 8.0.9.0.0 | no fix published | NVD |
| 8.1 | ≥ 8.1.0.0.0, ≤ 8.1.2.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.8 | < 3.8.1 | 3.8.1 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 23.1 | = 23.1 | no fix published | NVD |
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
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
Red Hat Security Advisory: Jenkins and Jenkins-2-plugins security update
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
Red Hat Security Advisory: Red Hat Process Automation Manager 7.13.2 security update
Red Hat Security Advisory: Red Hat Integration Camel-K 1.6.4 release and security update
2 more advisories
Fix
- 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
- 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…
- 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
- 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.
- 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.
- No fix planned, says the vendor Red Hat Product Security CVE-2021-26291 · 2 productsOut of support scope
Advisories and patches
- lists.apache.orgVendor Advisory
- www.oracle.comPatch
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.19.1read 2026-10-23
- NVDCVSS 2.06.4read 2026-10-23
- NVDweakness (CWE)CWE-346read 2026-10-23
- FIRST EPSSEPSS score8.7 %2026-11-03
- PoC-in-GitHubproof of concept1read 2026-11-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCRITICAL2021-04-26
Identifiers
- BIT-maven-2021-26291same flawBitnami · Apache-2.0
- CGA-22cv-56hh-2rrvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2395-6r48-9vj8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-26f5-44w8-8f83same flawChainguard · CC-BY-NC-ND-4.0
- CGA-26x9-gh7w-mqc2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-277q-h4gv-2j55same flawChainguard · CC-BY-NC-ND-4.0
- CGA-286f-9wwh-g7g3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-28rp-4j3x-ww38same flawChainguard · CC-BY-NC-ND-4.0
- CGA-29g6-4jcg-hm8psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-29jc-3rpp-84pxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2c25-mg3x-pfrgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2c3m-rqqm-57vrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2c95-x3h3-xj66same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2cm6-96xx-2gxrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2f9j-88gm-cj85same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2hc3-78w6-f3r4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2j6w-qvvq-phmjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2qm8-x9j7-x59wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2qwp-8gvh-6jf9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2vgr-f2wf-c9h5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2vp4-2wm6-27qqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2vv2-mp48-7f2xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2vwp-vv9f-vxmhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2w6r-2352-hmhpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2w76-x47j-hh9wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2ww8-6gvj-w59xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2www-5whj-c83qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2wxq-6pcv-4m82same flawChainguard · CC-BY-NC-ND-4.0
- CGA-32x3-qrfm-5gx6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-335f-mpx9-gjp9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-34c2-j9p5-cqc5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-34fr-4cc8-xm8gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-37pw-jm3r-7m7xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3986-wg5h-4h4qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-39rj-4g2w-rch4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3c63-5wxh-px56same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3c8h-9mmg-v3w8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3cg2-pw27-498xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3fww-995m-gj8rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3gx3-w2r3-w464same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3h8v-vr7r-gqc8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3hp3-98m2-9f5jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3jq3-3jph-85ccsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3m2j-79v7-ccqgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3m8p-5548-m7j6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3mcp-ghw3-gv54same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3p5g-hvgj-c9pwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3r6f-2jh4-pw7gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3rrr-2rvg-4grgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3wm2-8h55-g8qgsame flawChainguard · CC-BY-NC-ND-4.0
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?
Is CVE-2021-26291 actively exploited?
What is the CVSS score for CVE-2021-26291?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-2f88-5hg8-9x2x
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0