# CVE-2024-49756: AshPostgres empty, atomic, non-bulk actions, policy bypass for side-effects vulnerability.

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.73% (percentile 50, 2026-11-28)
- **CWE:** CWE-552
- **Published:** 2024-10-23T17:04:50.037Z
- **Modified:** 2026-06-17T08:00:23.380Z

## Who should check

- Anyone running ash-project ash\_postgres \>= 2.0.0, \< 2.4.10

## 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.

## Affected and fixed versions

- ash-project ash\_postgres: \>= 2.0.0, \< 2.4.10 (cvelist)

## Mitigation

- Upgrade ash\_postgres to 2.4.10 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-49756. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-49756.md
Affected: ash-project ash_postgres >= 2.0.0, < 2.4.10
Fixed in: ash-project ash_postgres 2.4.10

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.
```

## FAQ

### Is CVE-2024-49756 being exploited?

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

### How serious is CVE-2024-49756?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-49756?

ash-project ash\_postgres \>= 2.0.0, \< 2.4.10.

### Is there a fix for CVE-2024-49756?

Yes. Fixed in ash-project ash\_postgres 2.4.10. Upgrade ash\_postgres to 2.4.10 or later.

### How do I check if I'm affected by CVE-2024-49756?

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.

## References

- vendor: <https://github.com/ash-project/ash_postgres/security/advisories/GHSA-hf59-7rwq-785m>
- patch: <https://github.com/ash-project/ash_postgres/commit/1228fcd851f29a68609e236f7d6a2622a4b5c4ba>
- other: <https://elixirforum.com/t/empty-update-action-with-policies/66954>
- other: <https://gist.github.com/zachdaniel/e49166b765978c48dfaf998d06df436e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-49756>

HTML: <https://flawdb.com/CVE-2024-49756> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-49756>
