CVE-2026-94201
Filtering an :atom attribute with unsafe_to_atom? can exhaust the BEAM atom table in Ash
Check your servers for CVE-2026-94201
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-94201 affects ash, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Ash stores :atom-typed attributes as strings and compares them as strings. When such an attribute is referenced in a filter, the comparison value is coerced through Ash.Type.Atom. Because the type defined no coerce/2 callback, coercion fell back to the default (cast_input/2), which calls String.to_atom/1 when the attribute is configured with the unsafe_to_atom?: true constraint.
Filtering such an attribute with attacker-controlled strings therefore interned a new, permanent atom for every distinct value. Atoms are never garbage collected and the BEAM caps the atom table, so an actor who can supply filter values for a public, filterable :atom attribute declared with unsafe_to_atom?: true can exhaust the atom table and crash the node (denial of service). AshPaperTrail is a notable example: its version resources expose a public, filterable version_action_name atom attribute with unsafe_to_atom?: true by default.
The fix adds a coerce/2 to Ash.Type.Atom that never interns atoms — a comparison value is left as a string, since the type is stored and compared as a string. Setting the attribute from action input (cast_input/2, which still honors unsafe_to_atom?) is unchanged.
This issue affects ash: from 3.5.1 before 3.34.3.
Severity (CVSS)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality none, integrity none, availability high: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.52%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 37.8% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 6 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-770 Allocation of Resources Without Limits or Throttling
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
ash
package
ash |
affected from 3.5.1, before 3.34.3
Other versions: unaffected
|
|
ash
package
ash-project/ash |
affected from 2970ba3bd5d36d6ad04c731ac87385375d457147, before 5282f3f513053628cdd1bf2236ea22d975d934d4
Other versions: unaffected
|
Is my server affected?
Find the installed version of ash and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i ash
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-94201 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-94201RHEL, Rocky, Alma, Fedora
rpm -q ash
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-94201Alpine
apk list --installed | grep -i ashWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-94201
trivy image --scanners vuln IMAGE | grep CVE-2026-94201
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- EEF CNA record for CVE-2026-94201 cna.erlef.org · related, third party advisory
Patches and release notes
- Fix commit 5282f3f in ash-project/ash github.com · patch
Other references
- OSV record EEF-CVE-2026-94201 osv.dev · related
- Introducing commit 2970ba3 in ash-project/ash github.com · related
Source: the record CVE-2026-94201 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse