
CVE catalog
CVE-2026-24400
assertj-core: CVE-2026-24400
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.57% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | assertj-core | sid | 3.26.3-2 | vulnerable |
| Debian | assertj-core | forky | 3.26.3-2 | vulnerable |
| Debian | assertj-core | trixie | 3.26.3-2 | vulnerable |
| Debian | assertj-core | bookworm | 3.14.0-2 | vulnerable |
| Opensuse | assertj-core | leap 16.0 | 3.27.7-160000.1.1 | fixed |
| Opensuse | assertj-core | tumbleweed | 3.27.7-1.1 | fixed |
| Suse | assertj-core | linux enterprise server 16.0 | 3.27.7-160000.1.1 | fixed |
| Suse | assertj-core | linux enterprise server for sap applications 16.0 | 3.27.7-160000.1.1 | fixed |
| Opensuse | assertj-core | leap 15.6 | 3.27.7-150200.5.9.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | assertj-core | source | sid | (unfixed) | not yet assigned | Not reported | [1127938] |
| Debian | assertj-core | source | forky | (unfixed) | not yet assigned | Not reported | [1127938] |
| Debian | assertj-core | source | trixie | (unfixed) | not yet assigned | Not reported | [1127938] |
| Debian | assertj-core | source | bookworm | (unfixed) | not yet assigned | Not reported | [1127938] |
| Opensuse | assertj-core | rpm | leap 16.0 | 3.27.7-160000.1.1 | Not reported | OPENSUSE-SU-2026:20298-1 | Not reported |
| Opensuse | assertj-core | rpm | tumbleweed | 3.27.7-1.1 | Not reported | OPENSUSE-SU-2026:10106-1 | Not reported |
| Suse | assertj-core | rpm | linux enterprise server 16.0 | 3.27.7-160000.1.1 | Not reported | SUSE-SU-2026:20604-1 | Not reported |
| Suse | assertj-core | rpm | linux enterprise server for sap applications 16.0 | 3.27.7-160000.1.1 | Not reported | SUSE-SU-2026:20604-1 | Not reported |
| Opensuse | assertj-core | rpm | leap 15.6 | 3.27.7-150200.5.9.2 | Not reported | SUSE-SU-2026:0344-1 | Not reported |
Notes
[trixie] assertj-core: Minor issue [bookworm] assertj-core: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libassertj-core-java]Affected
Source package: [assertj-core]
Details (2)
3.14.0-2· all · bookwormAffected
dsa · assertj-core · debian · bookworm; dsa · assertj-core · debian · 12
3.14.0-2· all · bookwormAffected
dsa · assertj-core · debian · bookworm; dsa · assertj-core · debian · 12
[Debian 13 (Trixie)]
- [libassertj-core-java]Affected
Source package: [assertj-core]
Details (2)
3.26.3-2· all · trixieAffected
dsa · assertj-core · debian · 13
3.26.3-2· all · trixieAffected
dsa · assertj-core · debian · 13
[openSUSE Tumbleweed]
- [assertj-core-javadoc]Unknown
Source package: [assertj-core]
Details (1)
3.27.7-1.5· noarch · tumbleweedUnknown · Fixed:
3.27.7-1.1Version impact unknown
dsa · assertj-core · opensuse · tumbleweed
- [assertj-core]Fixed
Source package: [assertj-core]
Details (1)
3.27.7-1.5· noarch · tumbleweedFixed · Fixed:
3.27.7-1.1dsa · assertj-core · opensuse · tumbleweed
Observed:
References
- [https://access.redhat.com/errata/RHSA-2026:69459]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10106-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-24400]
- [https://osv.dev/vulnerability/SUSE-SU-2026:0344-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:20604-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10106-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:20298-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-24400]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0851.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]