PostgreSQL Exposure Is Broader Than the Vulnerable Privilege Path
ZoomEye returned 3,456,296 matches for app="PostgreSQL" on November 30, 2026, using sub_type=all, page 1, and page size 1. A title query returned 4,146. The first number is a product fingerprint count. It is not a count of vulnerable PostgreSQL instances, and it is not a count of systems where an attacker can create the objects needed for CVE-2026-120150.
The CVE is a use-after-free in expanded-record domain checks. An object creator can trigger it by defining and checking a domain over a composite type. Successful exploitation can execute code as the operating system user running the database. The prerequisite is significant. A public PostgreSQL banner or application fingerprint does not show the roles, schemas, or object-creation privileges inside the server.
Read the fingerprint correctly
The app="PostgreSQL" result describes ZoomEye's application classification. It can include database listeners, exposed management services, and assets that reveal a PostgreSQL-related banner. The title count is different because it depends on page text. Neither field establishes version, patch level, or a specific user's privileges.
A large product count is useful for understanding that PostgreSQL is common and widely observable. It is not a vulnerability metric. The relevant internal query is closer to this: which clusters run a version below the fixed release, which roles can create domains or composite types, which applications connect with those roles, and which clusters are reachable by untrusted users?
Turn exposure into a review queue
Match public hosts to owned assets before doing any technical check. Record the cluster or service, network zone, owner, version, patch date, and exposed endpoint. Remove matches that are documentation, cloud provider pages, or unrelated services. For confirmed databases, review authentication and network ACLs. Do not send test objects or exploit attempts to production.
Review role membership and default privileges. Identify application accounts that can create temporary objects or objects in writable schemas. Check whether the database uses a shared service account across applications. If a lower-trust workload can create object definitions, treat it as part of the attack surface.
Patch evidence
Compare every branch with the fixed releases: 18.7, 17.12, 16.16, 15.20, and 14.25. For a managed service, obtain a provider statement that covers the running cluster. For a self-managed cluster, confirm the package version, binary path, restart time, and image digest. Keep the evidence in the asset record.
The high public count can guide outreach when an organization has unknown PostgreSQL services, but it cannot prove that those services accept object creation from untrusted roles. A database with a patched version may still deserve attention because of overbroad privileges. A database with a vulnerable version may have a narrow role model. The two dimensions need separate reporting.
Monitoring after remediation
Log changes to domains, composite types, functions, extensions, and role grants. Alert on new object creation outside a deployment window. Review database and host telemetry for commands launched by the service account. Check authentication failures and unusual connections from application networks.
ZoomEye can provide public context for the estate. The decision to patch or restrict a cluster should be based on its version, role model, exposure, and data sensitivity. A 3.4 million product count is not a substitute for those facts.
Top comments (1)
The role question is the cheapest part to answer from inside the estate. Per database, list login roles that can create objects where: select r.rolname, n.nspname from pg_roles r cross join pg_namespace n where r.rolcanlogin and not r.rolsuper and has_schema_privilege(r.oid, n.oid, 'CREATE') and n.nspname not like 'pg_%' and n.nspname <> 'information_schema'. Add has_database_privilege(r.oid, current_database(), 'CREATE') too, since that lets a role make its own schema. Clusters upgraded from before 15 often still grant CREATE on public to everyone, so start there. Privileges are per database, so run it in each one and keep the output in the asset record next to the patch evidence.