GHSA-vgf9-9mxx-hq54: Path Traversal

Published Oct 16, 2026
·
Updated

Impact A path traversal vulnerability in the revision command allowed a crafted migration name supplied via the -m argument to escape the intended migrations directory.

Under specific conditions, an attacker could cause the tool to create a .sql file in an arbitrary location writable by the user executing the command.

This issue is only exploitable if an attacker can influence the migration name passed to the revision command, such as through an insecure automation or CI/CD pipeline that forwards untrusted input.

Patches The vulnerability has been fixed in version 1.0.3 by validating and sanitizing the migration name to prevent directory traversal.

Users should upgrade to version 1.0.3 or later.

Workarounds Do not pass untrusted input to the revision -m argument.

If upgrading is not immediately possible, ensure that only trusted users or automation can invoke the revision command and that migration names are validated before being passed to the tool.

References - Fix commit: https://github.com/QueueForge/ClickMigrate/commit/6b1f2c0202630a82252b3331aa57e64327e112b6

Affected Software

1 affected componentFixes available
pip/ClickMigrate<1.0.3
1.0.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/ClickMigrate to a version that resolves this vulnerability.

    Fixed in 1.0.3
  2. Upgrade

    Upgrade QueueForge/ClickMigrate to a version that resolves this vulnerability.

    Fixed in 1.0.3
  3. Compensating control

    Do not pass untrusted input to the revision -m argument; restrict invocation of the revision command to trusted users or automation, and validate migration names before passing them to the tool.

Event History

Oct 16, 2026
Advisory Published
via GitHub·07:17 PM
Data Sourced
via GitHub·07:17 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is realistically exposed to exploitation?

Exposure requires an attacker to influence the migration name supplied to the revision command's -m argument. This can occur in insecure automation or CI/CD pipelines that forward untrusted input to the command.

2

What can an attacker do if they exploit this issue?

A crafted migration name can traverse outside the intended migrations directory and cause creation of a .sql file in an arbitrary location writable by the user running the command. The issue does not provide the ability to write where that executing user lacks permission.

3

Are normal local uses affected by default?

The issue is only exploitable when untrusted input can reach revision -m. Environments where trusted users supply migration names directly are not exposed through that input path.

4

What should be done if an upgrade cannot happen immediately?

Do not pass untrusted input to revision -m. Restrict invocation of the revision command to trusted users or automation, and validate migration names before passing them to the tool.

5

Which version contains the fix?

The vulnerability is fixed in version 1.0.3. Upgrade to version 1.0.3 or later.

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