CVE-2023-22726: Unrestricted file upload leading to privilege escalation in act
Vulnerability summary
CVE-2023-22726 is a high (CVSS 8.8) vulnerability in act_project act. EPSS estimates a 1.29% chance of exploitation in the next 30 days, higher than 70.3% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 20-01-2023PublishedVulnerability first disclosed.
- 10-03-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA8.0HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · GoEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.29%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 1.26% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundAct
Maturity: poc
Ghsl 2023 004 Act
Maturity: poc
Weaknesses
CWE · root cause- CWE-434Unrestricted Upload of File with Dangerous TypeThe product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
- CWE-22Improper Limitation of a Pathname to a Restricted DirectoryThe product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Act_project1 product
- act< 0.2.40
Github.com/nektos1 product
- act< 0.2.40
Nektos1 product
- act< 0.2.40
3 vendors · 3 products
References
11 links- github.com/nektos/act/security/advisories/GHSA-pc99-qmg4-rcffX Refsource CONFIRMWEBAdvisoryExploitThird Party Advisory
- github.com/nektos/act/commit/63ae215071f94569d910964bdee866d91d6e3a10X Refsource MISCWEBFIXPatchThird Party Advisory
- github.com/nektos/actPACKAGE