{"id":"CVE-2026-68549","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-68549","summary":"ClickMigrate has Path Traversal in \"revision -m\" argument","details":"### Impact\nA path traversal vulnerability in the `revision` command allowed a crafted migration name supplied via the `-m` argument to escape the intended migrations directory.\n\nUnder specific conditions, an attacker could cause the tool to create a `.sql` file in an arbitrary location writable by the user executing the command.\n\nThis 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.\n\n### Patches\nThe vulnerability has been fixed in version 1.0.3 by validating and sanitizing the migration name to prevent directory traversal.\n\nUsers should upgrade to version 1.0.3 or later.\n\n### Workarounds\nDo not pass untrusted input to the `revision -m` argument.\n\nIf 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.\n\n### References\n- Fix commit: https://github.com/QueueForge/ClickMigrate/commit/6b1f2c0202630a82252b3331aa57e64327e112b6","published":"2026-10-16T19:17:28Z","modified":"2026-10-16T19:30:04.006715210Z","cvss":{"score":3.3,"severity":"LOW","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"clickmigrate","fixedVersion":"1.0.3"}],"fix":{"url":"https://github.com/QueueForge/ClickMigrate/commit/6b1f2c0202630a82252b3331aa57e64327e112b6","label":"QueueForge/ClickMigrate@6b1f2c0"},"references":[{"type":"WEB","url":"https://github.com/QueueForge/ClickMigrate/security/advisories/GHSA-vgf9-9mxx-hq54"},{"type":"WEB","url":"https://github.com/QueueForge/ClickMigrate/commit/6b1f2c0202630a82252b3331aa57e64327e112b6"},{"type":"PACKAGE","url":"https://github.com/QueueForge/ClickMigrate"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-16T19:30:04.006715210Z"}}