CVE-2025-48042
mediumpriority · track · 0OT risk · elevatedEPSS 0.003 · 27 %ileEUUSEPSS · scored 2026-10-27
Incorrect Authorization vulnerability in ash-project ash allows Exploiting Incorrectly Configured Access Control Security Levels. This issue affects ash: from 0.1.1 before 3.5.39.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-jj4j-x5ww-cwh9Before action, Ash's hooks may execute in certain scenarios despite a request being forbidden2025-09-15ghsa · osvUS
### Summary Certain bulk action calls with a `before_transaction` hook and no `after_transaction` hook, will call the `before_transaction` hook before authorization is checked and a Forbidden error is returned, when called as a bulk action. The impact is that a malicious user could cause a `before_transaction` to run even though they are not authorized to perform the whole action. The `before_action` could run a sensitive/expensive operation. ### Impact A malicious user could cause a `before_action` to run even though they are not authorized to perform the whole action. You are affected if you have an create, update or destroy action that: - has a before_transaction hook on it, and no after_transaction hook on it. - is being used via an `Ash.bulk_*` callback (which AshJsonApi and AshGraphql do for update/destroy actions) Whether or not or how much it matters depends on the nature of those before_transaction callbacks. If those before_transaction callbacks are side-effectful, or just doing something like looking up some external data. If your API endpoints are behind authentication and what kind. ### Severity The severity for this was hard to gauge. `before_transaction` hooks are not that commonly used. Additionally, any attacker must know which of these things are available to them, be authenticated to make such a request (i.e you very rarely have policies preventing the running of anonymous queries), so privileges and inside knowledge are required. Additionally, the action will always return a `forbidden` error, so no information is revealed. We will evaluate and adjust the severity in the next few days as needed. It is currently marked as High, given that we really don't know what logic folks are putting in their before_transaction hooks and it could theoretically be very bad. ### Workarounds You should update ASAP, but if for whatever reason you cannot update, you can add logic to those before_transaction hooks to prevent them from doing their logic before they should.
- EEF-CVE-2025-48042Before action hooks may execute in certain scenarios despite a request being forbidden2025-09-07vendor · osvUS
## Summary Incorrect Authorization vulnerability in ash-project ash allows Exploiting Incorrectly Configured Access Control Security Levels. This issue affects ash: from 0.1.1 before 3.5.39.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-48042cnnvd
- https://github.com/ash-project/ash/commit/5d1b6a5d00771fd468a509778637527b5218be9acnnvd
- https://github.com/ash-project/ash/releasesPatchcnnvd
- https://github.com/ash-project/ash/security/advisories/GHSA-jj4j-x5ww-cwh9cnnvd
- https://cna.erlef.org/cves/CVE-2025-48042.htmlenisa_euvd
- https://github.com/ash-project/ash/commit/5d1b6a5d00771fd468a509778637527b5218be9aenisa_euvd
- https://github.com/ash-project/ash/security/advisories/GHSA-jj4j-x5ww-cwh9enisa_euvd
- https://osv.dev/vulnerability/EEF-CVE-2025-48042enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan