@anthropic-ai/claude-code@2.0.69 vulnerabilities

Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you.

  • latest version

    2.1.39

  • latest non vulnerable version

  • first published

    11 months ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @anthropic-ai/claude-code package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    UNIX Symbolic Link (Symlink) Following

    @anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you.

    Affected versions of this package are vulnerable to UNIX Symbolic Link (Symlink) Following via the file access process. An attacker can access restricted files by leveraging symbolic links to bypass deny rules configured in settings.json.

    How to fix UNIX Symbolic Link (Symlink) Following?

    Upgrade @anthropic-ai/claude-code to version 2.1.7 or higher.

    <2.1.7
    • H
    Arbitrary Code Injection

    @anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you.

    Affected versions of this package are vulnerable to Arbitrary Code Injection via the find command parsing process. An attacker can execute arbitrary commands by injecting untrusted content into the context window, bypassing the user approval prompt.

    How to fix Arbitrary Code Injection?

    Upgrade @anthropic-ai/claude-code to version 2.0.72 or higher.

    <2.0.72
    • H
    Directory Traversal

    @anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you.

    Affected versions of this package are vulnerable to Directory Traversal via the ZSH clobber syntax. An attacker can write arbitrary files outside the intended directory by injecting untrusted content into the context window while the user is operating in a ZSH environment.

    Note:

    This is only exploitable if the user is using ZSH and allows untrusted content to be added to the context window.

    How to fix Directory Traversal?

    Upgrade @anthropic-ai/claude-code to version 2.0.74 or higher.

    <2.0.74