Security Advisory CVE-2026-35021: Kerentanan pada Claude Code
Summary
A vulnerability identified as CVE-2026-35021 has been discovered in Claude Code CLI and Claude Agent SDK developed by Anthropic. This flaw allows an attacker to perform arbitrary command execution on the affected system.
Affected Products
- Claude Code CLI ≤ 2.1.91
- Claude Agent SDK for Python ≤ 0.1.55
Technical Details
The vulnerability exists due to file path manipulation containing shell metacharacters. File paths are passed into system commands without adequate validation, causing POSIX shells to execute embedded command syntax such as $() or backticks.
Impact
An attacker can exploit this issue to execute malicious commands under the security context of the user running the application, potentially leading to full system compromise or misuse.
Mitigation
- Immediately update Claude Code CLI and Claude Agent SDK to the latest versions as soon as official patches are released.
- Implement strict input validation and sanitization against special characters such as
$()and backticks when handling file paths.
References
- Security Advisory CVE-2026-35021
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.