GHSA-vgf9-9mxx-hq54

Suggest an improvement
Source
https://github.com/advisories/GHSA-vgf9-9mxx-hq54
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-vgf9-9mxx-hq54/GHSA-vgf9-9mxx-hq54.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vgf9-9mxx-hq54
Aliases
  • CVE-2026-68549
Published
2026-10-16T19:17:28Z
Modified
2026-10-16T19:30:04Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
ClickMigrate has Path Traversal in "revision -m" argument
Details

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

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-10-16T19:17:28Z",
    "nvd_published_at":  null,
    "severity":  "LOW"
}
References

Affected packages

PyPI / clickmigrate

Package

Name
clickmigrate
View open source insights on deps.dev
Purl
pkg:pypi/clickmigrate

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.3

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-vgf9-9mxx-hq54/GHSA-vgf9-9mxx-hq54.json"