What’s Vulnerable › Vulnerabilities
CVE-2026-82673: Path traversal in AshAdmin file uploads via unsanitized client filename
- Severity: high (CVSS 8.3 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-31 · updated 2026-09-01
- Weakness: CWE-22
Description
Improper Limitation of a Pathname to a Restricted Directory (Path Traversal) vulnerability in ash-project ash_admin allows writing attacker-controlled bytes to arbitrary paths on the server. AshAdmin.Components.Resource.Form.consume_file_uploads/1 builds the destination as Path.join([tmp_dir, entry.client_name]) and writes it with File.cp!/2. entry.client_name is the browser-supplied filename and is not sanitized, and Path.join/1 does not normalize ... An upload named ../../../../var/www/app/priv/static/x.png therefore escapes the random temp directory and lands anywhere the BEAM user can write, enabling arbitrary file write and potentially remote code execution by overwriting application assets, configuration, or cron/ssh files. The only guard is an extension allowlist defaulting to :any that checks only the extension. The fix strips path components with Path.basename/1 before joining. This issue affects ash_admin: from 0.13.7 before 1.3.1.
Affected products
- ash-project ash_admin: from 0.13.7 before 1.3.1 — fixed in 1.3.1
How to fix
Upgrade to a fixed version: ash-project ash_admin 1.3.1. Check the vendor advisory for mitigations.
References
- https://cna.erlef.org/cves/CVE-2026-82673.html
- https://github.com/ash-project/ash_admin/commit/4bb41cb697f3d9be58462d727aed75aba76efc82
- https://github.com/ash-project/ash_admin/security/advisories/GHSA-483p-rgcq-p5j9
- https://osv.dev/vulnerability/EEF-CVE-2026-82673
- https://github.com/ash-project/ash_admin/security/advisories/GHSA-483p-rgcq-p5j9
Get alerted when CVE-2026-82673 or the next vulnerability affects your stack