Skip to content
Heist/ feed
Back to feed
Medium

Logto: OS command injection vulnerability exists in the Commitlint workflow

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-63187
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:19 UTC · Revision 1

Source evidence

Logto: OS command injection vulnerability exists in the Commitlint workflow

core-osv · Original source

Published 19 Aug 2026, 19:49 UTC

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.

osv:CVE-2026-63187
Complete source record
{
  "id": "b1bda305aac2896632f36e16322b85fe5c0c8cbc13cb719ae5aef4ebc55e35b0",
  "url": "https://osv.dev/vulnerability/CVE-2026-63187",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Logto: OS command injection vulnerability exists in the Commitlint workflow",
    "summary": "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.",
    "evidence": "osv:CVE-2026-63187",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-63187",
      "aliases": [
        "CVE-2026-63187",
        "GHSA-869c-8mm3-w5cj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/logto-io/logto",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3308305440d7e5fa964f67a63009c79f16c49da9"
                },
                {
                  "fixed": "91e55698a42f99438cd41ec2b16a1fc51dbdab8a"
                },
                {
                  "fixed": "4a1cab21c14d26d288ffffc509cc2a8cae247b92"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.40.1"
                      },
                      {
                        "fixed": "1.41.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4a1cab21c14d26d288ffffc509cc2a8cae247b92"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "91e55698a42f99438cd41ec2b16a1fc51dbdab8a"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.41.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "@logto/connector-smtp2go-email@1.0.0",
            "v1.40.1",
            "@logto/tunnel@0.3.8",
            "@logto/translate@0.2.14",
            "@logto/phrases-experience@1.13.3",
            "@logto/core@1.40.1",
            "@logto/core-kit@2.10.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63187.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.646779953Z",
      "provider": "osv",
      "references": [
        "https://github.com/logto-io/logto/releases/tag/v1.41.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63187.json",
        "https://github.com/logto-io/logto/security/advisories/GHSA-869c-8mm3-w5cj",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-63187",
        "https://github.com/logto-io/logto/commit/4a1cab21c14d26d288ffffc509cc2a8cae247b92",
        "https://github.com/logto-io/logto/pull/9112"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63187.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-63187",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521286,
  "published_at": "2026-08-19T19:49:34.75+00:00"
}