INITIALIZING
📧 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 supply_chain Software Development and Technology CRITICAL 35m Global apt Multiple sectors HIGH 2h Global general Digital Content & Intellectual Property MEDIUM 3h Global malware Technology and Software Development CRITICAL 3h Global ddos Technology and Social Media HIGH 3h Global phishing Financial Services, Telecommunications, General Public HIGH 4h Global supply_chain Software Development and Technology CRITICAL 5h Global apt Multiple sectors / Critical Infrastructure CRITICAL 5h Global malware Financial Services CRITICAL 5h Global general Software/Technology LOW 5h Global supply_chain Software Development and Technology CRITICAL 35m Global apt Multiple sectors HIGH 2h Global general Digital Content & Intellectual Property MEDIUM 3h Global malware Technology and Software Development CRITICAL 3h Global ddos Technology and Social Media HIGH 3h Global phishing Financial Services, Telecommunications, General Public HIGH 4h Global supply_chain Software Development and Technology CRITICAL 5h Global apt Multiple sectors / Critical Infrastructure CRITICAL 5h Global malware Financial Services CRITICAL 5h Global general Software/Technology LOW 5h Global supply_chain Software Development and Technology CRITICAL 35m Global apt Multiple sectors HIGH 2h Global general Digital Content & Intellectual Property MEDIUM 3h Global malware Technology and Software Development CRITICAL 3h Global ddos Technology and Social Media HIGH 3h Global phishing Financial Services, Telecommunications, General Public HIGH 4h Global supply_chain Software Development and Technology CRITICAL 5h Global apt Multiple sectors / Critical Infrastructure CRITICAL 5h Global malware Financial Services CRITICAL 5h Global general Software/Technology LOW 5h
Vulnerabilities

CVE-2025-64175

High
Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, Gogs’ 2FA recovery code validation does not scope codes by user, enabling cross-account bypass. If an attacker knows a vict
CWE-287 — Weakness Type
Published: Feb 6, 2026  ·  Modified: Feb 28, 2026  ·  Source: NVD
CVSS v3
8.8
🔗 NVD Official
📄 Description (English)

Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, Gogs’ 2FA recovery code validation does not scope codes by user, enabling cross-account bypass. If an attacker knows a victim’s username and password, they can use any unused recovery code (e.g., from their own account) to bypass the victim’s 2FA. This enables full account takeover and renders 2FA ineffective in all environments where it's enabled.. This issue has been patched in versions 0.13.4 and 0.14.0+dev.

🤖 AI Executive Summary

Gogs versions 0.13.3 and prior contain a critical 2FA bypass vulnerability where recovery codes are not properly scoped to individual users, allowing attackers with valid credentials to use any recovery code to bypass two-factor authentication. This completely undermines 2FA security and enables full account takeover. Organizations running vulnerable Gogs instances must immediately upgrade to version 0.13.4 or 0.14.0+dev to restore authentication security.

📄 Description (Arabic)

🤖 AI Intelligence Analysis Analyzed: Apr 22, 2026 06:09
🇸🇦 Saudi Arabia Impact Assessment
This vulnerability poses significant risk to Saudi government agencies, financial institutions, and enterprises using Gogs for internal Git repository management. Government entities under NCA oversight and SAMA-regulated financial institutions are particularly vulnerable as compromised developer accounts could lead to unauthorized code modifications, data breaches, and supply chain attacks. Telecom operators (STC, Mobily) and energy sector organizations (ARAMCO) using Gogs for internal development would face critical risks to infrastructure code integrity. The vulnerability is especially dangerous in Saudi organizations where 2FA is implemented as a primary security control for sensitive development environments.
🏢 Affected Saudi Sectors
Government Banking and Financial Services Telecommunications Energy and Utilities Healthcare Technology and Software Development Defense and Security
⚖️ Saudi Risk Score (AI)
9.2
/ 10.0
🔧 Remediation Steps (English)
IMMEDIATE ACTIONS:
1. Identify all Gogs instances in your environment and verify their version numbers
2. Disable 2FA recovery code functionality immediately if upgrade cannot be completed within 24 hours
3. Force password reset for all users with 2FA enabled
4. Review access logs for suspicious recovery code usage patterns

PATCHING:
1. Upgrade Gogs to version 0.13.4 or 0.14.0+dev immediately
2. Test upgrade in non-production environment first
3. Verify 2FA functionality post-upgrade

COMPENSATING CONTROLS (if immediate patching not possible):
1. Implement IP whitelisting for Gogs access
2. Enable audit logging for all authentication attempts
3. Monitor for multiple failed 2FA attempts from different IPs
4. Implement rate limiting on login endpoints
5. Require hardware security keys instead of recovery codes where possible

DETECTION:
1. Search logs for recovery code validation events with mismatched usernames
2. Alert on successful 2FA bypass followed by account modifications
3. Monitor for recovery code reuse across multiple accounts
4. Track failed 2FA attempts followed by successful login with recovery code
🔧 خطوات المعالجة (العربية)
الإجراءات الفورية:
1. حدد جميع نسخ Gogs في بيئتك وتحقق من أرقام إصداراتها
2. عطّل وظيفة رموز استرجاع المصادقة الثنائية فوراً إذا لم يكن يمكن إكمال الترقية خلال 24 ساعة
3. فرض إعادة تعيين كلمة المرور لجميع المستخدمين الذين لديهم المصادقة الثنائية مفعلة
4. راجع سجلات الوصول للأنماط المريبة في استخدام رموز الاسترجاع

التصحيح:
1. ترقية Gogs إلى الإصدار 0.13.4 أو 0.14.0+dev فوراً
2. اختبر الترقية في بيئة غير الإنتاج أولاً
3. تحقق من وظيفة المصادقة الثنائية بعد الترقية

الضوابط البديلة (إذا لم تكن الترقية الفورية ممكنة):
1. تطبيق قائمة بيضاء IP لوصول Gogs
2. تفعيل تسجيل التدقيق لجميع محاولات المصادقة
3. مراقبة محاولات المصادقة الثنائية الفاشلة المتعددة من عناوين IP مختلفة
4. تطبيق تحديد معدل على نقاط نهاية تسجيل الدخول
5. طلب مفاتيح الأمان الصلبة بدلاً من رموز الاسترجاع حيث أمكن

الكشف:
1. ابحث في السجلات عن أحداث التحقق من رموز الاسترجاع مع أسماء مستخدمين غير متطابقة
2. تنبيه عند تجاوز المصادقة الثنائية الناجح متبوعاً بتعديلات الحساب
3. مراقبة إعادة استخدام رموز الاسترجاع عبر حسابات متعددة
4. تتبع محاولات المصادقة الثنائية الفاشلة متبوعة بتسجيل دخول ناجح برمز استرجاع
📋 Regulatory Compliance Mapping
🟢 NCA ECC 2024
ECC 2024 A.9.2.1 - User authentication and access control ECC 2024 A.9.4.3 - Multi-factor authentication requirements ECC 2024 A.12.4.1 - Event logging and monitoring ECC 2024 A.14.2.1 - Secure development and change management
🔵 SAMA CSF
SAMA CSF ID.AM-2 - Asset inventory and management SAMA CSF PR.AC-1 - Access control policy and procedures SAMA CSF PR.AC-6 - Multi-factor authentication SAMA CSF DE.CM-1 - System monitoring and anomaly detection
🟡 ISO 27001:2022
ISO 27001:2022 A.5.3 - Segregation of duties ISO 27001:2022 A.8.2.3 - Password management ISO 27001:2022 A.8.3.1 - Multi-factor authentication ISO 27001:2022 A.12.4.1 - Event logging
🟣 PCI DSS v4.0
PCI DSS 8.3 - Multi-factor authentication PCI DSS 10.2 - User identification and authentication logging
📦 Affected Products / CPE 1 entries
gogs:gogs
📊 CVSS Score
8.8
/ 10.0 — High
📊 CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorN — None / Network
Attack ComplexityL — Low / Local
Privileges RequiredL — Low / Local
User InteractionN — None / Network
ScopeU — Unchanged
ConfidentialityH — High
IntegrityH — High
AvailabilityH — High
📋 Quick Facts
Severity High
CVSS Score8.8
CWECWE-287
EPSS0.02%
Exploit No
Patch ✓ Yes
Published 2026-02-06
Source Feed nvd
Views 2
🇸🇦 Saudi Risk Score
9.2
/ 10.0 — Saudi Risk
Priority: CRITICAL
🏷️ Tags
CWE-287
Share this CVE
📣 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.