Documented incidentPublished 2022-04-29Microsoft AzureEngineering postmortem

Privilege escalation and a certificate-validation flaw allow cross-account database access (Azure PostgreSQL "ExtraReplica", 2022)

Researchers exploited a bug in Azure's modified PostgreSQL engine to gain superuser privileges and run operating-system commands on their own database instance.

What happened

  • A flaw in certificate validation let them forge a client certificate matching another customer's instance and access other customers' databases across accounts.Wiz Research discovers "ExtraReplica": a cross-account database vulnerability in Azure PostgreSQL

The failure pattern

Watch the pattern: Cross-tenant access through a caller-controlled identifier

Safeguards that address it

CollectSEA's engineering analysis of what would have prevented or contained this failure.

  • Validate tenant identity with strict, anchored certificate checksMatch the full identity of a client certificate rather than a loosely matched pattern, and fuzz identity parsing.
  • Isolate tenant containers from host networkingGive each tenant workload its own network namespace and do not grant superuser to customer-controlled roles.

Related standards

CollectSEA's mapping through this incident's failure pattern; not an official determination by the standards bodies.

Building something similar?

Describe your design and see every precedent that applies, with safeguards you can hand to your coding agent.

Analyze your design
Security advisory2026-10-16

Software component issue could allow unauthorized access

ELADMIN (eladmin-mp) up to 2.7 contains an improper access control vulnerability in the role management module. The endpoint PUT /api/roles/menu (RoleController.updateRoleMenu) authorizes the request only by comparing…

Cross-tenant access through a caller-controlled identifiernvd.nist.gov
Security advisory2026-10-16

Software component issue could allow unauthorized access

The Photo Engine (Media Organizer & Lightroom) plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 6.5.6 This is due to the plugin not properly verifying that a user is…

Cross-tenant access through a caller-controlled identifiernvd.nist.gov