Ash Postgres
Monthly
Silent schema cross-contamination in ash_postgres multi-tenancy allows a low-privileged user who can trigger a tenant rename to gain unauthorized read and write access to a different tenant's PostgreSQL schema. Affected versions span 0.25.0 through 2.13.0 of the ash-project/ash_postgres Elixir library. When PostgreSQL rejects the ALTER SCHEMA rename due to a name collision, the library silently reports success, causing the tenant metadata row to be committed pointing at the victim's live schema - routing all subsequent reads and writes for the attacker's tenant against the victim's data. No public exploit code or CISA KEV listing has been identified at time of analysis.
Cross-tenant record disclosure in AshPostgres 0.38.0 through 2.15.1 lets an authenticated tenant user load destination records that are only related to a source record through another tenant's join rows, when a many_to_many or through relationship is loaded with a lateral join. The exposure is bounded: it requires the join resource (or a resource along the through path) to use Ash's :attribute multitenancy strategy and to actually hold rows for several tenants, plus a load path that triggers a lateral join via a per-record limit, offset or sort on the relationship; schema- or context-based multitenancy and non-lateral loads are not affected. No public exploit code was identified at time of analysis, the issue is not in CISA KEV, and the vendor-released fix is AshPostgres 2.15.2.
AshPostgres versions 2.6.22 through 2.15.1 can disclose another tenant's row to an authenticated caller when an upsert is skipped and the action was invoked with return_skipped_upsert?: true. The vulnerable read-back in do_bulk_create/3 and upsert/4 re-fetched the existing row by upsert identity without applying the resource's attribute multitenancy (strategy :attribute), so an identity collision across tenants could return the wrong tenant's field values; the exposure is read-only disclosure of the matched row, with no write or availability impact. Exploitation requires the non-default combination documented in the advisory - attribute multitenancy, an upsert action with return_skipped_upsert?: true, an upsert that is actually skipped, and caller-supplied identity values that another tenant also uses - and no public exploit code or CISA KEV entry was identified at time of analysis; vendor-released patch: 2.15.2.
Silent schema cross-contamination in ash_postgres multi-tenancy allows a low-privileged user who can trigger a tenant rename to gain unauthorized read and write access to a different tenant's PostgreSQL schema. Affected versions span 0.25.0 through 2.13.0 of the ash-project/ash_postgres Elixir library. When PostgreSQL rejects the ALTER SCHEMA rename due to a name collision, the library silently reports success, causing the tenant metadata row to be committed pointing at the victim's live schema - routing all subsequent reads and writes for the attacker's tenant against the victim's data. No public exploit code or CISA KEV listing has been identified at time of analysis.
Cross-tenant record disclosure in AshPostgres 0.38.0 through 2.15.1 lets an authenticated tenant user load destination records that are only related to a source record through another tenant's join rows, when a many_to_many or through relationship is loaded with a lateral join. The exposure is bounded: it requires the join resource (or a resource along the through path) to use Ash's :attribute multitenancy strategy and to actually hold rows for several tenants, plus a load path that triggers a lateral join via a per-record limit, offset or sort on the relationship; schema- or context-based multitenancy and non-lateral loads are not affected. No public exploit code was identified at time of analysis, the issue is not in CISA KEV, and the vendor-released fix is AshPostgres 2.15.2.
AshPostgres versions 2.6.22 through 2.15.1 can disclose another tenant's row to an authenticated caller when an upsert is skipped and the action was invoked with return_skipped_upsert?: true. The vulnerable read-back in do_bulk_create/3 and upsert/4 re-fetched the existing row by upsert identity without applying the resource's attribute multitenancy (strategy :attribute), so an identity collision across tenants could return the wrong tenant's field values; the exposure is read-only disclosure of the matched row, with no write or availability impact. Exploitation requires the non-default combination documented in the advisory - attribute multitenancy, an upsert action with return_skipped_upsert?: true, an upsert that is actually skipped, and caller-supplied identity values that another tenant also uses - and no public exploit code or CISA KEV entry was identified at time of analysis; vendor-released patch: 2.15.2.