A privilege escalation vulnerability exists in the AWS Advanced NodeJS Wrapper for Amazon Aurora PostgreSQL. A low-privilege authenticated user can create a crafted function that executes with elevated permissions, potentially gaining the rds_superuser role. This affects versions prior to 2.0.1. AWS has released version 2.0.1 to address this issue.