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.
Published: 2026-07-15
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Thu, 23 Jul 2026 22:45:00 +0000

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

Sat, 18 Jul 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 15 Jul 2026 21:30:00 +0000

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'}


Subscriptions

Maaassistantarknights Maaassistantarknights
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-18T02:28:48.423Z

Reserved: 2026-06-16T23:11:20.214Z

Link: CVE-2026-55576

cve-icon Vulnrichment

Updated: 2026-07-18T02:28:44.572Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T02:45:04Z

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')