CVE-2023-22726Act Project Act
High 8.8
Follow: this CVE · Act Project · Act Project Act We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- Yes
- Published
- Jan 20, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Act.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/nektos/act |
< 0.2.40 |
0.2.40 |
go get github.com/nektos/act@v0.2.40 |
| Go | github.com/nektos/act |
< 0.2.40 |
0.2.40 |
go get github.com/nektos/act@v0.2.40 |
Per OSV / GitHub Advisories (GHSA-pc99-qmg4-rcff, GO-2023-1504). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| act_project | act | < 0.2.40 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Issue Tracking Third Party Advisory
- github.com Exploit Third Party Advisory
- securitylab.github.com Exploit Third Party Advisory