Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable cache read but requires attacker cache-write foothold plus a viable gadget chain, so AC:H and PR:L; full CIA impact within the app process yields C/I/A:H and S:U.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
7DescriptionCVE.org
Deserialization of untrusted data in the RemoteQueryCachePlugin in Amazon Web Services AWS Advanced JDBC Wrapper 3.3.0 through 4.0.0 might allow an actor with write access to the shared cache infrastructure to execute arbitrary code on application servers that read cached query results via a crafted serialized Java object. The RemoteQueryCachePlugin uses ObjectInputStream without class filtering when deserializing cached query results from Redis or Valkey, enabling gadget chain execution when cache entries are poisoned.
We recommend upgrading to AWS Advanced JDBC Wrapper version 4.0.1 or later.
Articles & Coverage 1
AnalysisAI
Arbitrary code execution in Amazon's AWS Advanced JDBC Wrapper (versions 3.3.0 through 4.0.0) arises from the RemoteQueryCachePlugin deserializing cached query results from Redis or Valkey via a raw ObjectInputStream with no class filtering. An actor able to write to the shared cache can poison entries with a crafted serialized Java object, triggering gadget-chain execution on every application server that later reads that cache entry. No public exploit identified at time of analysis; risk is elevated because a single poisoned cache key fans out to all consuming app servers.
Technical ContextAI
The AWS Advanced JDBC Wrapper is a Java JDBC driver shim that layers connection management, failover, and caching plugins over an underlying database driver. The RemoteQueryCachePlugin stores and retrieves query results in an external Redis/Valkey cache so multiple application instances can share cached results. Per CWE-502 (Deserialization of Untrusted Data), the root cause is the use of java.io.ObjectInputStream.readObject() against attacker-influenceable bytes without an allow-list (e.g., ObjectInputFilter/setObjectInputFilter). Because Redis/Valkey stores the serialized Java objects verbatim, any writer to that cache controls the byte stream that gets deserialized, and if a known gadget chain (e.g., from commons-collections or similar libraries on the classpath) is present, deserialization becomes remote code execution. The affected component is identified by cpe:2.3:a:aws:aws_advanced_jdbc_wrapper.
RemediationAI
Vendor-released patch: upgrade to AWS Advanced JDBC Wrapper version 4.0.1 or later (release: https://github.com/aws/aws-advanced-jdbc-wrapper/releases/tag/4.0.1), which is the primary and recommended fix. If you cannot upgrade immediately, disable the RemoteQueryCachePlugin (or switch to a local/in-memory cache that is not shared or externally writable) to remove the untrusted deserialization path, accepting the trade-off of losing shared cross-instance query caching. Additionally, restrict and authenticate the Redis/Valkey cache so only trusted application servers can write to it (enable AUTH/ACLs, bind to private subnets, enforce TLS, and block the cache port from untrusted networks) - this reduces the attacker's ability to poison entries but does not by itself close the class-filtering gap, so patching remains required. Track fix details via the AWS bulletin (https://aws.amazon.com/security/security-bulletins/2026-051-aws/) and GHSA-c5q4-97jw-jggh.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-502 – Deserialization of Untrusted Data
View allSame technique Deserialization
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41132