CVE-2023-22726
HIGHDescription
act is a project which allows for local running of github actions. The artifact server that stores artifacts from Github Action runs does not sanitize path inputs. This allows an attacker to download and overwrite arbitrary files on the host from a Github Action. This issue may lead to privilege escalation. The /upload endpoint is vulnerable to path traversal as filepath is user controlled, and ultimately flows into os.Mkdir and os.Open. The /artifact endpoint is vulnerable to path traversal as the path is variable is user controlled, and the specified file is ultimately returned by the server. This has been addressed in version 0.2.40. Users are advised to upgrade. Users unable to upgrade may, during implementation of Open and OpenAtEnd for FS, ensure to use ValidPath() to check against path traversal or clean the user-provided paths manually.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 66% of all known CVEs.
References
Related Vulnerabilities
Other CWE-434 (Unrestricted File Upload) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2017-12617 | High | 8.1 | 100% | KEV | Fix |
| CVE-2018-15961 | Critical | 9.8 | 100% | KEV | - |
| CVE-2021-31207 | Medium | 6.6 | 100% | KEV + Ransom | Fix |
| CVE-2017-12615 | High | 8.1 | 100% | KEV + Ransom | - |
| CVE-2025-31324 | Critical | 10.0 | 99% | KEV + Ransom | - |
| CVE-2024-50623 | Critical | 9.8 | 99% | KEV + Ransom | Fix |
Embed a live status badge for CVE-2023-22726
Markdown
[](https://tridentstack.com/cve/CVE-2023-22726)HTML
<a href="https://tridentstack.com/cve/CVE-2023-22726"><img src="https://tridentstack.com/cve/badge/CVE-2023-22726.svg" alt="CVE-2023-22726"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.