CVE-2026-82673 Path traversal in AshAdmin file uploads via unsanitized client filename
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ash-project ash admin | >= 0.13.7, < 1.3.1; >= e8f496b6a064ad67dc1cd30433e5921d2192d254, < 4bb41cb697f3d9be58462d727aed75aba76efc82 | 1.3.1, 4bb41cb697f3d9be58462d727aed75aba76efc82 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ash-project ash admin | >= 0.13.7, < 1.3.1 | 1.3.1 |
| ash-project ash admin | >= e8f496b6a064ad67dc1cd30433e5921d2192d254, < 4bb41cb697f3d9be58462d727aed75aba76efc82 | 4bb41cb697f3d9be58462d727aed75aba76efc82 |
References
- github.com exploit related vendor-advisory
- EEF CNA record for CVE-2026-82673 related
- OSV record EEF-CVE-2026-82673 related
- Fix commit 4bb41cb in ash-project/ash_admin patch
- Introducing commit e8f496b in ash-project/ash_admin related
- ENISA EUVD EUVD-2026-68331 third-party-advisory