CVE-2026-96883: Type confusion bug in AWS pgcollection extension enables RCE
AWS disclosed CVE-2026-96883, a type confusion vulnerability in the open-source pgcollection PostgreSQL extension affecting versions 2.0.0 through 2.1.1. An authenticated database user can trigger the flaw by requesting a stored icollection value as an incompatible type, causing the extension to misinterpret the datum representation, which can crash the PostgreSQL backend or lead to arbitrary code execution.
SECURITY · DATA · VULNERABILITY · SECURITY ADVISORY
PUBLISHED SEP 25, 2026 14:57 UTC
WHAT CHANGED
pgcollection version 2.1.2 fixes the type coercion issue present in versions 2.0.0 through 2.1.1. The vulnerability applies only to installations where customers downloaded and compiled pgcollection from the AWS GitHub repository and deployed it themselves. Amazon RDS for PostgreSQL and Amazon Aurora PostgreSQL are not affected because those managed services ship pgcollection version 1.1.1, which does not contain the flaw.
WHY IT MATTERS
An authenticated user with database access could exploit this type confusion to crash the PostgreSQL backend or execute arbitrary code, posing a serious risk to any self-managed PostgreSQL environment running the vulnerable self-compiled extension versions. There is no workaround, so upgrading is the only mitigation for affected self-hosted deployments.
WHO IS AFFECTED
- ROLES
- Database administratorPostgreSQL self-managed deployment owner
- PRODUCTS
- pgcollection (PostgreSQL extension)
- FEATURES
- Type coercion logic for icollection stored values
- CONFIGURATIONS
- Self-compiled pgcollection binaries built from the AWS GitHub repository and deployed in customer-managed PostgreSQL environments
- ENVIRONMENTS
- Self-managed PostgreSQL environments running pgcollection v2.0.0 through v2.1.1
- EXCLUSIONS
- Amazon RDS for PostgreSQL (ships pgcollection v1.1.1, not impacted)Amazon Aurora PostgreSQL (ships pgcollection v1.1.1, not impacted)
WHAT TO DO
- 01CRITICALAUTOMATABLE
Identify any self-managed PostgreSQL environments running pgcollection versions 2.0.0 through 2.1.1 compiled from the AWS GitHub repository.
DOCUMENTATION - 02CRITICALAUTOMATABLE
Upgrade pgcollection to version 2.1.2 or later on all affected PostgreSQL instances.
DOCUMENTATION - 03LOW
Confirm Amazon RDS for PostgreSQL and Amazon Aurora PostgreSQL deployments are running the unaffected v1.1.1 pgcollection build shipped by AWS, since no managed-service action is required.
DOCUMENTATION
TIMELINE
- ANNOUNCED
- SEP 24, 2026
SOURCES
- PRIMARY SOURCEAMAZON WEB SERVICES, INC.
CVE-2026-96883 - Type confusion in AWS pgcollection allows remote code execution
PUBLISHED SEP 24, 2026VIEW SOURCE
VERIFICATION
ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.