{"id":"CVE-2026-18061","kind":"vulnerability","aliases":["CVE-2026-18061"],"related":[],"title":"AWS JDBC Wrapper: XML external entities let cached data read local files","description":"CVE-2026-18061 - XML External Entity (XXE) in AWS Advanced JDBC Wrapper RemoteQueryCachePlugin\n\n### CVE-2026-18061 - XML External Entity (XXE) in AWS Advanced JDBC Wrapper RemoteQueryCachePlugin\n\nBulletin ID: 2026-109-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 09/11/2026 09:30 AM PDT\n\nDescription:\n\nThe AWS Advanced JDBC Wrapper is an open-source library that enhances existing JDBC drivers with AWS-specific capabilities such as Aurora failover, IAM authentication, and automated SQL query caching for applications connecting to Amazon Aurora, RDS MySQL, and RDS MariaDB.\n\nWe identified CVE-2026-18061, an improper restriction of XML external entity (XXE) references in the optional RemoteQueryCachePlugin. When this plugin is enabled with a shared cache, an actor with write access to that cache infrastructure might place crafted XML in a cached column value. When an application subsequently reads that cached result as XML, the wrapper's XML parsers resolve external entities, which might allow the actor to disclose sensitive files readable by the application process, including stored database and IAM role credentials.\n\nImpacted versions: >= 3.3.0 and <= 4.2.0\n\nResolution:\n\nThis issue has been addressed in AWS Advanced JDBC Wrapper version 4.3.0. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.\n\nWorkarounds:\n\nThe RemoteQueryCachePlugin is not enabled by default. Customers who cannot immediately upgrade can mitigate this issue by not enabling the RemoteQueryCachePlugin, or by restricting write access to the shared cache so that only trusted principals can write to it.\n\nReferences:\n\n- CVE-2026-18061\n- GHSA-fpvp-qwgm-v6h9\n\n Please email aws-security@amazon.com with any security questions or concerns.","summary":"The AWS Advanced JDBC Wrapper's optional RemoteQueryCachePlugin parses cached XML values with external entities resolved. An actor who can write to a shared cache can read files the application process can read, including stored database and IAM role credentials.","severity":"medium","cvss":6.0,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"amazon advanced jdbc wrapper","fixed":["4.3.0"],"affected":">= 3.3.0, < 4.3.0","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["aurora","aws","java","jdbc","lab-disclosure","mariadb","mysql","package","rds"],"not_affected_if":["4.3.0-or-later","default-config","plugin-not-enabled"],"how_to_check":"- Run the wrapper's version check or inspect the dependency: affected versions are `>= 3.3.0` and `<= 4.2.0`.\n- Search application config for `RemoteQueryCachePlugin` or the plugin name in the connection properties; the plugin is off by default.\n- If it is enabled, confirm whether the shared cache can be written by anyone other than trusted principals.","fix":"- Upgrade the AWS Advanced JDBC Wrapper to `4.3.0`.\n- Patch any forked or derivative copies of the wrapper code as the advisory recommends.\n- Until upgraded, disable `RemoteQueryCachePlugin` or restrict write access to the shared cache to trusted principals only.","status":"open","published_at":"2026-09-11T17:17:08+00:00","first_seen_at":"2026-10-24T19:12:57+00:00","triaged_at":"2026-10-25T05:30:13+00:00","updated_at":"2026-10-25T05:30:13+00:00","category":"package","confidence":0.85,"triage":{"at":"2026-10-25T05:30:13Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade the AWS Advanced JDBC Wrapper to `4.3.0`.\n- Patch any forked or derivative copies of the wrapper code as the advisory recommends.\n- Until upgraded, disable `RemoteQueryCachePlugin` or restrict write access to the shared cache to trusted principals only.","reach":"network","title":"AWS JDBC Wrapper: XML external entities let cached data read local files","impact":"high","summary":"The AWS Advanced JDBC Wrapper's optional RemoteQueryCachePlugin parses cached XML values with external entities resolved. An actor who can write to a shared cache can read files the application process can read, including stored database and IAM role credentials.","category":"package","nicknames":[],"who_cares":["java","aws","aurora","rds","mysql","mariadb","jdbc"],"confidence":0.85,"needs_auth":"yes","worst_case":"Attacker reads local files and stored database or IAM credentials","analyst_note":"","how_to_check":"- Run the wrapper's version check or inspect the dependency: affected versions are `>= 3.3.0` and `<= 4.2.0`.\n- Search application config for `RemoteQueryCachePlugin` or the plugin name in the connection properties; the plugin is off by default.\n- If it is enabled, confirm whether the shared cache can be written by anyone other than trusted principals.","needs_analyst":false,"not_affected_if":["default-config","4.3.0-or-later","plugin-not-enabled"],"who_is_affected":"Only applications that use the AWS Advanced JDBC Wrapper between `3.3.0` and `4.2.0` and have the optional RemoteQueryCachePlugin enabled with a shared cache are exposed. The risk depends on who can write to that cache, so teams with a private or single-tenant cache have less exposure. Teams on `4.3.0` or later, or not using the plugin, can skip it.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.00076,"input_tokens":4098,"output_tokens":701,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-109':103C '-18061':15A,18A,76C,89C,167C,329C '-2026':14A,17A,75C,88C,166C,328C '09':115C '09/11/2026':114C '2026':102C '3.3.0':249C '30':116C '4.2.0':251C '4.3.0':264C 'access':194C,312C 'actor':51B,191C,230C 'address':257C 'advanc':36B,83C,96C,122C,260C 'advanced':20A 'allow':228C 'amazon':19A,156C 'applic':63B,153C,210C,238C 'attent':111C 'aurora':23B,143C,157C 'authent':146C 'autom':148C 'aw':1A,24B,35B,82C,95C,104C,106C,121C,138C,259C 'aws-security@amazon.com':337C 'aws-specif':137C 'bulletin':100C 'cach':8A,43B,58B,151C,189C,197C,205C,214C,316C 'cannot':296C 'capabl':140C 'code':278C 'column':206C 'concern':343C 'connect':154C 'content':107C 'craft':201C 'credenti':73B,246C 'custom':294C 'cve':13A,16A,74C,87C,165C,327C 'data':9A 'databas':69B,242C 'date':113C 'default':293C 'deriv':277C 'descript':119C 'disclos':232C 'disclosur':29B 'driver':135C 'email':336C 'enabl':185C,291C,305C 'enhanc':132C 'ensur':273C 'entiti':6A,48B,79C,92C,174C,225C 'exist':133C 'extern':5A,47B,78C,91C,173C,224C 'failov':144C 'file':12A,61B,234C 'fix':285C 'fork':275C 'fpvp':332C 'ghsa':331C 'ghsa-fpvp-qwgm-v6h9':330C 'iam':71B,145C,244C 'id':101C 'identifi':164C 'immedi':297C 'impact':247C 'import':109C 'improp':169C 'includ':67B,240C 'incorpor':282C 'infrastructur':198C 'issu':254C,302C 'java':25B 'jdbc':2A,21A,26B,37B,84C,97C,123C,134C,261C 'lab':28B 'lab-disclosur':27B 'latest':270C 'let':7A 'librari':130C 'local':11A 'mariadb':30B,162C 'might':199C,227C 'mitig':300C 'mysql':31B,159C 'new':284C 'open':128C 'open-sourc':127C 'option':40B,179C 'packag':32B 'pars':42B 'parser':222C 'patch':280C 'pdt':118C 'place':200C 'pleas':335C 'plugin':183C 'princip':321C 'process':64B,239C 'public':112C 'queri':150C 'question':341C 'qwgm':333C 'rds':33B,158C,161C 'read':10A,60B,66B,212C 'readabl':235C 'recommend':266C 'refer':176C,326C 'remotequerycacheplugin':41B,86C,99C,180C,288C,307C 'requir':110C 'resolut':252C 'resolv':49B,223C 'restrict':170C,310C 'result':215C 'role':72B,245C 'scope':105C 'secur':340C 'sensit':233C 'share':57B,188C,315C 'sourc':129C 'specif':139C 'sql':149C 'store':68B,241C 'subsequ':211C 'trust':320C 'type':108C 'upgrad':267C,298C 'v6h9':334C 'valu':45B,207C 'version':248C,263C,271C 'workaround':286C 'wrapper':3A,22A,38B,85C,98C,124C,219C,262C 'write':54B,193C,311C,323C 'xml':4A,44B,77C,90C,172C,202C,217C,221C 'xxe':80C,93C,175C","nicknames":[],"mitigations":[],"who_affected":"Only applications that use the AWS Advanced JDBC Wrapper between `3.3.0` and `4.2.0` and have the optional RemoteQueryCachePlugin enabled with a shared cache are exposed. The risk depends on who can write to that cache, so teams with a private or single-tenant cache have less exposure. Teams on `4.3.0` or later, or not using the plugin, can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-09-11T17:17:08+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:L/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","cvss_by":"ff89ba41-3aa1-4d27-914a-91399e9639e5","poc_count":0,"sources":[{"source":"lab","external_id":"https://aws.amazon.com/security/security-bulletins/rss/2026-109-aws/#CVE-2026-18061","url":"https://aws.amazon.com/security/security-bulletins/rss/2026-109-aws/","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-24T19:12:57+00:00","fetched_at":"2026-10-24T19:12:57+00:00","note":"AWS: CVE-2026-18061 - XML External Entity (XXE) in AWS Advanced JDBC Wrapper RemoteQueryCachePlugin"},{"source":"nvd","external_id":"CVE-2026-18061","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18061","severity":null,"published_at":"2026-09-11T17:17:08+00:00","modified_at":"2026-09-16T14:03:36+00:00","first_seen_at":"2026-10-24T19:23:38+00:00","fetched_at":"2026-10-24T19:23:38+00:00","note":null}],"documents":[{"id":2927,"url":"https://aws.amazon.com/security/security-bulletins/rss/2026-109-aws/","title":"AWS: CVE-2026-18061 - XML External Entity (XXE) in AWS Advanced JDBC Wrapper RemoteQueryCachePlugin","kind":"advisory","source":"lab","text":"CVE-2026-18061 - XML External Entity (XXE) in AWS Advanced JDBC Wrapper RemoteQueryCachePlugin\n\n### CVE-2026-18061 - XML External Entity (XXE) in AWS Advanced JDBC Wrapper RemoteQueryCachePlugin\n\nBulletin ID: 2026-109-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 09/11/2026 09:30 AM PDT\n\nDescription:\n\nThe AWS Advanced JDBC Wrapper is an open-source library that enhances existing JDBC drivers with AWS-specific capabilities such as Aurora failover, IAM authentication, and automated SQL query caching for applications connecting to Amazon Aurora, RDS MySQL, and RDS MariaDB.\n\nWe identified CVE-2026-18061, an improper restriction of XML external entity (XXE) references in the optional RemoteQueryCachePlugin. When this plugin is enabled with a shared cache, an actor with write access to that cache infrastructure might place crafted XML in a cached column value. When an application subsequently reads that cached result as XML, the wrapper's XML parsers resolve external entities, which might allow the actor to disclose sensitive files readable by the application process, including stored database and IAM role credentials.\n\nImpacted versions: >= 3.3.0 and <= 4.2.0\n\nResolution:\n\nThis issue has been addressed in AWS Advanced JDBC Wrapper version 4.3.0. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.\n\nWorkarounds:\n\nThe RemoteQueryCachePlugin is not enabled by default. Customers who cannot immediately upgrade can mitigate this issue by not enabling the RemoteQueryCachePlugin, or by restricting write access to the shared cache so that only trusted principals can write to it.\n\nReferences:\n\n- CVE-2026-18061\n- GHSA-fpvp-qwgm-v6h9\n\n Please email aws-security@amazon.com with any security questions or concerns.","published_at":null,"relation":"advisory","confidence":null,"note":null}],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}