Skip to content

Command injection in counsel-git-checkout-action #1905

@illikainen

Description

@illikainen

counsel-git-checkout-action happily executes command substitutes in
git branch names -- e.g.

$ git clone https://github.com/dyntopia/counsel-branch
$ emacs counsel-branch/test
M-x counsel-git-checkout RET RET
/bin/bash: abcd: command not found
error: pathspec 'remotes/origin/' did not match any file(s) known to git.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions