WaratekVRT Sign in

CVE-2026-24400 AssertJ

Affected softwareAssertJ
Severity8.2 High CVSS 4.0 2 scores
Fixed in3.27.7
WeaknessXML external entity (XXE) (CWE-611)
Published26 Jan 2026
Updated17 Jun 2026

Description

AssertJ provides Fluent testing assertions for Java and the Java Virtual Machine (JVM). Starting in version 1.4.0 and prior to version 3.27.7, an XML External Entity (XXE) vulnerability exists in org.assertj.core.util.xml.XmlStringPrettyFormatter: the toXmlDocument(String) method initializes DocumentBuilderFactory with default settings, without disabling DTDs or external entities. This formatter is used by the isXmlEqualTo(CharSequence) assertion for CharSequence values. An application is vulnerable only when it uses untrusted XML input with either isXmlEqualTo(CharSequence) from org.assertj.core.api.AbstractCharSequenceAssert or xmlPrettyFormat(String) from org.assertj.core.util.xml.XmlStringPrettyFormatter. If untrusted XML input is processed by tone of these methods, an attacker couldnread arbitrary local files via file:// URIs (e.g., /etc/passwd, application configuration files); perform Server-Side Request Forgery (SSRF) via HTTP/HTTPS URIs, and/or cause Denial of Service via "Billion Laughs" entity expansion attacks. isXmlEqualTo(CharSequence) has been deprecated in favor of XMLUnit in version 3.18.0 and will be removed in version 4.0. Users of affected versions should, in order of preference: replace isXmlEqualTo(CharSequence) with XMLUnit, upgrade to version 3.27.7, or avoid using isXmlEqualTo(CharSequence) or XmlStringPrettyFormatter with untrusted input. XmlStringPrettyFormatter has historically been considered a utility for isXmlEqualTo(CharSequence) rather than a feature for AssertJ users, so it is deprecated in version 3.27.7 and removed in version 4.0, with no replacement.

Exploitation status

No public exploit

No exploit has been reported in the sources we check.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.57% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.
Candidate fix https://github.com/assertj/assertj/commit/85ca7eb6609bb179c043b85ae7d290523b1ba79a : a commit: the change itself

How to mitigate CVE-2026-24400

Upgrade AssertJ to 3.27.7 or later. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

8.2 HIGH v4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 4.0 8.2 HIGH CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X security-advisories@github.com Secondary published
CVSS 3.1 9.1 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2026 ↗ CPU 2026-Q3 Oracle Communications / Core (assertj) (6.1.1-7.0.0)
Oracle Siebel CRM / REST (jackson-core) (17.0-26.5)
Oracle Siebel CRM / Server Infrastructure (jackson-core) (17.0-26.4)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Core (assertj) 6.1.1-7.0.0
Oracle Siebel CRM REST (jackson-core) 17.0-26.5
Oracle Siebel CRM Server Infrastructure (jackson-core) 17.0-26.4

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.assertj:assertj-core 1.4.0 3.27.7 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd assertj assertj generic ≥ 1.4.0 and < 3.27.7
osv org.assertj assertj-core generic ≥ 1.4.0 and < 3.27.7

References

URLTags
https://github.com/assertj/assertj/commit/85ca7eb6609bb179c043b85ae7d290523b1ba79a commit
https://github.com/assertj/assertj/security/advisories/GHSA-rqfh-9r24-8c9r WEB
https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html WEB
https://github.com/assertj/assertj PACKAGE
https://github.com/assertj/assertj/releases/tag/assertj-build-3.27.7 WEB

Timeline

Published2026-01-26By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.