{"id":"CVE-2025-12967","aliases":["CVE-2025-12967","GHSA-4jvf-wx3f-2x8q","PYSEC-2026-1205"],"related":[],"kind":"vulnerability","state":"published","title":"AWS Advanced Python Wrapper: Privilege Escalation in Aurora PostgreSQL instance","summary":"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.\n\nWe recommend customers upgrade to the following versions: AWS JDBC Wrapper to v2.6.5, AWS Go Wrapper to 2025-10-17, AWS NodeJS Wrapper to v2.0.1, AWS Python Wrapper to v1.4.0 and AWS PGSQL ODBC driver to v1.0.1","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nWe recommend customers upgrade to the following versions: AWS JDBC Wrapper to v2.6.5, AWS Go Wrapper to 2025-10-17, AWS NodeJS Wrapper to v2.0.1, AWS Python Wrapper to v1.4.0 and AWS PGSQL ODBC driver to v1.0.1","source":"cvelist"},{"lang":"en","text":"### Description of Vulnerability:\n\nAn 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.\n\nAWS recommends customers upgrade to the following versions:  AWS Python Wrapper to v1.4.0\n\n\n### Source of Vulnerability Report: \nAllistair Ishmael Hakim <allistair.hakim@gmail.com>\n\n\n### Affected products & versions: \nAWS Python Wrapper < 1.4.0\n\n\n### Platforms: \nMacOS/Windows/Linux","format":"markdown","source":"ghsa"},{"lang":"es","text":"Un problema en los Wrappers de AWS para Amazon Aurora PostgreSQL puede permitir la escalada de privilegios al rol rds_superuser. Un usuario autenticado con bajos privilegios puede crear una función manipulada que podría ser ejecutada con los permisos de otros usuarios de Amazon Relational Database Service (RDS).\n\nRecomendamos a los clientes actualizar a las siguientes versiones: AWS JDBC Wrapper a v2.6.5, AWS Go Wrapper a 2025-10-17, AWS NodeJS Wrapper a v2.0.1, AWS Python Wrapper a v1.4.0 y el controlador AWS PGSQL ODBC a v1.0.1","source":"nvd"}],"published":"2025-11-10T18:09:10.157Z","modified":"2026-10-18T21:10:00.120Z","severity":{"scorer":"AMZN","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"AMZN","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},{"scorer":"AMZN","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"cwes":["CWE-470"],"affected":[{"ranges":[{"version":"2.6.5","status":"unaffected"}],"vendor":"AWS","product":"JDBC Wrapper","source":"cvelist"},{"ranges":[{"version":"2025-10-17","status":"unaffected"}],"vendor":"AWS","product":"Go Wrapper","source":"cvelist"},{"ranges":[{"version":"2.0.1","status":"unaffected"}],"vendor":"AWS","product":"NodeJS Wrapper","source":"cvelist"},{"ranges":[{"version":"1.4.0","status":"unaffected"}],"vendor":"AWS","product":"Python Wrapper","source":"cvelist"},{"ranges":[{"version":"1.0.1","status":"affected"}],"vendor":"AWS","product":"ODBC driver","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.0"}],"ecosystem":"PyPI","package":"aws-advanced-python-wrapper","purl":"pkg:pypi/aws-advanced-python-wrapper","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.0"}],"ecosystem":"PyPI","package":"aws-advanced-python-wrapper","purl":"pkg:pypi/aws-advanced-python-wrapper","source":"pysec"}],"references":[{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2025-028/","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/aws/aws-advanced-jdbc-wrapper/releases/tag/2.6.5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/aws/aws-advanced-go-wrapper/releases/tag/release-2025-10-17","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/aws/aws-advanced-python-wrapper/releases/tag/1.4.0","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/aws/aws-pgsql-odbc/releases/tag/1.0.1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/aws/aws-advanced-nodejs-wrapper/releases/tag/2.0.1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/aws/aws-advanced-python-wrapper/security/advisories/GHSA-4jvf-wx3f-2x8q","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/aws/aws-advanced-jdbc-wrapper/security/advisories/GHSA-7xw4-g7mm-r4hh","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/aws/aws-pgsql-odbc/security/advisories/GHSA-q327-fgm8-7mxf","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/aws/aws-advanced-go-wrapper/security/advisories/GHSA-7wq2-32h4-9hc9","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/aws/aws-advanced-nodejs-wrapper/security/advisories/GHSA-8wj8-cfxr-9374","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12967","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/aws/aws-advanced-python-wrapper/pull/1007","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2025-028","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/aws/aws-advanced-python-wrapper","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/aws-advanced-python-wrapper","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-4jvf-wx3f-2x8q","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"AMZN","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-11-11T04:55:40.353Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12967","url":"https://www.cve.org/CVERecord?id=CVE-2025-12967","licence":"CVE Terms of Use","modified":"2026-02-26T17:47:02.133Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4jvf-wx3f-2x8q","url":"https://github.com/advisories/GHSA-4jvf-wx3f-2x8q","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:19.328Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12967","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12967","licence":"Public domain","modified":"2026-10-18T21:10:00.120Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1205","url":"https://osv.dev/vulnerability/PYSEC-2026-1205","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:32.809Z"}],"updatedAt":"2026-11-25T22:59:07.402Z","epss":{"score":0.008,"percentile":0.57793,"date":"2026-12-02T12:00:21.000Z"}}