CVE-2021-26295

CRITICAL EXPLOITED NUCLEI

Apache OFBiz SOAP Java Deserialization

Title source: metasploit
STIX 2.1

Exploitation Summary

CVE-2021-26295 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 6 public exploits from researchers including yumusb, yuaneuro, rakjong, including a Metasploit module exploits/linux/http/apache_ofbiz_deserialization_soap. A Nuclei detection template is also available.

AI-analyzed exploit summary This repository contains functional exploit code for CVE-2021-26295, a deserialization vulnerability in Apache OFBiz. The PoC uses ysoserial to generate payloads and includes both a detection script (poc.py) and an exploitation script (exp.py) for command execution.

Description

Apache OFBiz has unsafe deserialization prior to 17.12.06. An unauthenticated attacker can use this vulnerability to successfully take over Apache OFBiz.

Exploits (6)

nomisec WORKING POC 23 stars
by yumusb · remote-auth
https://github.com/yumusb/CVE-2021-26295

This repository contains functional exploit code for CVE-2021-26295, a deserialization vulnerability in Apache OFBiz. The PoC uses ysoserial to generate payloads and includes both a detection script (poc.py) and an exploitation script (exp.py) for command execution.

Classification
Working Poc 95%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz
No auth needed
Prerequisites: ysoserial.jar · target URL · DNSlog service for detection
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 6 stars
by yuaneuro · poc
https://github.com/yuaneuro/ofbiz-poc

This repository contains functional exploit code for CVE-2021-26295, a deserialization vulnerability in Apache OFBiz. The PoC leverages ysoserial to generate malicious payloads and uses DNS logging for verification, demonstrating remote code execution capabilities.

Classification
Working Poc 95%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz
No auth needed
Prerequisites: Access to ysoserial.jar · Network access to target OFBiz instance
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 4 stars
by rakjong · remote-auth
https://github.com/rakjong/CVE-2021-26295-Apache-OFBiz

This PoC exploits CVE-2021-26295, a deserialization vulnerability in Apache OFBiz, by sending a crafted SOAP request containing a serialized payload generated via ysoserial.jar. The payload triggers a DNS lookup to a specified dnslog, confirming successful exploitation.

Classification
Working Poc 95%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz
No auth needed
Prerequisites: ysoserial.jar in the same directory · Java environment (not high version) · Target host and DNS log domain
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SUSPICIOUS
by coolyin001 · poc
https://github.com/coolyin001/CVE-2021-26295--

The repository claims to provide a PoC for CVE-2021-26295 but lacks actual exploit code, instead directing users to external resources or vague instructions. The README is minimal and does not include technical details about the vulnerability.

Classification
Suspicious 80%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Theoretical
Target: Apache OFBiz (versions affected by CVE-2021-26295)
No auth needed
Prerequisites: JDK environment < 12 · ysoserial for payload generation
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by dskho · poc
https://github.com/dskho/CVE-2021-26295

This repository contains a functional exploit for CVE-2021-26295, an Apache OFBiz deserialization vulnerability. The exploit uses ysoserial to generate a malicious payload and sends it via a SOAP request to achieve remote code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz
No auth needed
Prerequisites: ysoserial.jar · VPS with JRMPListener and netcat · Target URL with vulnerable SOAP endpoint
devstral-2 · analyzed Feb 18, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by yumusb, Spencer McIntyre, wvu · rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/apache_ofbiz_deserialization_soap.rb

This Metasploit module exploits a Java deserialization vulnerability in Apache OFBiz's unauthenticated SOAP endpoint for versions prior to 17.12.06. It leverages the ROME library to execute arbitrary commands via a crafted serialized object.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz < 17.12.06
No auth needed
Prerequisites: Network access to the target's SOAP endpoint · Target running a vulnerable version of Apache OFBiz
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

Apache OFBiz <17.12.06 - Arbitrary Code Execution
CRITICALVERIFIEDby madrobot
Shodan: OFBiz.Visitor= || http.html:"ofbiz" || ofbiz.visitor=
FOFA: body="ofbiz" || app="apache_ofbiz"

References (13)

Core 13
Core References
Exploit, Third Party Advisory, VDB Entry x_refsource_misc
http://packetstormsecurity.com/files/162104/Apache-OFBiz-SOAP-Java-Deserialization.html

Scores

CVSS v3 9.8
EPSS 0.9424
EPSS Percentile 99.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

VulnCheck KEV 2023-12-05
CWE
CWE-502
Status published
Products (1)
apache/ofbiz < 17.12.06
Published Mar 22, 2021
Tracked Since Feb 18, 2026