cve.bz

CVE-2026-24400 assertj assertj

8.2 highEPSS 0.6%Fix available

High (8.2) in assertj assertj. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.assertj:assertj-core 3.27.7.

On this page
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.

Severity

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

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
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-01-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-611 Improper Restriction of XML External Entity Reference
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-24400 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-24400?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-24400?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-24400 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
assertj:assertjfrom 1.4.0 before 3.27.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rqfh-9r24-8c9rMavenorg.assertj:assertj-core>=1.4.0 <3.27.73.27.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13assertj-coreno fix listedDEBIAN-CVE-2026-24400
Debian14assertj-core3.27.7-1DEBIAN-CVE-2026-24400
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moreassertj-coreno fix listedUBUNTU-CVE-2026-24400
Red Hatenterprise_linux:9::appstreamassertj-core0:3.19.0-9.el9_8.1RHSA-2026:60215
Red Hatenterprise_linux:10.2assertj-core, assertj-core-javadoc0:3.24.2-9.el10_2.1RHSA-2026:59372
Red Hatenterprise_linux_eus:10.0assertj-core, assertj-core-javadoc0:3.24.2-9.el10_0.1RHSA-2026:69106
Red Hatrhel_e4s:9.2::appstreamassertj-core0:3.19.0-5.el9_2.2RHSA-2026:58956
Red Hatrhel_e4s:9.4::appstreamassertj-core0:3.19.0-5.el9_4.2RHSA-2026:58957
Red Hatrhel_eus:9.6::appstreamassertj-core0:3.19.0-9.el9_6.1RHSA-2026:58949
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0assertj-core3.27.7-160000.1.1SUSE-SU-2026:20604-1
openSUSELeap 15.6assertj-core3.27.7-150200.5.9.2SUSE-SU-2026:0344-1
openSUSELeap 16.0assertj-core3.27.7-160000.1.1openSUSE-SU-2026:20298-1
openSUSETumbleweedassertj-core3.27.7-1.1openSUSE-SU-2026:10106-1
AlmaLinux9assertj-core3.19.0-9.el9_8.1ALSA-2026:60215
AlmaLinux10assertj-core, assertj-core-javadoc3.24.2-9.el10_2.1ALSA-2026:59372
Rocky Linux9assertj-core0:3.19.0-9.el9_8.1RLSA-2026:60215
Rocky Linux10assertj-core0:3.24.2-9.el10_2.1RLSA-2026:59372
Azure Linux3javapackages-bootstrap1.14.0-4AZL-75431

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Exploitation of this vulnerability requires that a user processes untrusted content with the affected package.

ProductPackageStateAdvisory
AMQ Clients 2026.Q3assertj-coreFixed 2026-09-21RHSA-2026:69459
HawtIO HawtIO 4.4.0assertj-coreFixed 2026-06-10RHSA-2026:25089
Red Hat build of Apache Camel 4.18.1.P1 for Spring Boot 3.5.16assertj-coreFixed 2026-07-09RHSA-2026:37390
Red Hat Enterprise Linux 10assertj-core-0:3.24.2-9.el10_2.1Fixed 2026-08-25RHSA-2026:59372
Red Hat Enterprise Linux 10.0 Extended Update Supportassertj-core-0:3.24.2-9.el10_0.1Fixed 2026-09-21RHSA-2026:69106
Red Hat Enterprise Linux 9assertj-core-0:3.19.0-9.el9_8.1Fixed 2026-08-26RHSA-2026:60215
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsassertj-core-0:3.19.0-5.el9_2.2Fixed 2026-08-24RHSA-2026:58956
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsassertj-core-0:3.19.0-5.el9_4.2Fixed 2026-08-24RHSA-2026:58957
Red Hat Enterprise Linux 9.6 Extended Update Supportassertj-core-0:3.19.0-9.el9_6.1Fixed 2026-08-24RHSA-2026:58949
OpenShift Serverlessopenshift-serverless-1/kn-ekb-dispatcher-rhel9Affected
OpenShift Serverlessopenshift-serverless-1/kn-ekb-receiver-rhel9Affected
Red Hat AMQ Broker 7assertj-coreNot affected
Red Hat build of Apache Camel 4 for Quarkus 3assertj-coreNot affected
Red Hat build of Apicurio Registry 3assertj-coreNot affected
Red Hat build of Debezium 2assertj-coreOut of support scope
Red Hat build of Debezium 3assertj-coreWill not fix
Red Hat build of OptaPlanner 8assertj-coreOut of support scope
Red Hat Ceph Storage 9libarrowFix deferred
Red Hat Data Grid 8assertj-coreNot affected
Red Hat Enterprise Linux 10moditectNot affected
22 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-24400.

Attack patterns (CAPEC)

  • CAPEC-221 Data Serialization External Entities Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON