{"cve":"CVE-2023-22726","nvd":{"published":"2023-01-20T22:15:10.533","modified":"2026-06-17T05:36:02.563","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-22","CWE-434"],"references":["https://github.com/nektos/act/blob/master/pkg/artifacts/server.go#L65","https://github.com/nektos/act/blob/v0.2.35/pkg/artifacts/server.go#L245","https://github.com/nektos/act/blob/v0.2.35/pkg/artifacts/server.go#LL103C2-L103C2","https://github.com/nektos/act/commit/63ae215071f94569d910964bdee866d91d6e3a10","https://github.com/nektos/act/issues/1553"],"products":["act_project:act"],"source":"nvd","synced_at":"2026-10-19T21:37:34.931465858+00:00"},"epss":{"cve":"CVE-2023-22726","score":0.01292,"percentile":0.70279,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-pc99-qmg4-rcff","url":"https://osv.dev/vulnerability/GHSA-pc99-qmg4-rcff","summary":"act vulnerable to arbitrary file upload in artifact server","modified":"2026-09-10T03:49:51.412666365Z","packages":[{"ecosystem":"Go","name":"github.com/nektos/act","purl":"pkg:golang/github.com/nektos/act","ranges":["<0.2.40"],"fixed":["0.2.40"]}]},{"id":"GO-2023-1504","url":"https://osv.dev/vulnerability/GO-2023-1504","summary":"act vulnerable to arbitrary file upload in artifact server in github.com/nektos/act","modified":"2026-03-03T04:51:19.300571Z","packages":[{"ecosystem":"Go","name":"github.com/nektos/act","purl":"pkg:golang/github.com/nektos/act","ranges":["<0.2.40"],"fixed":["0.2.40"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}