# CVE-2026-82673: Path traversal in AshAdmin file uploads via unsanitized client filename

> Attacker can write arbitrary files via unsanitized upload filenames, potentially achieving remote code execution in AshAdmin applications.

- **Severity:** High 8.3 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 31 Aug 2026
- **Updated:** 31 Aug 2026
- **Also known as:** EEF-CVE-2026-82673, GHSA-483p-rgcq-p5j9

## What is CVE-2026-82673?

CVE-2026-82673 is a high-severity path traversal vulnerability in ash-project ash_admin, published on 31 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official 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.

Weakness: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory)

## Which versions are affected by CVE-2026-82673?

1 open source package ship an affected version, including ash_admin.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `ash_admin` | Hex | From 0.13.7 | 1.3.1 |

## How do I fix CVE-2026-82673?

Upgrade ash_admin to 1.3.1 or later.

## Is CVE-2026-82673 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-82673 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-82673 and fix it if it is affected.

What it is: CVE-2026-82673 is a high-severity path traversal vulnerability in ash-project ash_admin, published on 31 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-82673 exists.

Affected packages and fixed versions:
- ash_admin (Hex): affected from 0.13.7; fixed in 1.3.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-82673/ (Markdown: https://insights.sbomify.com/CVE-2026-82673/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-82673
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-82673
- OSV: https://osv.dev/vulnerability/CVE-2026-82673

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-82673/
Summaries are generated and may contain mistakes; the official description above is the record.
