CVE-2026-78699
CVE-2026-78699 — rename_tenant returns :ok on a failed rename, enabling cross-tenant access in AshPostgres
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/3 issues the ALTER SCHEMA ... RENAME TO ... with the non-raising Ecto.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 calling manage_tenant update 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…
Published Updated Sources: cvelistV5, EEF
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.2
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.2 | CVSS 4.0 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-252
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /3, /2.
References
5 on the record
- github.com/ash-project/ash_postgres/security/advisories/GHSA-6fqq-j9c4-5766
vendor-advisory, related
- cna.erlef.org/cves/CVE-2026-78699.html
related
- osv.dev/vulnerability/EEF-CVE-2026-78699
related
- github.com/ash-project/ash_postgres/commit/03510dae24020e302558ef947be7ea874a9ce756
related
- github.com/ash-project/ash_postgres/commit/8544ab15fe45784553c2d2da8ee1a388eee0174b
patch
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-111497 Out-of-Bounds Write in Google Brotli DecoderCVSS 9.8 · CISA KEV
- CVE-2020-7247 OpenSMTPD Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-121639 WatchGuard AuthPoint Gateway Improper Authentication Allows Unauthenticated Denial of ServiceCVSS 9.2
- CVE-2026-133845 Flatpak: flatpak: sandbox escape via fd conflict in flatpak-portal spawn()CVSS 7.3
- CVE-2026-19809 Kernel stack information disclosure in the charger_get_prop() system call handlerCVSS 3.3
Elsewhere on this site
- Ash Projectevery CVE for this vendor
- CWE-252other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.