chore(deps): update dependency ash_postgres to v2.13.0 [security] #582
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
optional
question
S
security
technical improvement
UX Improvement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
local-it/mitgliederverwaltung!582
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/hex-ash_postgres-vulnerability"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
2.10.0→2.13.0rename_tenant returns :ok on a failed rename, enabling cross-tenant access in AshPostgres
CVE-2026-78699 / EEF-CVE-2026-78699 / GHSA-6fqq-j9c4-5766
More information
Details
Summary
Unchecked Return Value vulnerability in ash-project ash_postgres allows a user who can drive a tenant rename to a name that collides with an existing tenant's schema to have their tenant record repointed at that other tenant's live schema, gaining access to its data.
AshPostgres.MultiTenancy.rename_tenant/3issues theALTER SCHEMA ... RENAME TO ...with the non-raisingEcto.Adapters.SQL.query/2, discards its{:ok, _} | {:error, _}result, and unconditionally returns:ok. PostgreSQL rejects the rename when the target schema already exists (and on insufficient privilege or lock timeout), but that failure never reaches the caller. The callingmanage_tenantupdate action therefore sees success and commits the tenant row with the new name, which is the schema of a different existing tenant, so subsequent reads and writes for that tenant run against the other tenant's data.This issue affects ash_postgres: from 0.25.0 before 2.13.0.
Configurations
An application must run ash_postgres schema-based multitenancy with a user-driven tenant rename (for example a
manage_tenantupdate on an editable org slug or subdomain), letting a user choose a new tenant name that collides with an existing tenant's schema.Severity
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NReferences
This data is provided by OSV.
Release Notes
ash-project/ash_postgres (ash_postgres)
v2.13.0Compare Source
Features:
Improvements:
Bug Fixes:
raise on a failed tenant rename instead of silently returning :ok (CVE-2026-78699) by Zach Daniel
update ltree casting failure mode by Zach Daniel
tighten tenant validation by Zach Daniel
run tenant migrations from mix ash.setup (#836) by TravelCurry02
only await table structure for custom statement dependencies (#826) by Alt-iOS
do not KeyError when Postgres omits DETAIL on a constraint violation (#824) by Michael Kuk
v2.12.0Compare Source
Features:
add match_tenant? option for attribute multitenancy FKs (#813) by TravelCurry02
add after_resource to custom_statements so raw SQL can depend on another resource (#799) by Jechol Lee
Improvements:
Bug Fixes:
return upsert identity keys and correlate on the full key set so bulk upserts don't drop by Daniel Gollings
clean up obsolete serial sequences (#806) by Jechol Lee
fix ordering constraints for composite primary keys by Zach Daniel
v2.11.0Compare Source
Features:
Bug Fixes:
fix generated reference type value for identity and bigserial (#800) by Dmitry Maganov
return skipped upserts with nil identity values (#794) by Jechol Lee
warn when resources are skipped due to migrate?: false during mi⦠(#792) by Jsime34
set tenant on destroy so exists() subqueries resolve against the tenant schema (#790) by Francisco-Castro
resolve actor/context templates in through relationship filters (#789) by Barnabas Jovanovics
correlate bulk upsert records by identity on the MERGE path (#786) by Johannes Welebil
ensure timeouts applied at repo level (#784) by torazar
Improvements:
Add partial index conditions for references (#795) by Jechol Lee
avoid generating uuidv7 by default, once postgres v18 is detected (#793) by Luca Venir
Added sort direction support to custom_indexes fields. (#775) by Thomas Lucas
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
8d66473b3fdc0a709325dc0a70932558444392aa58444392aabcb2304e99bcb2304e997d6f4672487d6f467248435417c5dd435417c5ddb7d7529146View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.