Severity:

CRITICAL RISK

(9.1)

Improper Input Validation (CWE-20) in Claude Code Directory Protection Logic

CVE-2026-25722

Published:

Feb 6, 2026

Status:

Analyzed

Summary

Affected Context

Exploit Preconditions

Why This Happens

Potential Impact

General Mitigation Guidance

How Teams Detect Issues Like This

Frequently Asked Questions

Source

NDV

Vulnerability Type

Vulnerability Type

Category:

Improper Input Validation

CWE:

CWE-20;CWE-78

Impact:

Unauthorized File Creation and Modification in Protected Directories

Severity:

CRITICAL RISK

(9.1)

CVSS Version:

3.1

Vulnerability Type

Category:

Improper Input Validation

CWE:

CWE-20;CWE-78

Impact:

Unauthorized File Creation and Modification in Protected Directories

Severity:

CRITICAL RISK

(9.1)

CVSS Version:

3.1

Catch This CVE While Code Is Being Written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.