AWS Advanced NodeJS Wrapper: Privilege Escalation in Aurora PostgreSQL instanceGHSA-8wj8-cfxr-9374
HIGHFix: aws/aws-advanced-nodejs-wrapper#574GHSA-8wj8-cfxr-9374 is a high-severity (CVSS 8) vulnerability in aws-advanced-nodejs-wrapper. A fix is available for aws-advanced-nodejs-wrapper — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
aws-advanced-nodejs-wrappernpmDescription
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 that customers upgrade to the following version: AWS NodeJS Wrapper to v2.0.1.
Source of Vulnerability Report:
Allistair Ishmael Hakim [email protected]
Affected products & versions:
AWS NodeJS Wrapper < 2.0.1.
Platforms:
MacOS/Windows/Linux
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | aws-advanced-nodejs-wrapper | all versions | 2.0.1npm install aws-advanced-nodejs-wrapper@2.0.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for aws-advanced-nodejs-wrapper, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update aws-advanced-nodejs-wrapper to 2.0.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-8wj8-cfxr-9374 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-8wj8-cfxr-9374 in your dependencies?
Find it across npm, including transitive dependencies.