📧 info@ciso.sa | 📱 +966550939344 | Riyadh, Kingdom of Saudi Arabia
🔧 Scheduled Maintenance — Saturday 2:00-4:00 AM AST. Some features may be temporarily unavailable.    ●   
💎
Pro Plan 50% Off Unlock all AI features, unlimited reports, and priority support. Upgrade
Search Center
ESC to close
Global general Technology and Artificial Intelligence MEDIUM 1h Global general Technology and Artificial Intelligence HIGH 2h Global vulnerability Higher Education CRITICAL 11h Global data_breach Government HIGH 12h Global supply_chain Software Development and Open Source Communities CRITICAL 12h Global malware Software Development CRITICAL 12h Global phishing Multiple Sectors HIGH 13h Global vulnerability Web Applications CRITICAL 13h Global apt Critical Infrastructure CRITICAL 13h Global ransomware Multiple sectors CRITICAL 14h Global general Technology and Artificial Intelligence MEDIUM 1h Global general Technology and Artificial Intelligence HIGH 2h Global vulnerability Higher Education CRITICAL 11h Global data_breach Government HIGH 12h Global supply_chain Software Development and Open Source Communities CRITICAL 12h Global malware Software Development CRITICAL 12h Global phishing Multiple Sectors HIGH 13h Global vulnerability Web Applications CRITICAL 13h Global apt Critical Infrastructure CRITICAL 13h Global ransomware Multiple sectors CRITICAL 14h Global general Technology and Artificial Intelligence MEDIUM 1h Global general Technology and Artificial Intelligence HIGH 2h Global vulnerability Higher Education CRITICAL 11h Global data_breach Government HIGH 12h Global supply_chain Software Development and Open Source Communities CRITICAL 12h Global malware Software Development CRITICAL 12h Global phishing Multiple Sectors HIGH 13h Global vulnerability Web Applications CRITICAL 13h Global apt Critical Infrastructure CRITICAL 13h Global ransomware Multiple sectors CRITICAL 14h
Vulnerabilities

CVE-2026-21852

High
Claude Code is an agentic coding tool. Prior to version 2.0.65, vulnerability in Claude Code's project-load flow allowed malicious repositories to exfiltrate data including Anthropic API keys before u
CWE-522 — Weakness Type
Published: Jan 21, 2026  ·  Modified: Feb 28, 2026  ·  Source: NVD
CVSS v3
7.5
🔗 NVD Official
📄 Description (English)

Claude Code is an agentic coding tool. Prior to version 2.0.65, vulnerability in Claude Code's project-load flow allowed malicious repositories to exfiltrate data including Anthropic API keys before users confirmed trust. An attacker-controlled repository could include a settings file that sets ANTHROPIC_BASE_URL to an attacker-controlled endpoint and when the repository was opened, Claude Code would read the configuration and immediately issue API requests before showing the trust prompt, potentially leaking the user's API keys. Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to version 2.0.65, which contains a patch, or to the latest version.

🤖 AI Executive Summary

Claude Code versions prior to 2.0.65 contain a critical credential exposure vulnerability where malicious repositories can exfiltrate Anthropic API keys before users confirm trust. The vulnerability exploits the project-load flow by manipulating configuration files to redirect API requests to attacker-controlled endpoints. This poses significant risk to Saudi organizations using Claude Code for development, particularly those integrating AI-assisted coding into their software development pipelines.

📄 Description (Arabic)

🤖 AI Intelligence Analysis Analyzed: May 3, 2026 19:27
🇸🇦 Saudi Arabia Impact Assessment
Saudi financial institutions (SAMA-regulated banks) and government agencies (NCA oversight) using Claude Code for development face direct risk of API credential compromise, potentially leading to unauthorized access to AI services and data exfiltration. Technology companies, telecommunications providers (STC, Mobily), and energy sector organizations (ARAMCO subsidiaries) developing software with Claude Code integration are at elevated risk. The vulnerability could enable supply chain attacks targeting Saudi software development practices, particularly affecting organizations adopting AI-assisted development tools without proper security controls.
🏢 Affected Saudi Sectors
Banking and Financial Services Government and Public Administration Technology and Software Development Telecommunications Energy and Utilities Healthcare Education and Research
⚖️ Saudi Risk Score (AI)
8.2
/ 10.0
🔧 Remediation Steps (English)
IMMEDIATE ACTIONS:
1. Audit all Claude Code installations across development teams to identify versions prior to 2.0.65
2. Revoke all Anthropic API keys that may have been exposed or used with vulnerable Claude Code versions
3. Disable Claude Code auto-update if not already enabled and perform manual controlled updates
4. Review repository access logs for suspicious configuration file modifications

PATCHING GUIDANCE:
1. Update Claude Code to version 2.0.65 or latest immediately across all development environments
2. For organizations with auto-update enabled, verify update completion by checking version numbers
3. Implement mandatory update policies for development tools with security implications

COMPENSATING CONTROLS:
1. Implement network-level monitoring to detect API requests to unauthorized ANTHROPIC_BASE_URL endpoints
2. Use API key rotation policies with 30-day maximum key lifetime
3. Implement repository access controls requiring code review before opening untrusted repositories
4. Deploy endpoint detection and response (EDR) solutions to monitor for suspicious API key access patterns
5. Restrict Claude Code usage to approved, internally-vetted repositories only

DETECTION RULES:
1. Monitor for ANTHROPIC_BASE_URL configuration changes in .claude or settings files
2. Alert on API requests from Claude Code to non-standard Anthropic endpoints
3. Track API key usage patterns for anomalous authentication attempts
4. Monitor file system access to credential storage locations during repository load operations
🔧 خطوات المعالجة (العربية)
الإجراءات الفورية:
1. تدقيق جميع تثبيتات Claude Code عبر فرق التطوير لتحديد الإصدارات السابقة للإصدار 2.0.65
2. إلغاء جميع مفاتيح Anthropic API التي قد تكون تعرضت للخطر أو تم استخدامها مع إصدارات Claude Code الضعيفة
3. تعطيل تحديث Claude Code التلقائي إن لم يكن مفعلاً بالفعل وإجراء تحديثات يدوية محكومة
4. مراجعة سجلات الوصول إلى المستودع للتعديلات المريبة على ملفات التكوين

إرشادات التصحيح:
1. تحديث Claude Code إلى الإصدار 2.0.65 أو الأحدث فوراً عبر جميع بيئات التطوير
2. للمنظمات التي تم تفعيل التحديث التلقائي فيها، تحقق من اكتمال التحديث بفحص أرقام الإصدارات
3. تنفيذ سياسات التحديث الإلزامية لأدوات التطوير ذات الآثار الأمنية

الضوابط البديلة:
1. تنفيذ المراقبة على مستوى الشبكة للكشف عن طلبات API إلى نقاط نهاية ANTHROPIC_BASE_URL غير المصرح بها
2. استخدام سياسات تدوير مفاتيح API مع حد أقصى لعمر المفتاح 30 يوماً
3. تنفيذ ضوابط الوصول إلى المستودع تتطلب مراجعة الكود قبل فتح المستودعات غير الموثوقة
4. نشر حلول الكشف والاستجابة على نقطة النهاية (EDR) لمراقبة أنماط الوصول المريبة لمفاتيح API
5. تقييد استخدام Claude Code إلى المستودعات المعتمدة والمدققة داخلياً فقط

قواعد الكشف:
1. مراقبة تغييرات تكوين ANTHROPIC_BASE_URL في ملفات .claude أو الإعدادات
2. تنبيهات على طلبات API من Claude Code إلى نقاط نهاية Anthropic غير القياسية
3. تتبع أنماط استخدام مفاتيح API للمحاولات المصادقة الشاذة
4. مراقبة الوصول إلى نظام الملفات لمواقع تخزين بيانات الاعتماد أثناء عمليات تحميل المستودع
📋 Regulatory Compliance Mapping
🟢 NCA ECC 2024
ECC 2024 A.5.1.1 - Access Control Policies (API key management) ECC 2024 A.8.2.1 - User Authentication (credential protection) ECC 2024 A.8.2.3 - Password Management (API key rotation) ECC 2024 A.12.2.1 - Change Management (software updates) ECC 2024 A.12.4.1 - Event Logging (API request monitoring)
🔵 SAMA CSF
SAMA CSF ID.AM-2 - Asset Management (software inventory) SAMA CSF PR.AC-1 - Access Control (credential management) SAMA CSF PR.AC-2 - Physical and Logical Access (API key protection) SAMA CSF DE.CM-1 - Detection and Analysis (anomalous API usage) SAMA CSF RS.MI-2 - Incident Response (credential compromise)
🟡 ISO 27001:2022
ISO 27001:2022 A.5.15 - Supplier Relationships (third-party tool security) ISO 27001:2022 A.8.2.1 - User Registration and Access Rights (API key management) ISO 27001:2022 A.8.2.3 - Management of Privileged Access Rights (credential protection) ISO 27001:2022 A.8.3.2 - Password Management (API key rotation) ISO 27001:2022 A.12.2.1 - Change Management (software patching) ISO 27001:2022 A.12.4.1 - Event Logging (API request monitoring)
📦 Affected Products / CPE 1 entries
anthropic:claude_code
📊 CVSS Score
7.5
/ 10.0 — High
📊 CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack VectorN — None / Network
Attack ComplexityL — Low / Local
Privileges RequiredN — None / Network
User InteractionN — None / Network
ScopeU — Unchanged
ConfidentialityH — High
IntegrityN — None / Network
AvailabilityN — None / Network
📋 Quick Facts
Severity High
CVSS Score7.5
CWECWE-522
EPSS0.05%
Exploit No
Patch ✓ Yes
Published 2026-01-21
Source Feed nvd
Views 5
🇸🇦 Saudi Risk Score
8.2
/ 10.0 — Saudi Risk
Priority: CRITICAL
🏷️ Tags
CWE-522
Share this CVE

💬 Comments

0
Loading comments
📣 Found this valuable?
Share it with your cybersecurity network
in LinkedIn 𝕏 X / Twitter 💬 WhatsApp ✈ Telegram
🍪 Privacy Preferences
CISO Consulting — Compliant with Saudi Personal Data Protection Law (PDPL)
We use cookies and similar technologies to provide the best experience on our platform. You can choose which types you accept.
🔒
Essential Always On
Required for the website to function properly. Cannot be disabled.
📋 Sessions, CSRF tokens, authentication, language preferences
📊
Analytics
Help us understand how visitors use the site and improve performance.
📋 Page views, session duration, traffic sources, performance metrics
⚙️
Functional
Enable enhanced features like content personalization and preferences.
📋 Dark/light theme, font size, custom dashboards, saved filters
📣
Marketing
Used to deliver content and ads relevant to your interests.
📋 Campaign tracking, retargeting, social media analytics
Privacy Policy →
CISO AI Assistant
Ask anything · Documents · Support
🔐

Introduce Yourself

Enter your details to access the full assistant

Your info is private and never shared
💬
CyberAssist
Online · responds in seconds
5 / 5
🔐 Verify Your Identity

Enter your email to receive a verification code before submitting a support request.

Enter to send · / for commands 0 / 2000
CISO AI · Powered by Anthropic Claude
✦ Quick Survey Help Us Improve CISO Consulting Your feedback shapes the future of our platform — takes less than 2 minutes.
⚠ Please answer this question to continue

How would you rate your overall experience with our platform?

Rate from 1 (poor) to 5 (excellent)

🎉
Thank you!
Your response has been recorded.