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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-31479— canonical/get-workflow-version-action can leak a partial GITHUB_TOKEN in exception output

Quick assessment

Affected
canonical get-workflow-version-action
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.

get-workflow-version-action是Canonical开源的一个工具。 get-workflow-version-action 1.0.1之前版本存在日志信息泄露漏洞,该漏洞源于异常输出可能包含GITHUB_TOKEN,可能导致信息泄露。

CVSS 8.2 · High EPSS 0.58% · P46
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-31479

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
canonical/get-workflow-version-action can leak a partial GITHUB_TOKEN in exception output
Source: CVE Program / CVE List V5
Vulnerability Description
canonical/get-workflow-version-action is a GitHub composite action to get commit SHA that GitHub Actions reusable workflow was called with. Prior to 1.0.1, if the get-workflow-version-action step fails, the exception output may include the GITHUB_TOKEN. If the full token is included in the exception output, GitHub will automatically redact the secret from the GitHub Actions logs. However, the token may be truncated—causing part of the GITHUB_TOKEN to be displayed in plaintext in the GitHub Actions logs. Anyone with read access to the GitHub repository can view GitHub Actions logs. For public repositories, anyone can view the GitHub Actions logs. The opportunity to exploit this vulnerability is limited—the GITHUB_TOKEN is automatically revoked when the job completes. However, there is an opportunity for an attack in the time between the GITHUB_TOKEN being displayed in the logs and the completion of the job. Users using the github-token input are impacted. This vulnerability is fixed in 1.0.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
通过日志文件的信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
get-workflow-version-action 日志信息泄露漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
get-workflow-version-action是Canonical开源的一个工具。 get-workflow-version-action 1.0.1之前版本存在日志信息泄露漏洞,该漏洞源于异常输出可能包含GITHUB_TOKEN,可能导致信息泄露。
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
canonical get-workflow-version-action < 1.0.1 -

II. Public POCs for CVE-2025-31479

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7300 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2025-31479

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-31479

No comments yet


Leave a comment