CVE-2023-22726

Summary

CVECVE-2023-22726
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-01-20 22:15:00 UTC
Updated2023-02-03 15:56:00 UTC
Descriptionact 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.

Risk And Classification

Problem Types: CWE-22

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Act Project Act All All All All

References

ReferenceSourceLinkTags
fix: update artifact server to address GHSL-2023-004 (#1565) · nektos/act@63ae215 · GitHub MISC github.com
act/server.go at v0.2.35 · nektos/act · GitHub MISC github.com
act/server.go at master · nektos/act · GitHub MISC github.com
Github Security Lab: GHSL-2023-004 · Advisory · nektos/act · GitHub MISC github.com
Github Security Lab: GHSL-2023-004 · Issue #1553 · nektos/act · GitHub MISC github.com
act/server.go at v0.2.35 · nektos/act · GitHub MISC github.com
GHSL-2023-004: Arbitrary file upload and download in act - CVE-2023-22726 | GitHub Security Lab MISC securitylab.github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report