{
  "id": "ghsl-2025-091",
  "title": "GitHub Security Lab AI agent helps find code injection in Ansys PyMAPDL workflow",
  "product": "ansys/pymapdl",
  "ai_system": "GitHub Security Lab AI agent and CodeQL",
  "organization": "GitHub Security Lab",
  "summary": "The migrator.yml workflow interpolates a pull request comment body into JavaScript in a privileged GitHub Actions context, risking command execution and secret exposure.",
  "ai_role": "GHSL credits CodeQL and its AI agent and reports the finding to Ansys on 2025-08-04; the maintainer fixed it 2025-08-05. The source does not isolate which contributor identified it first.",
  "disclosure_date": "2025-09-02",
  "ai_attribution_date": "2025-09-02",
  "classification": "disclosure",
  "classification_note": "The public advisory documents the vulnerability and disclosure/remediation status. It does not claim exploitation in the wild.",
  "cves": [],
  "source_url": "https://securitylab.github.com/advisories/GHSL-2025-091_ansys_pymapdl/",
  "ai_source_url": "https://securitylab.github.com/advisories/GHSL-2025-091_ansys_pymapdl/",
  "remediation": "fix documented",
  "remediation_note": "Maintainer fixed the issue 2025-08-05. No CVE was established in this advisory.",
  "advisory_url": "https://securitylab.github.com/advisories/GHSL-2025-091_ansys_pymapdl/",
  "checked_date": "2026-11-14",
  "impacts": [
    {
      "cves": [],
      "consequences": [
        "code execution",
        "data disclosure",
        "data modification"
      ],
      "conditions": "An issue commenter can trigger code injection in the privileged migrator workflow. The workflow has contents:write permission and uses sensitive secrets, including PYANSYS_CI_BOT_TOKEN.",
      "exploitation": "Exploitation in the wild is not established by the cited description.",
      "source_url": "https://securitylab.github.com/advisories/GHSL-2025-091_ansys_pymapdl/",
      "checked_date": "2026-11-16"
    }
  ]
}
