ClickMigrate has Path Traversal in "revision -m" argument
### 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
- Products
- clickmigrate
- Affected versions
- 1.0.0
- Fixed versions
- 1.0.3
- CVEs
- CVE-2026-68549
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 22:37 UTC · Revision 1
Source evidence
ClickMigrate has Path Traversal in "revision -m" argument
core-osv · Original sourcePublished 16 Oct 2026, 19:17 UTC
### 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
osv:GHSA-vgf9-9mxx-hq54
clickmigrate
Fixed versions: 1.0.3
Complete source record
{
"id": "fd3d42a1d229a7c1baef9561de966d98554b19112d3328a05dbf24ba76fc679e",
"url": "https://osv.dev/vulnerability/GHSA-vgf9-9mxx-hq54",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ClickMigrate has Path Traversal in \"revision -m\" argument",
"summary": "### 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",
"evidence": "osv:GHSA-vgf9-9mxx-hq54",
"products": [
{
"name": {
"value": "clickmigrate",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.0.3",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "1.0.0",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "low",
"structured": {
"id": "GHSA-vgf9-9mxx-hq54",
"aliases": [
"CVE-2026-68549",
"GHSA-vgf9-9mxx-hq54"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.3"
}
]
}
],
"package": {
"name": "clickmigrate",
"purl": "pkg:pypi/clickmigrate",
"ecosystem": "PyPI"
},
"versions": [
"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"
}
}
],
"modified": "2026-10-16T19:30:04.006715210Z",
"provider": "osv",
"references": [
"https://github.com/QueueForge/ClickMigrate/security/advisories/GHSA-vgf9-9mxx-hq54",
"https://github.com/QueueForge/ClickMigrate/commit/6b1f2c0202630a82252b3331aa57e64327e112b6",
"https://github.com/QueueForge/ClickMigrate"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2026-10-16T19:17:28Z"
}
},
"related_cves": [
{
"value": "CVE-2026-68549",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 347703,
"published_at": "2026-10-16T19:17:28+00:00"
}