Arbitrary file upload in Nektos Act
CVE-2023-22726
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 ho…
Vulnerability class: Unrestricted File Upload
EPSS: 0.015 (81.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Nektos Act — versions < 0.2.40
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/nektos/act/security/advisories/GHSA-pc99-qmg4-rcff (x_refsource_CONFIRM)
- https://github.com/nektos/act/issues/1553 (x_refsource_MISC)
- https://github.com/nektos/act/commit/63ae215071f94569d910964bdee866d91d6e3a10 (x_refsource_MISC)
- https://github.com/nektos/act/blob/master/pkg/artifacts/server.go#L65 (x_refsource_MISC)
- https://github.com/nektos/act/blob/v0.2.35/pkg/artifacts/server.go#L245 (x_refsource_MISC)
- https://github.com/nektos/act/blob/v0.2.35/pkg/artifacts/server.go#LL103C2-L103C2 (x_refsource_MISC)
- https://securitylab.github.com/advisories/GHSL-2023-004_act/ (x_refsource_MISC)
Frequently asked questions
- What is CVE-2023-22726?
- CVE-2023-22726 is a high-severity vulnerability in Nektos Act, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.0/10. Published 2023-01-20.
- How severe is CVE-2023-22726?
- High severity. CVSS v3 base score is 8.0 out of 10.
- Is CVE-2023-22726 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.