Home / Apache Software Foundation / Apache OFBiz / CVE-2021-26295
CVE-2021-26295: is it exploited, and which versions of Apache Software Foundation Apache OFBiz are affected and fixed?
CVE-2021-26295 is a deserialization of untrusted data vulnerability in Apache Software Foundation Apache OFBiz. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: Apache OFBiz Apache OFBiz 17.12.01 to 17.12.05 (CVE record by apache). Fixed in 17.12.06 (NVD). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:59 UTC.
What is CVE-2021-26295?
RCE vulnerability in latest Apache OFBiz due to Java serialisation using RMI
Apache OFBiz has unsafe deserialization prior to 17.12.06. An unauthenticated attacker can use this vulnerability to successfully take over Apache OFBiz.
From the CVE record by apache, last updated February 13, 2025, 16:27 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache OFBiz | Apache OFBiz 17.12.01 to 17.12.05 |
As the CVE record by apache states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | ofbiz | before 17.12.06 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:43 UTC.
How severe is CVE-2021-26295?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-26295 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 97.8% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
Is there a workaround? (from the CVE record)
Upgrade to at least 17.12.06 or apply the patch at https://github.com/apache/ofbiz-framework/commit/af9ed4e/
Where are the vendor advisories and references?
- https://lists.apache.org/thread.html/r3c1802eaf34aa78a61b4e8e044c214bc94accbd28a11f3a276586a31%40%3Cuser.ofbiz.apache.org%3E x_refsource_MISC
- [ofbiz-notifications] 20210324 [jira] [Commented] (OFBIZ-12167) Adds a blacklist (to be renamed soon to denylist) in Java serialisation (CVE-2021-26295) mailing-list, x_refsource_MLIST
- [ofbiz-dev] 20210325 Comment out the SOAP and HTTP engines? mailing-list, x_refsource_MLIST
- [ofbiz-dev] 20210325 Re: Comment out the SOAP and HTTP engines? mailing-list, x_refsource_MLIST
- [ofbiz-dev] 20210329 Re: Comment out the SOAP and HTTP engines? mailing-list, x_refsource_MLIST
- [ofbiz-notifications] 20210329 [jira] [Commented] (OFBIZ-12167) Adds a blacklist (to be renamed soon to denylist) in Java serialisation (CVE-2021-26295) mailing-list, x_refsource_MLIST
- [ofbiz-notifications] 20210329 [jira] [Commented] (OFBIZ-6942) Comment out RMI related code because of the Java deserialization issue [CVE-2016-2170] mailing-list, x_refsource_MLIST
- http://packetstormsecurity.com/files/162104/Apache-OFBiz-SOAP-Java-Deserialization.html x_refsource_MISC
- [ofbiz-notifications] 20210427 [jira] [Updated] (OFBIZ-12212) Comment out the SOAP and HTTP engines - Fix [CVE-2021-30128] mailing-list, x_refsource_MLIST
- [ofbiz-commits] 20210427 [ofbiz-site] branch master updated: Updates security page for CVE-2021-29200 and 30128 fixed in 17.12.07 mailing-list, x_refsource_MLIST
- [ofbiz-notifications] 20210605 [jira] [Updated] (OFBIZ-12212) Comment out the SOAP and HTTP engines - Fix [CVE-2021-30128] mailing-list, x_refsource_MLIST
- [ofbiz-notifications] 20210729 [jira] [Updated] (OFBIZ-12212) Comment out the SOAP and HTTP engines - Fix [CVE-2021-30128] mailing-list, x_refsource_MLIST
- [ofbiz-commits] 20210811 [ofbiz-site] branch master updated: Updates security page for CVE-2021-37608 fixed in 17.12.08 mailing-list, x_refsource_MLIST
Who found and reported it?
- Apache OFBiz would like to thank the first report from "r00t4dm at Cloud-Penetrating Arrow Lab and Longofo at Knownsec 404 Team" and the second report by MagicZero from SGLAB of Legendsec at Qi'anxin Group. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 28, 2021
- Published
- March 22, 2021, 12:00 UTC
- CVE record updated
- February 13, 2025, 16:27 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 03:43 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:59 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache OFBiz?
- Sep 4, 2024CVE-2024-45195 Apache Software Foundation Apache OFBiz: direct Request exploited
- Aug 5, 2024CVE-2024-38856 Apache Software Foundation Apache OFBiz: incorrect authorization exploited
- May 8, 2024CVE-2024-32113 Apache Software Foundation Apache OFBiz: path traversal (reading or writing files outside the intended folder) exploited
- Nov 5, 2026CVE-2026-66903 Apache Software Foundation Apache OFBiz: path Traversal: '../filedir'
- Nov 5, 2026CVE-2026-71901 Apache Software Foundation Apache OFBiz: improper Control of Resource Identifiers
- Nov 5, 2026CVE-2026-68524 Apache Software Foundation Apache OFBiz: code injection (remote code execution)
- Nov 5, 2026CVE-2026-73577 Apache Software Foundation Apache OFBiz: authentication bypass through another path
- Nov 5, 2026CVE-2026-73578 Apache Software Foundation Apache OFBiz: authentication bypass through another path
Questions about CVE-2021-26295
Is CVE-2021-26295 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 97.8% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache OFBiz are affected by CVE-2021-26295?
Apache OFBiz Apache OFBiz 17.12.01 to 17.12.05, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2021-26295?
17.12.06, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-26295?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-26295?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.