← All updates

Security / News explained

pgactive’s replication parser could allow server commands

pgactive 2.1.10 fixes a replication-origin buffer overflow. The advisory distinguishes version-specific privileges, operating-system impact and release requirements that matter to an upgrade plan.

By Zyel · Published · 4 min read

AWS’s November 24, 2026 bulletin for CVE-2026-134068 identifies a buffer overflow in pgactive, its open-source PostgreSQL extension for active-active replication. The affected range is 2.1.0 up to, but excluding, 2.1.10. AWS recommends a corrected release and says an authenticated database user with particular privileges could, under the described circumstances, execute operating-system commands as the database operating-system user. [1]

The Amazon CNA record agrees on the affected range and identifies a crafted replication origin name as the input to the vulnerable parser. The reported failure is a stack-based buffer overflow. This is a finding about the pgactive extension and its reachable parsing operation, rather than a claim that every PostgreSQL installation exposes the same path. [3]

The database login is only the first part of the scope

The project advisory, published November 25, supplies an important version distinction. In pgactive 2.1.0, any authenticated database user can call the parser. In 2.1.1 and later affected versions, access is limited to superusers, roles explicitly granted execution, or roles that can insert into the conflict-handler catalog. The project names pg_write_all_data as one example of the latter. [2]

The project also says code execution requires bypassing address space layout randomization. It describes potential access to databases in the PostgreSQL cluster and files accessible to the database operating-system user. That is a conditional impact statement. It does not mean the attacker automatically becomes the machine’s root administrator or acquires access to an entire cloud account. [2]

Our interpretation is that an exposure review needs both the extension version and the relevant privileges. A list of people who can sign in to the database is not enough to characterize every affected release. Equally, describing the problem as limited to superusers would miss the broader parser access in 2.1.0 and the additional privilege paths documented for later versions.

Consider a hypothetical application role that receives broad write privileges so an importer can maintain data. A separate operator may own the replication configuration. Understanding that division matters when assessing whether the application role can reach the catalog path identified in the advisory. This is an illustration of the permission question, not a report of a vulnerable customer configuration.

The corrected release comes with compatibility requirements

The 2.1.10 release page is dated November 18, before the AWS bulletin and project advisory. It lists hardening of replication-name parsing among its changes. The publication sequence matters: November 24 is the bulletin date, November 25 is the project advisory date, and the corrected release was already available. None of those dates establishes an incident in a particular environment. [4]

The release notes specify PostgreSQL branch minimums including 18.7, 17.12, 16.16, 15.20 and 14.25, and also identify 19.0 as a target. They separately describe join compatibility: a node running 2.1.10 can join other pgactive versions, while a node on 2.1.9 or earlier cannot join 2.1.10 without first being upgraded. [4]

For a replication operator, the implication is to assess the release as part of a group of nodes. A package available on one machine does not establish that another node can join it in its existing state. The published compatibility direction belongs in the change plan, alongside the PostgreSQL branch requirement. A successful download has never been a particularly informative replication test.

Imagine a hypothetical maintenance plan that updates one node and adds an older spare later. A plan that records only the target package version could overlook the documented join restriction. The point of this example is to make ordering and membership explicit, rather than to prescribe a universal rolling-upgrade sequence or claim that one was tested here.

Interim controls need their full context

Until upgrading, AWS’s bulletin calls for the conflict-handler catalog to be empty on every node and protected against new inserts, and for replication slot and origin names to be generated by pgactive. It adds a 2.1.0-specific restriction on public execution of the parsing function. These are interim controls with operational consequences; the published correction remains 2.1.10 or later. [1]

Those controls should be assessed by the people responsible for the actual replication setup. Removing or restricting a capability can affect an application that relies on it. Our interpretation is that the decision needs an account of which nodes and roles were reviewed, what temporary behavior changed, and how the corrected release will replace the interim arrangement.

The useful response is specific: identify the affected extension, establish which documented privilege path is relevant, and connect the completed upgrade with its database and replication prerequisites. The advisory describes a possible route across a database-to-operating-system boundary. Keeping its prerequisites visible makes that consequence easier to assess without inventing an incident or promising that a generic permission change resolves every deployment.

Sources + further reading

Source dates describe the original material. Publication above is the date this Zyel article went live.

  1. AWS security bulletin 2026-198 — pgactive replication origin parserAWS · Checked Nov 25, 2026
  2. Stack-based buffer overflow in pgactive replication origin parsingpgactive project · Checked Nov 25, 2026
  3. CVE-2026-134068 CNA recordAmazon CNA · Checked Nov 25, 2026
  4. pgactive 2.1.10 release notes, published November 18pgactive project · Checked Nov 25, 2026

Reader discussion

What would you ask next?

Questions, useful corrections and thoughtful disagreement are welcome. Comments are reviewed before they appear.

No reader comments yet.

10–2,000 characters. Plain text. Leave out passwords, private project data and personal contact details. A blank display name appears as Anonymous.

Complete the CAPTCHA before sending. Verification runs on your device.