CVE-2025-48042 Before action hooks may execute in certain scenarios despite a request being forbidden

High 7.1 Published Updated

Attackers can trigger before-action hooks in the Ash library even when requests are forbidden, bypassing intended access controls.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-48042?

CVE-2025-48042 is a high-severity missing authorization vulnerability in ash-project ash, published on 7 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-863

Which versions are affected by CVE-2025-48042?

3 open source packages ship an affected version, including ash.

PackageAffectedFixed in
ash HexAll versions3.5.39
ash HexAll versions3.5.39
ash HexFrom 0.1.13.5.39

How do I fix CVE-2025-48042?

Upgrade ash to 3.5.39 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-48042 being exploited?

There is no known exploitation of CVE-2025-48042 in the wild and no public exploit code.

Sources

Also known as EEF-CVE-2025-48042, GHSA-jj4j-x5ww-cwh9.

Is CVE-2025-48042 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free