CVE-2026-55576

MaaAssistantArknights: PR-title expression injection in release-preparation.yml

Published Jul 15, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability exists in the MaaAssistantArknights dev‑v2 GitHub Actions workflow. An attacker can craft a pull‑request title that begins with "Release v" to inject arbitrary shell commands into the .github/workflows/release‑preparation.yml file. When the workflow runs on pull_request opened, reopened, or ready_for_review events, the unsanitized title is inserted into a run: shell command, allowing the attacker to execute arbitrary commands on the ubuntu‑latest runner during the generate‑changelog job. This results in OS command injection (CWE‑78) and dynamic expression injection (CWE‑94), giving the attacker full control over the CI environment for that run.

Affected Systems

The flaw affects any instance of the MaaAssistantArknights project that uses the dev‑v2 workflow and includes the .github/workflows/release‑preparation.yml file before the commit that removes the injection point. Forks that allow non‑draft pull requests with titles starting with "Release v" are vulnerable until the repository is updated with the patch commit cafc3946059e6337d2089d4fec8b6885ba17c332.

Risk and Exploitability

The CVSS score of 8.8 classifies the issue as high severity. The EPSS score of less than 1% indicates a low probability of exploitation, and the flaw is not listed in CISA’s KEV catalog. However, the attack vector requires a malicious contributor to create a specific pull request, so the exposure is relatively constrained. Once exploited, the attacker would achieve complete control over the CI runner, making the potential impact substantial despite the low exploitation likelihood.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Pull the latest changes from the MaaAssistantArknights repository or apply the commit cafc3946059e6337d2089d4fec8b6885ba17c332 that sanitizes or removes the vulnerable PR‑title interpolation in release‑preparation.yml.
  • Configure branch protection on the dev‑v2 branch to require pull‑request review and restrict merge permissions, limiting who can trigger the vulnerable workflow.
  • Modify the release‑preparation.yml workflow to escape or validate the pull‑request title before it is passed to a shell command, ensuring that only safe characters are used or that the title is quoted appropriately (addressing CWE‑78 and CWE‑94).
  • Review the entire CI workflow for potential command or expression injection vulnerabilities (CWE‑78 and CWE‑94) and apply rigorous input validation to any future interactive fields.

Generated by OpenCVE AI on July 31, 2026 at 02:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Maaassistantarknights
Maaassistantarknights maaassistantarknights
Vendors & Products Maaassistantarknights
Maaassistantarknights maaassistantarknights
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title MaaAssistantArknights: PR-title expression injection in release-preparation.yml
Weaknesses CWE-78
CWE-94
References
Metrics cvssV4_0

{'score': 8.8, 'vector': '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'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 12, 2026, 6:45 PM
Reserved
Jun 16, 2026, 11:11 PM
Status
Deferred
Published
Jul 15, 2026, 10:17 PM
Modified
Aug 12, 2026, 7:17 PM