📧 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 vulnerability Higher Education CRITICAL 2h Global data_breach Government HIGH 2h Global supply_chain Software Development and Open Source Communities CRITICAL 2h Global malware Software Development CRITICAL 3h Global phishing Multiple Sectors HIGH 3h Global vulnerability Web Applications CRITICAL 4h Global apt Critical Infrastructure CRITICAL 4h Global ransomware Multiple sectors CRITICAL 4h Global supply_chain Software Development, IT Infrastructure, Technology CRITICAL 5h Global vulnerability,data_breach,general Technology, Industrial Control Systems, Telecommunications HIGH 6h Global vulnerability Higher Education CRITICAL 2h Global data_breach Government HIGH 2h Global supply_chain Software Development and Open Source Communities CRITICAL 2h Global malware Software Development CRITICAL 3h Global phishing Multiple Sectors HIGH 3h Global vulnerability Web Applications CRITICAL 4h Global apt Critical Infrastructure CRITICAL 4h Global ransomware Multiple sectors CRITICAL 4h Global supply_chain Software Development, IT Infrastructure, Technology CRITICAL 5h Global vulnerability,data_breach,general Technology, Industrial Control Systems, Telecommunications HIGH 6h Global vulnerability Higher Education CRITICAL 2h Global data_breach Government HIGH 2h Global supply_chain Software Development and Open Source Communities CRITICAL 2h Global malware Software Development CRITICAL 3h Global phishing Multiple Sectors HIGH 3h Global vulnerability Web Applications CRITICAL 4h Global apt Critical Infrastructure CRITICAL 4h Global ransomware Multiple sectors CRITICAL 4h Global supply_chain Software Development, IT Infrastructure, Technology CRITICAL 5h Global vulnerability,data_breach,general Technology, Industrial Control Systems, Telecommunications HIGH 6h
Vulnerabilities

CVE-2023-54345

High ⚡ Exploit Available
CWE-94 — Weakness Type
Published: May 5, 2026  ·  Modified: May 12, 2026  ·  Source: NVD
CVSS v3
8.8
🔗 NVD Official
📄 Description (English)

Frappe Framework ERPNext 13.4.0 contains a sandbox escape vulnerability in RestrictedPython that allows authenticated users with System Manager role to execute arbitrary code by exploiting frame introspection. Attackers can create a server script via the /app/server-script endpoint and access the gi_frame attribute to traverse the call stack and invoke os.popen to execute system commands.

🤖 AI Executive Summary

ERPNext 13.4.0 contains a critical sandbox escape vulnerability allowing authenticated System Manager users to execute arbitrary system commands through frame introspection in RestrictedPython. This vulnerability poses severe risk to Saudi organizations using ERPNext for ERP operations, as compromised or malicious administrators can gain full system control. Immediate action is required to restrict System Manager role assignments and implement compensating controls.

📄 Description (Arabic)

🤖 AI Intelligence Analysis Analyzed: May 8, 2026 16:32
🇸🇦 Saudi Arabia Impact Assessment
Critical impact on Saudi financial institutions (SAMA-regulated banks), government agencies (NCA oversight), and large enterprises using ERPNext for financial management and supply chain operations. ARAMCO subsidiaries, STC divisions, and healthcare organizations managing patient billing systems are at high risk. Compromised System Manager accounts could lead to unauthorized financial transactions, data exfiltration, system compromise, and regulatory violations under SAMA and NCA frameworks.
🏢 Affected Saudi Sectors
Banking and Financial Services Government and Public Administration Healthcare and Pharmaceuticals Energy and Utilities Telecommunications Manufacturing and Industrial Retail and E-commerce Education
⚖️ Saudi Risk Score (AI)
9.2
/ 10.0
🔧 Remediation Steps (English)
IMMEDIATE ACTIONS:
1. Audit all System Manager role assignments and remove unnecessary users immediately
2. Enable comprehensive logging for server-script endpoint access and RestrictedPython execution
3. Implement network segmentation to restrict ERPNext server access to authorized networks only
4. Review audit logs for suspicious server-script creation or execution patterns

COMPENSATING CONTROLS (until patch available):
5. Disable server-script functionality entirely if not critical to operations via bench command: bench set-config server_script_enabled 0
6. Implement application-level access controls restricting /app/server-script endpoint to specific IP addresses
7. Deploy Web Application Firewall (WAF) rules to block server-script POST requests from unauthorized sources
8. Enforce multi-factor authentication for all System Manager accounts
9. Implement real-time monitoring for os.popen, subprocess, and exec function calls within ERPNext processes

DETECTION RULES:
- Monitor for DocType 'Server Script' creation/modification in audit logs
- Alert on any frame introspection attempts (gi_frame attribute access)
- Track execution of system commands from ERPNext application user context
- Monitor for unusual child process spawning from ERPNext bench processes
🔧 خطوات المعالجة (العربية)
الإجراءات الفورية:
1. تدقيق جميع تعيينات دور مدير النظام وإزالة المستخدمين غير الضروريين فوراً
2. تفعيل تسجيل شامل لوصول نقطة نهاية server-script وتنفيذ RestrictedPython
3. تنفيذ تقسيم الشبكة لتقييد وصول خادم ERPNext إلى الشبكات المصرح بها فقط
4. مراجعة سجلات التدقيق للبحث عن أنماط مريبة في إنشاء أو تنفيذ server-script

الضوابط التعويضية (حتى توفر التصحيح):
5. تعطيل وظيفة server-script بالكامل إذا لم تكن حرجة للعمليات عبر أمر bench: bench set-config server_script_enabled 0
6. تنفيذ ضوابط الوصول على مستوى التطبيق لتقييد نقطة نهاية /app/server-script على عناوين IP محددة
7. نشر قواعد جدار الحماية لتطبيقات الويب (WAF) لحظر طلبات server-script POST من مصادر غير مصرح بها
8. فرض المصادقة متعددة العوامل لجميع حسابات مدير النظام
9. تنفيذ المراقبة في الوقت الفعلي لوظائف os.popen و subprocess و exec داخل عمليات ERPNext

قواعد الكشف:
- مراقبة إنشاء/تعديل DocType 'Server Script' في سجلات التدقيق
- التنبيه على أي محاولات استكشاف إطار (وصول سمة gi_frame)
- تتبع تنفيذ أوامر النظام من سياق مستخدم تطبيق ERPNext
- مراقبة توليد عمليات فرعية غير عادية من عمليات bench في ERPNext
📋 Regulatory Compliance Mapping
🟢 NCA ECC 2024
ECC 2024 A.9.2.1 - User access management and role-based access control ECC 2024 A.8.1.1 - Information security policies and procedures ECC 2024 A.12.4.1 - Event logging and monitoring ECC 2024 A.12.6.1 - Management of technical vulnerabilities
🔵 SAMA CSF
SAMA CSF ID.AM-2 - Software and hardware inventory SAMA CSF PR.AC-1 - Access control policy and procedures SAMA CSF DE.CM-1 - System monitoring and anomaly detection SAMA CSF RS.MI-2 - Incident response and recovery procedures
🟡 ISO 27001:2022
ISO 27001:2022 A.5.15 - Access control ISO 27001:2022 A.8.22 - Monitoring activities ISO 27001:2022 A.8.23 - Administrator and operator logs ISO 27001:2022 A.8.28 - Secure development policy
🟣 PCI DSS v4.0.1
PCI DSS 2.1 - Inventory of system components PCI DSS 7.1 - Limit access to system components PCI DSS 10.2 - Implement automated audit trails PCI DSS 11.2 - Vulnerability scanning and assessment
📦 Affected Products / CPE 1 entries
frappe:erpnext:13.4.0
📊 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-94
EPSS0.10%
Exploit ✓ Yes
Patch ✗ No
Published 2026-05-05
Source Feed nvd
🇸🇦 Saudi Risk Score
9.2
/ 10.0 — Saudi Risk
Priority: CRITICAL
🏷️ Tags
exploit-available CWE-94
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.