Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-22726— Unrestricted file upload leading to privilege escalation in act

Quick assessment

Affected
nektos act
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

github act是用于在本地运行 GitHub Actions 的工具。 act 存在路径遍历漏洞,该漏洞源于不会对路径输入进行清理,导致权限升级。

CVSS 8.0 · High EPSS 1.26% · P69

Possible ATT&CK Techniques 1 AI

T1565.001 · Stored Data Manipulation
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-22726

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Unrestricted file upload leading to privilege escalation in act
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
危险类型文件的不加限制上传
Source: CVE Program / CVE List V5
Vulnerability Title
act 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
github act是用于在本地运行 GitHub Actions 的工具。 act 存在路径遍历漏洞,该漏洞源于不会对路径输入进行清理,导致权限升级。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
nektos act < 0.2.40 -

II. Public POCs for CVE-2023-22726

# POC Description Source Link Shenlong Link
1 CVE-2023-22726 https://github.com/ProxyPog/POC-CVE-2023-22726 POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-22726

请登录查看更多情报信息。

Patches & Fixes for CVE-2023-22726 (1)

Vendor Advisories for CVE-2023-22726 (1)

Other References for CVE-2023-22726 (5)

IV. Related Vulnerabilities

V. Comments for CVE-2023-22726

No comments yet


Leave a comment