CVE-2026-71253: Apache Johnzon: ClassConverter loads & static-initializes an attacker-named class from untrusted JSON

Published Oct 19, 2026
·
Updated

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 Software

1 affected component
Apache Johnzon>=1.0.0<2.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Johnzon (javax namespace) to a version that resolves this vulnerability.

    Fixed in 1.3.1
  2. Upgrade

    Upgrade Apache Johnzon (jakarta specification namespace) to a version that resolves this vulnerability.

    Fixed in 2.2.0

Event History

Oct 19, 2026
CVE Published
via MITRE·10:36 AM
Data Sourced
via MITRE·10:36 AM
DescriptionWeakness
Data Sourced
via NVD·11:17 AM
DescriptionWeakness

Frequently Asked Questions

1

Which Apache Johnzon versions need remediation?

The issue affects Apache Johnzon versions from 1.0.0 before 2.2.0. Upgrade to 1.3.1 for the javax namespace or 2.2.0 for the jakarta specification namespace.

2

What attacker-controlled condition is required for exploitation?

An attacker must be able to supply untrusted JSON that reaches ClassConverter. The vulnerable behavior loads and static-initializes a class named through that JSON input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203