All vulnerabilities
CVE-2026-68549GHSA-vgf9-9mxx-hq54

ClickMigrate has Path Traversal in "revision -m" argument

ClickMigratepipLibraries & packages
CVSS
3.3Low
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
Fixed in1.0.3Fixed versionGitHub
Published16 Oct 2026Updated 16 Oct 2026GitHub

What fixes it

  • 1.0.3ClickMigrate, pipGitHub
  • 1.0.3clickmigrate, PyPIOSVpip install "clickmigrate>=1.0.3"

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

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

Text from GitHub Advisory Database

Affected versions 3

  • ClickMigrate, pip< 1.0.3GitHub
  • clickmigrate, PyPIfrom first release, fixed in 1.0.3OSV
  • clickmigrate, PyPI1.0.0OSV

References 3