csirt@kutim:~/threat-intel/cve/CVE-2026-40068

Katalog CVE

CVSS 8.8 · High EPSS 0,56%

Kerentanan Improper Input Validation pada anthropic claude code. Skor CVSS 3.1 8.8 (High) menurut NVD.

Deskripsi (NVD)

In versions 2.1.63 through 2.1.83 of Claude Code, the folder trust determination logic used the git worktree commondir file without validating its contents. An attacker could craft a malicious repository with a commondir file pointing to a path the victim had previously trusted, causing Claude Code to bypass its trust confirmation dialog and immediately execute hooks defined in `.claude/settings.json`. Exploitation requires the victim to clone the malicious repository and run Claude Code within it, and the attacker must know or guess a path the victim had already trusted. This issue has been fixed in version 2.1.84.

Rincian

Terbit di NVD
5 Mei 2026
Terakhir diubah
24 Juli 2026
Status NVD
Analyzed
CVSS 3.1
8.8 (High), sumber NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H · uraikan di kalkulator
Jenis kelemahan (CWE)
CWE-20: Improper Input Validation
CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
EPSS (30 hari)
0,56% peluang dieksploitasi; lebih tinggi dari 45,2% CVE lain

Produk dan versi terdampak

VendorProdukVersi terdampak
anthropic claude code Versi 2.1.63 hingga sebelum 2.1.84

> Data dari konfigurasi CPE di NVD.

Referensi dan perbaikan

Sumber: NVD · CVE.org · EPSS. Halaman ini disusun otomatis dari data tersebut; pembaruan terakhir 5 Okt 2026, 20:11 WITA. Kalau sistem di Perangkat Daerah memakai produk ini dan butuh bantuan, laporkan lewat kanal pelaporan.