{"id":"EEF-CVE-2026-82673","summary":"Path traversal in AshAdmin file uploads via unsanitized client filename","details":"## Summary\n\nImproper 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.\n\n`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.\n\nThis issue affects ash_admin: from 0.13.7 before 1.3.1.","aliases":["CVE-2026-82673","GHSA-483p-rgcq-p5j9"],"modified":"2026-09-08T03:45:06.959483344Z","published":"2026-08-31T02:33:10.967Z","database_specific":{"cpe_ids":["cpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-22"],"capec_ids":["CAPEC-126"]},"references":[{"type":"ADVISORY","url":"https://github.com/ash-project/ash_admin/security/advisories/GHSA-483p-rgcq-p5j9"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-82673.html"},{"type":"FIX","url":"https://github.com/ash-project/ash_admin/commit/4bb41cb697f3d9be58462d727aed75aba76efc82"},{"type":"PACKAGE","url":"https://hex.pm/packages/ash_admin"}],"affected":[{"package":{"name":"ash_admin","ecosystem":"Hex","purl":"pkg:hex/ash_admin"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.13.7"},{"fixed":"1.3.1"}]}],"versions":["0.13.10","0.13.11","0.13.12","0.13.13","0.13.14","0.13.15","0.13.16","0.13.17","0.13.18","0.13.19","0.13.20","0.13.21","0.13.22","0.13.23","0.13.24","0.13.25","0.13.26","0.13.7","0.13.8","0.13.9","0.14.0","1.0.0-rc.0","1.1.0","1.2.0","1.3.0"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-82673.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash_admin","events":[{"introduced":"e8f496b6a064ad67dc1cd30433e5921d2192d254"},{"fixed":"4bb41cb697f3d9be58462d727aed75aba76efc82"}]}],"versions":["v1.3.0","v1.2.0","v1.1.0","v0.14.0","v0.13.26","v0.13.25","v0.13.24","v0.13.23","v0.13.22","v0.13.21","v0.13.20","v0.13.19","v0.13.18","v0.13.17","v0.13.16","v0.13.15","v0.13.14","v0.13.13","v0.13.12","v0.13.11","v0.13.10","v0.13.9","v0.13.8","v0.13.7"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-82673.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N"}],"credits":[{"name":"Peter Ullrich","type":"FINDER"},{"name":"Peter Ullrich","type":"REPORTER"},{"name":"Zach Daniel / Ash Project","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen / EEF","type":"COORDINATOR"}]}