{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.40.1"
              },
              {
                "fixed": "1.41.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "3308305440d7e5fa964f67a63009c79f16c49da9"
            },
            {
              "fixed": "4a1cab21c14d26d288ffffc509cc2a8cae247b92"
            },
            {
              "fixed": "91e55698a42f99438cd41ec2b16a1fc51dbdab8a"
            }
          ],
          "repo": "https://github.com/logto-io/logto",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-869c-8mm3-w5cj"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63187.json"
  },
  "details": "Logto is the modern, open-source auth infrastructure for SaaS and AI apps. From 1.40.1 until 1.41.0, Logto's .github/workflows/commitlint.yml directly interpolated github.event.pull_request.title into the Commitlint on PR title step's inline echo command before piping the title to npx commitlint. A pull request title containing a single quote could terminate the echo string and append arbitrary shell commands on the GitHub Actions runner. The pull_request trigger used a read-only GITHUB_TOKEN and did not expose repository secrets, but injected commands could alter or disrupt the ephemeral workflow execution. This issue is fixed in version 1.41.0.",
  "id": "CVE-2026-63187",
  "modified": "2026-09-11T03:30:37.489168273Z",
  "published": "2026-08-19T19:49:34.750Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/logto-io/logto/releases/tag/v1.41.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63187.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/logto-io/logto/security/advisories/GHSA-869c-8mm3-w5cj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-63187"
    },
    {
      "type": "FIX",
      "url": "https://github.com/logto-io/logto/commit/4a1cab21c14d26d288ffffc509cc2a8cae247b92"
    },
    {
      "type": "FIX",
      "url": "https://github.com/logto-io/logto/pull/9112"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Logto: OS command injection vulnerability exists in the Commitlint workflow"
}