Anthropic Claude Code < 2.1.7 Permission Deny Bypass Through Symbolic Links (CVE-2026-25724)

medium Nessus Plugin ID 305984

Synopsis

An application installed on the remote host is affected by a permission bypass vulnerability.

Description

The version of Anthropic Claude Code installed on the remote host is prior to 2.1.7. It is, therefore, affected by a permission bypass vulnerability.

Claude Code failed to strictly enforce deny rules configured in settings.json when accessing files through symbolic links. If a user explicitly denied Claude Code access to a file such as /etc/passwd and Claude Code had access to a symbolic link pointing to that file, it was possible for Claude Code to read the restricted file through the symlink without triggering deny rule enforcement. (CVE-2026-25724)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade Anthropic Claude Code to version 2.1.7 or later.

See Also

http://www.nessus.org/u?8df81552

Plugin Details

Severity: Medium

ID: 305984

File Name: anthropic_claude_code_CVE-2026-25724.nasl

Version: 1.1

Type: Local

Agent: unix

Family: Misc.

Published: 4/10/2026

Updated: 4/10/2026

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-25724

CVSS v3

Risk Factor: Medium

Base Score: 5

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Vulnerability Information

CPE: cpe:/a:anthropic:claude_code

Required KB Items: installed_sw/Anthropic Claude Code

Patch Publication Date: 2/6/2026

Vulnerability Publication Date: 2/6/2026

Reference Information

CVE: CVE-2026-25724

IAVA: 2026-A-0304