AshPostgres empty, atomic, non-bulk actions, policy bypass for side-effects vulnerability.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-552.
Summary
AshPostgres is the PostgreSQL data layer for Ash Framework. Starting in version 2.0.0 and prior to version 2.4.10, in certain very specific situations, it was possible for the policies of an update action to be skipped. This occurred only on "empty" update actions (no changing fields), and would allow their hooks (side effects) to be performed when they should not have been. Note that this does not allow reading new data that the user should not have had access to, only triggering a side effect a user should not have been able to trigger. To be vulnerable, an affected user must have an update action that is on a resource with no attributes containing an "update default" (updated_at timestamp, for example); can be performed atomically; does not have `require_atomic? false`; has at least one authorizer (typically `Ash.Policy.Authorizer`); and has at least one `change` (on the resource's `changes` block or in the action itself). This is where the side-effects would be performed when they should not have been. This problem has been patched in `2.4.10` of `ash_postgres`. Several workarounds are available. Potentially affected users may determine that none of their actions are vulnerable using a script the maintainers provide in the GitHub Security Advisory, add `require_atomic? false` to any potentially affected update action, replace any usage of `Ash.update` with `Ash.bulk_update` for an affected action, and/or add an update timestamp to their action.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ash-project | ash_postgres | 2.0.0 to before 2.4.10 | 2.4.10 | Patch available | CNA |
| — | ash_postgres (Hex) | 2.0.0 to before 2.4.10 | 2.4.10 | Patch available | GHSA-hf59-7rwq-785m |
- ash_postgres Vendorash-project Affected 2.0.0 to before 2.4.10 Fixed in 2.4.10 Patch available CNA
- ash_postgres (Hex) Vendor— Affected 2.0.0 to before 2.4.10 Fixed in 2.4.10 Patch available GHSA-hf59-7rwq-785m
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ash_framework:ashpostgres:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:ash_framework:ashpostgres:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
- Fix · CNA ash_postgres (ash-project) Fixed in 2.4.10
- Fix · GHSA-hf59-7rwq-785m ash_postgres (Hex) Fixed in 2.4.10 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-49756
- 2026-10-03 Alias added: GHSA-hf59-7rwq-785m
References
Other 5
- https://github.com/ash-project/ash_postgres/security/advisories/GHSA-hf59-7rwq-785m
- https://github.com/ash-project/ash_postgres/commit/1228fcd851f29a68609e236f7d6a2622a4b5c4ba
- https://elixirforum.com/t/empty-update-action-with-policies/66954
- https://gist.github.com/zachdaniel/e49166b765978c48dfaf998d06df436e
- https://github.com/ash-project/ash_postgres
More ash-project vulnerabilities
- TI-2026-56298 Query-complexity limit bypass via first/last pagination arguments in AshGraphql enables denial of service CVSS 4.0HIGH 8.7
- TI-2026-52572 Unbounded atom creation from client-supplied RPC field names in AshTypescript field formatter CVSS 4.0HIGH 8.7
- TI-2026-57010 Path traversal in AshAdmin file uploads via unsanitized client filename CVSS 4.0HIGH 8.3
- TI-2026-26840 Ash Framework: Ash.Type.Module.cast_input/2 atom exhaustion via unchecked Module.concat allows BEAM VM crash CVSS 4.0HIGH 8.2
- TI-2026-54252 EEx template evaluation of prompt content in AshAi enables remote code execution CVSS 4.0HIGH 8.9
- TI-2026-54208 Stored XSS in AshAdmin relationship typeahead via unescaped label_field content CVSS 4.0HIGH 8.4
Sources
- CVE-2024-49756 · CVE Program
- CVE-2024-49756 · NVD
- FIRST EPSS
- GHSA-hf59-7rwq-785m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences