CVE-2026-71253
Apache Johnzon: ClassConverter loads & static-initializes an attacker-named class from untrusted JSON
Description
Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in Apache Johnzon.
ClassConverter loads & static-initializes an attacker-named class from untrusted JSON.
This issue affects Apache Johnzon: from 1.0.0 before 2.2.0.
Users are recommended to upgrade to version 1.3.1 (javax namespace) or 2.2.0 (jakarta specification namespace), which fixes the issue.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.johnzon » johnzon-mapperpreliminary | >= 1.0.0, < 1.3.1>= 2.0.0, < 2.2.0 | 1.3.1, 2.2.0 |
Blast radius
24% of the dependent artifacts (139) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,131 |
| 2 hops | 2,683 |
| 3 hops | 3,091 |
| 4 hops | 1,556 |
| 5 hops | 855 |
| 6 hops | 590 |
Most used dependents
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.apache.johnzon » johnzon-jsonb91 usages
- org.apache.camel » camel-catalog87 usages
- org.apache.tomee » openejb-cxf-rs55 usages
- org.apache.johnzon » johnzon-jaxrs48 usages
- org.apache.camel.springboot » camel-jackson-starter37 usages
- org.apache.meecrowave » meecrowave-core32 usages
- org.apache.camel.springboot » camel-servlet-starter31 usages
- org.apache.camel.springboot » camel-http-starter29 usages
- org.apache.meecrowave » meecrowave-junit26 usages
- org.apache.tomee » tomee-jaxrs24 usages
- org.l2x6.cq » cq-maven-plugin22 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-71253 | github.com |
| Advisory | thread.html/3vgm1yo2sn9yhkvvs9lc4ro01vl3zt68 | lists.apache.org |
| Advisory | NVD CVE-2026-71253 | nvd.nist.gov |
| Fix | apache/johnzon commit 91e7b0d | github.com |
| Fix | apache/johnzon commit dd3d006 | github.com |
| Web | maven2 | repo.maven.apache.org |
