{"id":"GHSA-pc99-qmg4-rcff","revision":null,"records":[{"revision":"c9bbdea24d8546c4b338c60a1490a6fb","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2023-22726","aliases":[],"title":"Unrestricted file upload leading to privilege escalation in act","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.","state":0,"publishedAt":"2023-01-20T21:02:35.083+00:00","modifiedAt":"2025-03-10T21:21:14.383+00:00","affected":[{"ecosystem":"Vendor product","name":"act","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"nektos\",\n                    \"product\": \"act\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.2.40\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8,"severity":"HIGH"}],"references":["https://github.com/nektos/act/security/advisories/GHSA-pc99-qmg4-rcff","https://github.com/nektos/act/issues/1553","https://github.com/nektos/act/commit/63ae215071f94569d910964bdee866d91d6e3a10","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://securitylab.github.com/advisories/GHSL-2023-004_act/"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-22726","license":"CVE Program Terms of Use","key":"cve-program:CVE-2023-22726","identifiers":["CVE-2023-22726"]},"retained":false,"historicalAffected":[]},{"revision":"4021a9992b3b4aa890b1e2b2f57faec2","observedAt":"2026-11-18T04:31:39.969+00:00","statement":{"source":"euvd","id":"EUVD-2023-0514","aliases":["CVE-2023-22726","GHSA-pc99-qmg4-rcff"],"title":"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 hos…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8,"severity":null}],"references":["https://github.com/nektos/act/security/advisories/GHSA-pc99-qmg4-rcff","https://github.com/nektos/act/issues/1553","https://github.com/nektos/act/commit/63ae215071f94569d910964bdee866d91d6e3a10","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://securitylab.github.com/advisories/GHSL-2023-004_act/"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-0514","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jan 20, 2023, 9:02:35 PM","dateUpdated":"Mar 10, 2025, 9:21:14 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2023-0514","identifiers":["EUVD-2023-0514","CVE-2023-22726","GHSA-pc99-qmg4-rcff"]},"retained":false,"historicalAffected":[]},{"revision":"3d5543c1b6a54ab7960df25d54439ee0","observedAt":"2026-10-24T21:17:28.488+00:00","statement":{"source":"nvd","id":"CVE-2023-22726","aliases":[],"title":"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 hos…","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.","state":0,"publishedAt":"2023-01-20T22:15:10.533+00:00","modifiedAt":"2026-06-17T05:36:02.563+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"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","https://github.com/nektos/act/security/advisories/GHSA-pc99-qmg4-rcff","https://securitylab.github.com/advisories/GHSL-2023-004_act/"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-22726","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-434","CWE-22"],"productCriteria":["cpe:2.3:a:act_project:act:*:*:*:*:*:go:*:*"],"sourceDates":{"published":"2023-01-20T22:15:10.533","lastModified":"2026-06-17T05:36:02.563"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2023-22726","identifiers":["CVE-2023-22726"]},"retained":false,"historicalAffected":[]},{"revision":"e0222198a913495ba8fa014ab98142a4","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-pc99-qmg4-rcff","aliases":["CVE-2023-22726","GO-2023-1504"],"title":"act vulnerable to arbitrary file upload in artifact server","description":"### Impact\nThe 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.\n\n\n#### Issue 1: Arbitrary file upload in artifact server (GHSL-2023-004)\nThe [/upload endpoint](https://github.com/nektos/act/blob/v0.2.35/pkg/artifacts/server.go#LL103C2-L103C2) is vulnerable to path traversal as filepath is user controlled, and ultimately flows into os.Mkdir and os.Open.\n\n```\nrouter.PUT(\"/upload/:runId\", func(w http.ResponseWriter, req *http.Request, params httprouter.Params) {\n\t\titemPath := req.URL.Query().Get(\"itemPath\")\n\t\trunID := params.ByName(\"runId\")\n\n\t\tif req.Header.Get(\"Content-Encoding\") == \"gzip\" {\n\t\t\titemPath += gzipExtension\n\t\t}\n\n\t\tfilePath := fmt.Sprintf(\"%s/%s\", runID, itemPath)\n```\n\n#### Issue 2: Arbitrary file download in artifact server (GHSL-2023-004)\nThe [/artifact endpoint](https://github.com/nektos/act/blob/v0.2.35/pkg/artifacts/server.go#L245) is vulnerable to path traversal as the path is variable is user controlled, and the specified file is ultimately returned by the server.\n\n```\nrouter.GET(\"/artifact/*path\", func(w http.ResponseWriter, req *http.Request, params httprouter.Params) {\n\t\tpath := params.ByName(\"path\")[1:]\n\n\t\tfile, err := fsys.Open(path)\n```\n\n#### Proof of Concept\nBelow I have written a Github Action that will upload secret.txt into the folder above the specified artifact directory. The first call to curl will create the directory named 1 if it does not already exist, and the second call to curl will upload the secret.txt file to the directory above the specified artifact directory.\n\nWhen testing this POC, the `--artifact-server-path` parameter must be passed to act in order to enable the artifact server.\nReplace yourIPandPort with the IP and port of the server. An attacker can enumerate /proc/net/tcp in order to find the artifact server IP and port, but this is out of the scope of this report. Please let me know if you would like a copy of this script.\n\n```\nname: CI\non: push\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n    - run: echo \"Here are some secrets\" > secret.txt\n    - run: curl http://<yourIPandPort>/upload/1?itemPath=secret.txt --upload-file secret.txt\n    - run: curl http://<yourIPandPort>/upload/1?itemPath=../../secret.txt --upload-file secret.txt\n```\n\n### Remediation\n1. During implementation of [Open and OpenAtEnd for FS](https://github.com/nektos/act/blob/master/pkg/artifacts/server.go#L65), please ensure to use ValidPath() to check against path traversal. See more here: https://pkg.go.dev/io/fs#FS\n2. Clean the user-provided paths manually\n\n### Patches\nVersion 0.2.40 contains a patch.\n\n### Workarounds\nAvoid use of artifact server with `--artifact-server-path`","state":0,"publishedAt":"2023-01-20T16:00:36+00:00","modifiedAt":"2026-09-10T03:49:51.4126664+00:00","affected":[{"ecosystem":"Go","name":"github.com/nektos/act","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.2.40"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/nektos/act/security/advisories/GHSA-pc99-qmg4-rcff","https://nvd.nist.gov/vuln/detail/CVE-2023-22726","https://github.com/nektos/act/issues/1553","https://github.com/nektos/act/commit/63ae215071f94569d910964bdee866d91d6e3a10","https://github.com/nektos/act","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/releases/tag/v0.2.40","https://securitylab.github.com/advisories/GHSL-2023-004_act"],"sourceUrl":"https://github.com/advisories/GHSA-pc99-qmg4-rcff","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-pc99-qmg4-rcff","identifiers":["GHSA-pc99-qmg4-rcff","CVE-2023-22726","GO-2023-1504"]},"retained":false,"historicalAffected":[]},{"revision":"39656e4446cc4acab2c6f2744b557723","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2023-1504","aliases":["CVE-2023-22726","GHSA-pc99-qmg4-rcff"],"title":"act vulnerable to arbitrary file upload in artifact server in github.com/nektos/act","description":"act vulnerable to arbitrary file upload in artifact server in github.com/nektos/act","state":0,"publishedAt":"2024-08-20T20:25:58+00:00","modifiedAt":"2026-03-03T04:51:19.300571+00:00","affected":[{"ecosystem":"Go","name":"github.com/nektos/act","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.2.40"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/nektos/act/security/advisories/GHSA-pc99-qmg4-rcff","https://nvd.nist.gov/vuln/detail/CVE-2023-22726","https://securitylab.github.com/advisories/GHSL-2023-004_act","https://github.com/nektos/act/commit/63ae215071f94569d910964bdee866d91d6e3a10","https://github.com/nektos/act/issues/1553","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/releases/tag/v0.2.40"],"sourceUrl":"https://osv.dev/vulnerability/GO-2023-1504","license":"OSV · upstream source license applies","key":"osv:GO-2023-1504","identifiers":["GO-2023-1504","CVE-2023-22726","GHSA-pc99-qmg4-rcff"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-19T04:24:37.1903365+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T04:24:37.1903365+00:00","lastSuccessAt":"2026-11-19T04:24:37.372166+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:37.3721666+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-0e69c6613585444f641c92f526100c36dd9cd3e99fef2d7247efc88cf506728d","complete":true,"records":428229,"lastAttemptAt":"2026-11-19T04:22:50.7413942+00:00","lastSuccessAt":"2026-11-19T04:22:50.7221018+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:22:50.7413942+00:00","snapshotPublishedAt":"2026-11-19T03:23:50+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-eed1ef18663c45929f7d7e7a714a8e59","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T04:31:06.4268449+00:00","lastSuccessAt":"2026-11-19T04:31:06.423+00:00","error":"148 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T04:31:06.423+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13703,"expectedIdentifiers":13908,"failedIdentifiers":148},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T04:24:37.1903365+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T04:24:37.1903365+00:00","lastSuccessAt":"2026-11-19T04:24:38.0697004+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:38.0697013+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-84b4b212d7ef41cb9ec24b71e9d8e5d8","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T04:24:39.3964736+00:00","lastSuccessAt":"2026-11-19T04:24:39.391+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:39.391+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T04:24:37.034158+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:37.034158+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T04:22:50.8981544+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:22:50.8981544+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-c0d9c71c6fa06d617f979e7bec0d97aca70ca5aea1558184002f8e44516f2fac","complete":true,"records":3177,"lastAttemptAt":"2026-11-19T04:24:37.1431899+00:00","lastSuccessAt":"2026-11-18T21:25:09.5127964+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:37.1431899+00:00","snapshotPublishedAt":"2026-11-18T21:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-2556fa291ec863b7fd77332e55dcff5569878e06b48ea32c182e52878cdd1ce8","complete":true,"records":232702,"lastAttemptAt":"2026-11-19T04:24:36.8996689+00:00","lastSuccessAt":"2026-11-19T04:24:35.8955272+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:36.8996689+00:00","snapshotPublishedAt":"2026-11-19T03:33:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}