Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-78699

HIGH 7.2EPSS 3%

rename_tenant returns :ok on a failed rename, enabling cross-tenant access in AshPostgres

Mitigation

  • Upgrade ash_postgres to 2.13.0 or later.
  • Upgrade ash_postgres to 8544ab15fe45784553c2d2da8ee1a388eee0174b or later.

Who should check

  • Anyone running ash-project ash_postgres >= 0.25.0, < 2.13.0
  • Anyone running ash-project ash_postgres >= 03510dae24020e302558ef947be7ea874a9ce756, < 8544ab15fe45784553c2d2da8ee1a388eee0174b

Vulnerability facts

Affected
ash-project ash_postgres >= 0.25.0, < 2.13.0; ash-project ash_postgres >= 03510dae24020e302558ef947be7ea874a9ce756, < 8544ab15fe45784553c2d2da8ee1a388eee0174b
Fixed in
ash-project ash_postgres 2.13.0, ash-project ash_postgres 8544ab15fe45784553c2d2da8ee1a388eee0174b
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.2 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: Low
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
CWE
CWE-252
Published
Modified

Description

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 ash_postgres: from 0.25.0 before 2.13.0.

Affected and fixed versions

Package / productAffectedFixedSource
ash-project ash_postgres>= 0.25.0, < 2.13.0—cvelist
ash-project ash_postgres>= 03510dae24020e302558ef947be7ea874a9ce756, < 8544ab15fe45784553c2d2da8ee1a388eee0174b—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-78699. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-78699.md
Affected: ash-project ash_postgres >= 0.25.0, < 2.13.0; ash-project ash_postgres >= 03510dae24020e302558ef947be7ea874a9ce756, < 8544ab15fe45784553c2d2da8ee1a388eee0174b
Fixed in: ash-project ash_postgres 2.13.0, ash-project ash_postgres 8544ab15fe45784553c2d2da8ee1a388eee0174b

Steps:
1. Search this machine and project for ash-project ash_postgres: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-78699 being exploited?

There is no confirmed exploitation: CVE-2026-78699 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-78699?

High: CVSS 7.2 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-78699?

ash-project ash_postgres >= 0.25.0, < 2.13.0; ash-project ash_postgres >= 03510dae24020e302558ef947be7ea874a9ce756, < 8544ab15fe45784553c2d2da8ee1a388eee0174b.

Is there a fix for CVE-2026-78699?

Yes. Fixed in ash-project ash_postgres 2.13.0, ash-project ash_postgres 8544ab15fe45784553c2d2da8ee1a388eee0174b. Upgrade ash_postgres to 2.13.0 or later. Upgrade ash_postgres to 8544ab15fe45784553c2d2da8ee1a388eee0174b or later.

How do I check if I'm affected by CVE-2026-78699?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors