# Amazon Web Services Advanced JDBC Wrapper: Privilege Escalation in Aurora PostgreSQL instance

Advisory record · `GHSA-7xw4-g7mm-r4hh`

- **Identifiers:** `GHSA-7xw4-g7mm-r4hh`
- **State:** Confirmed
- **Severity:** CVSS 8.0 High
- **Critical:** No
- **Weakness (CWE):** [CWE-470](https://cwe.mitre.org/data/definitions/470.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 13 Nov 2025
- **Updated:** 4 Feb 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 Nov 2025, 22:22 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `software.amazon.jdbc:aws-advanced-jdbc-wrapper` (Maven): affected `<2.6.5`; fixed in `2.6.5`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Advanced JDBC Wrapper for Amazon Aurora PostgreSQL, versions before 2.6.5, is vulnerable to privilege escalation. A low-privilege authenticated user can create a crafted function that runs with the permissions of other RDS users, allowing escalation to the rds_superuser role. Upgrade to version 2.6.5 or later.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.0 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 31 Oct 2026, 14:21 UTC: First seen by agentprime
- 31 Oct 2026, 14:21 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-7xw4-g7mm-r4hh)

## Sources

- [GitHub Advisory Database: GHSA-7xw4-g7mm-r4hh](https://github.com/advisories/GHSA-7xw4-g7mm-r4hh)
- [OSV: GHSA-7xw4-g7mm-r4hh](https://osv.dev/vulnerability/GHSA-7xw4-g7mm-r4hh)
- <https://github.com/aws/aws-advanced-jdbc-wrapper/security/advisories/GHSA-7xw4-g7mm-r4hh>
- <https://github.com/aws/aws-advanced-jdbc-wrapper/commit/b62183b851fa46f891f9fe9c861e9ac2fb7d8b62>
- <https://github.com/aws/aws-advanced-jdbc-wrapper>
- <https://github.com/aws/aws-advanced-jdbc-wrapper/releases/tag/2.6.5>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-7xw4-g7mm-r4hh>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-7xw4-g7mm-r4hh/>. Everything for agents: <https://agentprime.io/llms.txt>.
