CVE-2026-63187: Logto: OS command injection vulnerability exists in the Commitlint workflow

Published Aug 19, 2026
·
Updated

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.pullrequest.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 pullrequest trigger used a read-only GITHUBTOKEN 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.

Affected Software

2 affected components
Logto Logto>=1.40.1<1.41.0
Logto Logto=1.41.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Logto to a version that resolves this vulnerability.

    Fixed in 1.41.0

Event History

Aug 19, 2026
CVE Published
via MITRE·07:49 PM
Data Sourced
via MITRE·07:49 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which repositories are exposed?

Repositories using the affected Logto Commitlint GitHub Actions workflow are exposed when a pull request triggers that workflow. The affected versions are 1.40.1 through versions before 1.41.0.

2

What does an attacker need to exploit this issue?

An attacker needs to cause a pull request workflow run with a crafted pull request title. A single quote in the title can terminate the inline echo string and allow additional shell commands to be appended.

3

Are repository secrets or write-capable tokens exposed?

No. The pull_request trigger used a read-only GITHUB_TOKEN and did not expose repository secrets. However, injected commands can alter or disrupt the ephemeral GitHub Actions runner execution.

4

What should be done if the workflow cannot be updated immediately?

Avoid running the affected Commitlint workflow on pull requests with untrusted titles until the workflow is updated. The issue is fixed in Logto version 1.41.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203