Amazon Web Services Advanced JDBC Wrapper: Privilege Escalation in Aurora PostgreSQL instanceGHSA-7xw4-g7mm-r4hh
HIGHFix: aws/aws-advanced-jdbc-wrapper@b62183bGHSA-7xw4-g7mm-r4hh is a high-severity (CVSS 8) vulnerability in software.amazon.jdbc:aws-advanced-jdbc-wrapper. A fix is available for software.amazon.jdbc:aws-advanced-jdbc-wrapper — see the affected versions and patch details below.
Real-World Exposure
software.amazon.jdbc:aws-advanced-jdbc-wrapperReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Description of Vulnerability:
An issue in AWS Wrappers for Amazon Aurora PostgreSQL may allow for privilege escalation to rds_superuser role. A low privilege authenticated user can create a crafted function that could be executed with permissions of other Amazon Relational Database Service (RDS) users.
AWS recommends for customers to upgrade to the following versions: AWS JDBC Wrapper to v2.6.5 or greater.
Source of Vulnerability Report:
Allistair Ishmael Hakim [email protected]
Affected products & versions:
AWS JDBC Wrapper < 2.6.5
Platforms:
MacOS/Windows/Linux
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | software.amazon.jdbc:aws-advanced-jdbc-wrapper | all versions | 2.6.5software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.6.5 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for software.amazon.jdbc:aws-advanced-jdbc-wrapper, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update software.amazon.jdbc:aws-advanced-jdbc-wrapper to 2.6.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-7xw4-g7mm-r4hh is resolved across your whole dependency graph.
Workarounds
Close the privilege gap rather than the entry point: audit which accounts, roles and service identities can reach the affected operation, drop the component to the least privilege it actually needs, and review file and directory permissions created by earlier installs — a default left in place is what makes this reachable.
Frequently Asked Questions
Is GHSA-7xw4-g7mm-r4hh in your dependencies?
Find it across Maven, including transitive dependencies.