
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-33042 is a code injection vulnerability (CWE-94) in the Apache Avro Java SDK that allows unauthenticated remote attackers to execute arbitrary code by supplying malicious Avro schemas during record generation. It affects all versions of the Apache Avro Java SDK through 1.11.4 and version 1.12.0. The vulnerability was disclosed on February 12–13, 2026, via the oss-security mailing list and the Apache security advisory channel. It carries a CVSS v3.1 base score of 7.3 (High) (Red Hat Advisory, Openwall OSS-Sec).
The root cause is improper control of code generation (CWE-94) in the org.apache.avro:avro-compiler Maven package. When the Java SDK processes an Avro schema to generate Java record classes, it fails to adequately sanitize or validate schema-supplied input, allowing attacker-controlled content to be injected into the generated Java source code. Because code generation can be triggered by processing externally supplied schemas — for example, schemas received over a network — no authentication or user interaction is required. The vulnerability was tracked internally as AVRO-4053 and credited to finder Brant Eckert (Openwall OSS-Sec, GitHub Advisory).
Successful exploitation allows an unauthenticated network attacker to achieve arbitrary code execution within the Java application that processes the malicious schema, running as the application's service account. The CVSS v3.1 assessment reflects low confidentiality, integrity, and availability impacts on the vulnerable system, though the practical consequence of code execution can be far broader — including data exfiltration, lateral movement within the environment, or full system compromise depending on the application's privileges. Downstream products from IBM (Application Performance Management, Db2 on Cloud Pak for Data, Business Automation Insights) and Oracle (multiple product families) are also affected as they bundle the vulnerable library (Red Hat Advisory, IBM Advisory, Oracle CPU Apr 2026).
SpecificCompiler) against the attacker-supplied schema, which writes the injected payload into generated Java source..java or .class files in temporary or build directories containing unexpected code constructs; unexpected JAR files or scripts written by the application process.SpecificCompiler invocations with externally supplied schemas; Java compilation errors referencing injected code fragments; unexpected class loading events in JVM logs.bash, sh, curl, wget, python); outbound network connections from the application server to unknown external IPs.Apache has released patched versions 1.12.1 and 1.11.5 of the Avro Java SDK that address this vulnerability; users should upgrade immediately (Openwall OSS-Sec, GitHub Advisory). As a temporary workaround where immediate patching is not feasible, avoid processing Avro schemas from untrusted or external sources until the upgrade is completed. Organizations using IBM products (APM, Db2 on Cloud Pak for Data, Business Automation Insights, EDB PGAI Hybrid Management) or Oracle products that bundle the affected library should apply the respective vendor patches (IBM Advisory, Oracle CPU Apr 2026). Red Hat has also issued a security advisory and errata (RHSA-2026:7109) for affected Red Hat products (Red Hat Advisory).
Red Hat, IBM, and Oracle all issued advisories acknowledging the vulnerability in their products that bundle the Apache Avro Java SDK (Red Hat Advisory, IBM Advisory, Oracle CPU Apr 2026). The Quarkus project released version 3.27.3 to address the issue in its dependency chain. Community coverage appeared on dev.to and security blogs shortly after disclosure, with articles such as "Schema to Shell: Unpacking the Apache Avro Code Injection Vulnerability" highlighting the supply-chain risk for Java ecosystems. Social media activity was moderate, with early mentions on Bluesky and security aggregators within hours of the advisory publication.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."