Description
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.
Published: 2026-08-19
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Logto’s Commitlint workflow interpolated the raw GitHub pull request title into a shell echo command before piping it to commitlint. A title with a single quote could terminate the echo string and append arbitrary shell commands to the GitHub Actions runner. Although the runner used a read‑only GITHUB_TOKEN and did not expose repository secrets, injected commands could still alter or disrupt the temporary workflow execution. The vulnerability is classified as a code injection flaw (CWE‑94).

Affected Systems

The affected product is Logto open‑source auth infrastructure, vendor logto-io:logto. Versions from 1.40.1 up to but not including 1.41.0 contain the flaw. Logto 1.41.0 and later include the fix.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. EPSS is not available, and the issue is not listed in CISA KEV. The attacker would need to submit a pull request to a repository using the vulnerable Logto workflow; the pull request title can be crafted to inject shell code. Execution occurs on the GitHub Actions runner, so while it cannot directly compromise secrets, it can interrupt or modify the CI pipeline, potentially leading to broader disruption if additional steps in the workflow rely on the compromised conditions.

Generated by OpenCVE AI on August 20, 2026 at 11:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Logto to version 1.41.0 or later to eliminate the vulnerability.
  • Modify the .github/workflows/commitlint.yml file to sanitize or escape the pull_request.title value before passing it to the echo command (for example, use shell quoting or an escape script).
  • Implement a repository policy that rejects pull request titles containing shell metacharacters or enforce automated checks to validate PR titles before merging.

Generated by OpenCVE AI on August 20, 2026 at 11:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 25 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 19 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Logto-io
Logto-io logto
Vendors & Products Logto-io
Logto-io logto

Wed, 19 Aug 2026 20:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Logto: OS command injection vulnerability exists in the Commitlint workflow
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-25T14:00:02.109Z

Reserved: 2026-07-15T22:13:00.721Z

Link: CVE-2026-63187

cve-icon Vulnrichment

Updated: 2026-08-25T13:59:58.104Z

cve-icon NVD

Status : Received

Published: 2026-08-19T20:17:20.063

Modified: 2026-08-25T14:16:53.060

Link: CVE-2026-63187

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T12:00:04Z

Weaknesses
  • CWE-94

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