CVE-2024-49756 in Block products
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 (s...
Affects 0 products from 5 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Block | — | — |
| Determine | — | — |
| Github | — | — |
| Postgresql | — | — |
| Script | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-49756 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-217132-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Published | 2024-10-23 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-552: CWE-552
Related attack patterns (CAPEC)
CAPEC-639 Probe System Files via CWE-552
CAPEC-150 Collect Data from Common Resource Locations via CWE-552
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-49756 affects AshPostgres versions 2.0.0 to 2.4.9, where policies of an update action can be skipped in specific scenarios, leading to unintended hook execution.
The vulnerability arises from the handling of 'empty' update actions, where no fields are changed. In these cases, the policies are not enforced, allowing hooks to execute without proper authorization.
Questions
What is CVE-2024-49756?
CVE-2024-49756 affects AshPostgres versions 2.0.0 to 2.4.9, where policies of an update action can be skipped in specific scenarios, leading to unintended hook execution.
What is the CVSS score for CVE-2024-49756?
CVE-2024-49756 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N. EPSS: 0.7%.
Is CVE-2024-49756 actively exploited?
No confirmed active exploitation of CVE-2024-49756 as of 2026-09-25.
How do I remediate CVE-2024-49756?
Priority: MEDIUM. Advisory: https://gist.github.com/zachdaniel/e49166b765978c48dfaf998d06df436e
What systems are affected by CVE-2024-49756?
CVE-2024-49756 affects Block; Determine; Github; Postgresql; Script.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Block","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.