CVE-2026-71253: CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in Apache Software Foundation Apache Johnzon
Description
Apache Johnzon contains a vulnerability involving unsafe reflection where an attacker can control class loading via untrusted JSON input. This affects versions from 1.0.0 up to but not including 1.3.1 in the javax namespace and from 2.0.0 up to but not including 2.2.0 in the jakarta namespace. The issue is fixed in versions 1.3.1 and 2.2.0 respectively.
Affected software
Apache Software Foundation
Apache Johnzon
pkg:maven/Apache Software Foundation/org.apache.johnzon:johnzon-mapperRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Apache Johnzon is a CWE-470 'Use of Externally-Controlled Input to Select Classes or Code' issue, also known as unsafe reflection. Specifically, the ClassConverter component loads and static-initializes a class named by attacker-controlled input from untrusted JSON data. This can lead to unsafe execution of arbitrary classes. The affected versions are >=1.0.0 <1.3.1 (javax namespace) and >=2.0.0 <2.2.0 (jakarta namespace). The vendor recommends upgrading to 1.3.1 or 2.2.0 to remediate the issue.
Potential Impact
An attacker can supply malicious JSON input that controls which class is loaded and initialized by the ClassConverter, potentially leading to arbitrary code execution or other unsafe behaviors depending on the loaded class. This undermines the security assumptions of the application using Apache Johnzon.
Mitigation Recommendations
Users should upgrade Apache Johnzon to version 1.3.1 (javax namespace) or 2.2.0 (jakarta namespace), which contain fixes for this unsafe reflection vulnerability. No other mitigation is indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-08-05T11:38:30.610Z
- State
- PUBLISHED
Threat ID: 6ad5f59d2cdf04f656435530
Added to database: 10/19/2026, 10:49:01 UTC
Last enriched: 10/19/2026, 11:18:46 UTC
Last updated: 10/19/2026, 19:06:47 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.