MaaAssistantArknights
CVE-2026-55576
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFork repo and open non-draft PR
-
DeliverySet title 'Release v' + shell payload
-
Exploitpull_request event triggers changelog job
-
ExecutionTitle expanded into run: sed pipeline
-
PersistCommands execute on ubuntu-latest runner
-
ImpactExfiltrate job secrets or abuse CI
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to open a pull request from a fork (github.event.pull_request) that is NOT a draft (draft false) and whose title begins with the literal prefix 'Release v', which is the exact startsWith(...) guard on the vulnerable job; the payload is embedded in the PR title using shell metacharacters (backticks or $(...)). The trigger events are pull_request opened, reopened, and ready_for_review on the dev-v2 workflow. Limiting factors: the vulnerable workflow only exists in the dev-v2 configuration, the runner token for fork PRs is read-only (bounding what stolen credentials achieve), and GitHub typically requires maintainer approval before running workflows for first-time fork contributors, so a brand-new account may not get automatic execution. Post-fix, the fork guard github.event.pull_request.head.repo.full_name github.repository makes fork PRs ineligible entirely. |
| Impact | The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L, base 8.8) reflects network-reachable, low-complexity, unauthenticated code execution on the runner with high integrity impact and lower confidentiality/availability impact - consistent with the fork PR token being read-only, which caps data theft. The PR:N/UI:N rating should be tempered: GitHub commonly requires maintainer approval to run workflows for first-time fork contributors, which functions as real-world attacker friction not captured in the vector, so treat exploitation as low-effort-but-gated rather than fully drive-by. There is no EPSS score in the input to corroborate exploitation likelihood, no KEV listing, and no POC signal, so this is a genuinely high-severity, easily-understood bug rather than a confirmed in-the-wild threat. Because impact is limited to one project's CI runner (not to downstream users of the tool), organizational blast radius is narrow unless the runner had access to meaningful secrets. |
| Exploit ScenarioDerived | An attacker forks the repository and opens a non-draft pull request titled |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
GitHub Actions expression injection in MaaAssistantArknights' dev-v2 CI (release-preparation.yml) lets an external attacker execute arbitrary shell commands on the ubuntu-latest runner by opening a non-draft fork pull request whose title begins with 'Release v'. The attacker-controlled pull_request.title was inlined directly into a run: block during opened, reopened, and ready_for_review events, so a crafted title breaks out of the sed command in the generate-changelog job. No public exploit has been identified at time of analysis and it is not in CISA KEV, but the class is trivially weaponizable and the fix commit (cafc3946) is public. EPSS was not provided.
RemediationAI
Upstream fix available (commit cafc3946059e6337d2089d4fec8b6885ba17c332); no packaged release version applies since the change is to CI workflow files, so downstream users of the tool need take no action and repository maintainers should ensure dev-v2/default branches have merged this commit. The fix applies two independent controls: it moves untrusted values (PR_TITLE, PR_URL, TAG_NAME, LATEST, etc.) into env: variables referenced as quoted shell variables ("$PR_TITLE") instead of inlining ${{ }} into run:, and it adds a fork guard if: github.event.pull_request.head.repo.full_name == github.repository so the automation short-circuits for fork PRs whose tokens are read-only anyway. If immediate merging is not possible, compensating controls are: disable or gate the release-preparation.yml triggers on pull_request opened/reopened/ready_for_review (trade-off: breaks automatic changelog generation), require approval for all outside-contributor workflow runs in repository Actions settings (trade-off: adds maintainer toil), or manually apply the env-var pattern to any remaining run: step that references github.event data. See GHSA-pqx2-5g66-f5w8 for the advisory.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-78 (OS Command Injection) realized through the GitHub Actions template-expansion mechanism. GitHub evaluates ${{ ... }} expressions and substitutes their literal text into the shell script of a run: step BEFORE the shell executes, so any expression carrying untrusted data (here github.event.pull_request.title) is concatenated into the command line rather than passed as data. In the vulnerable release-preparation.yml the title fed a tag_name=$(echo "${{ github.event.pull_request.title }}" | sed ...) pipeline, so shell metacharacters such as backticks or $(...) in the title are interpreted by bash on the runner. The single affected product per CPE is cpe:2.3:a:maaassistantarknights:maaassistantarknights, an open-source one-click automation tool for the game Arknights, and the exposure is confined to its own CI/CD pipeline on GitHub-hosted Ubuntu runners rather than to any installed copy of the desktop tool.
Know when Maaassistantarknights gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
Remotely reachable via a crafted fork-PR title (AV:N/AC:L/PR:N), but GitHub's first-contributor workflow-approval gate warrants UI:R; runner integrity is high while the read-only fork token limits confidentiality and availability.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
MaaAssistantArknights is a one-click tool for daily Arknights tasks. In the current dev-v2 workflow, .github/workflows/release-preparation.yml inlined attacker-controlled github.event.pull_request.title into a run: shell command during the pull_request opened, reopened, and ready_for_review events, so a non-draft fork PR whose title starts with Release v could execute shell commands on the ubuntu-latest runner during the generate-changelog job. This vulnerability is fixed by commit cafc3946059e6337d2089d4fec8b6885ba17c332.
Executive ViewAI
MaaAssistantArknights' GitHub Actions CI pipeline contains an expression injection vulnerability that allows external attackers to execute arbitrary shell commands during builds by opening pull requests with crafted titles. This threatens build artifact integrity, exposes build-time secrets, and creates supply chain compromise risk. Although no public exploit has been identified at time of analysis, the vulnerability is trivially weaponizable and requires immediate defensive action.
Until a vendor patch is released: restrict pull_request and pull_request_target event triggers to exclude fork-originated pull requests and limit to branches you directly control; refactor GitHub Actions workflows to use environment variables and official context objects instead of string interpolation with user-controlled data; implement mandatory approval gates before executing any release preparation or build modification jobs; enable GitHub branch protection rules requiring code review for all changes to workflow files.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB