CVE-2021-26295 — ofbiz-framework
CRITICALCVE-2021-26295 is a critical-severity (CVSS 9.8) Deserialization of Untrusted Data vulnerability. 10 public exploit references exist, so weaponization risk is real. A fix is available — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2021-26295 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 394,803 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
Description
Apache OFBiz has unsafe deserialization prior to 17.12.06. An unauthenticated attacker can use this vulnerability to successfully take over Apache OFBiz.
Affected Products
ofbizapacheResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Apache OFBiz has unsafe deserialization prior to 17.12.06. An unauthenti…
Apache OFBiz has unsafe deserialization prior to 17.12.06. An unauthenti…
Apache OFBiz has unsafe deserialization prior to 17.12.06. An unauthenti…
Apache OFBiz has unsafe deserialization prior to 17.12.06. An unauthenti…
Apache OFBiz has unsafe deserialization prior to 17.12.06. An unauthenti…
Apache OFBiz has unsafe deserialization prior to 17.12.06. An unauthenti…
Apache OFBiz has unsafe deserialization prior to 17.12.06. An unauthenti…
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Fix
Upgrade the affected component to the fixed release for CVE-2021-26295, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
How to detect CVE-2021-26295
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2021-26295 -u https://target- Template
- Apache OFBiz <17.12.06 - Arbitrary Code Execution
- Severity
- critical
- Impact
- Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
- Remediation
- Upgrade Apache OFBiz to version 17.12.06 or later to mitigate this vulnerability.
Template by ProjectDiscovery nuclei-templates (madrobot), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2021-26295 in your dependencies?
Find it across , including transitive dependencies.