📧 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 3h Global general Technology and Artificial Intelligence HIGH 4h Global vulnerability Higher Education CRITICAL 13h Global data_breach Government HIGH 14h Global supply_chain Software Development and Open Source Communities CRITICAL 14h Global malware Software Development CRITICAL 14h Global phishing Multiple Sectors HIGH 15h Global vulnerability Web Applications CRITICAL 15h Global apt Critical Infrastructure CRITICAL 15h Global ransomware Multiple sectors CRITICAL 16h Global general Technology and Artificial Intelligence MEDIUM 3h Global general Technology and Artificial Intelligence HIGH 4h Global vulnerability Higher Education CRITICAL 13h Global data_breach Government HIGH 14h Global supply_chain Software Development and Open Source Communities CRITICAL 14h Global malware Software Development CRITICAL 14h Global phishing Multiple Sectors HIGH 15h Global vulnerability Web Applications CRITICAL 15h Global apt Critical Infrastructure CRITICAL 15h Global ransomware Multiple sectors CRITICAL 16h Global general Technology and Artificial Intelligence MEDIUM 3h Global general Technology and Artificial Intelligence HIGH 4h Global vulnerability Higher Education CRITICAL 13h Global data_breach Government HIGH 14h Global supply_chain Software Development and Open Source Communities CRITICAL 14h Global malware Software Development CRITICAL 14h Global phishing Multiple Sectors HIGH 15h Global vulnerability Web Applications CRITICAL 15h Global apt Critical Infrastructure CRITICAL 15h Global ransomware Multiple sectors CRITICAL 16h
Vulnerabilities

CVE-2026-41205

High
CWE-22 — Weakness Type
Published: Apr 23, 2026  ·  Modified: Apr 30, 2026  ·  Source: NVD
CVSS v3
7.5
🔗 NVD Official
📄 Description (English)

Mako is a template library written in Python. Prior to 1.3.11, TemplateLookup.get_template() is vulnerable to path traversal when a URI starts with // (e.g., //../../../secret.txt). The root cause is an inconsistency between two slash-stripping implementations. Any file readable by the process can be returned as rendered template content when an application passes untrusted input directly to TemplateLookup.get_template(). This vulnerability is fixed in 1.3.11.

🤖 AI Executive Summary

Mako template library versions prior to 1.3.11 contain a path traversal vulnerability in TemplateLookup.get_template() that allows attackers to read arbitrary files accessible to the application process. The vulnerability is triggered when URIs starting with // are processed, exploiting inconsistent slash-stripping logic. This could lead to exposure of sensitive configuration files, credentials, and source code in applications using untrusted input with Mako templates.

📄 Description (Arabic)

🤖 AI Intelligence Analysis Analyzed: May 2, 2026 10:18
🇸🇦 Saudi Arabia Impact Assessment
Saudi organizations using Mako in web applications, particularly in banking systems (SAMA-regulated), government portals (NCA oversight), and e-commerce platforms are at risk. Financial institutions and government agencies processing sensitive data through Mako-based applications could face unauthorized access to configuration files containing database credentials, API keys, and customer data. Telecom operators (STC, Mobily) and healthcare providers using Mako for template rendering face potential exposure of subscriber information and patient records. Energy sector applications (ARAMCO subsidiaries) could expose operational data.
🏢 Affected Saudi Sectors
Banking and Financial Services Government and Public Administration Healthcare and Medical Services Energy and Utilities Telecommunications E-commerce and Retail Education
⚖️ Saudi Risk Score (AI)
7.8
/ 10.0
🔧 Remediation Steps (English)
Immediate Actions:
1. Identify all applications using Mako template library by scanning requirements.txt, setup.py, and dependency manifests
2. Determine current Mako version in production environments
3. Implement input validation: sanitize all user-supplied input before passing to TemplateLookup.get_template(), rejecting URIs containing '//' patterns
4. Apply principle of least privilege: restrict file system permissions for application processes to only necessary directories

Patching Guidance:
1. Upgrade Mako to version 1.3.11 or later when available
2. For immediate deployment, apply vendor patches as released
3. Test thoroughly in staging environment before production deployment

Compensating Controls (if patching delayed):
1. Implement Web Application Firewall (WAF) rules to block requests with '//' in template URI parameters
2. Use chroot/containerization to restrict file system access
3. Monitor application logs for suspicious template requests containing path traversal patterns
4. Implement file integrity monitoring on sensitive configuration files

Detection Rules:
1. Monitor TemplateLookup.get_template() calls with URIs containing '//' or '../' sequences
2. Alert on file access attempts outside designated template directories
3. Log and alert on any template rendering of non-template files (e.g., .conf, .env, .key files)
🔧 خطوات المعالجة (العربية)
الإجراءات الفورية:
1. تحديد جميع التطبيقات التي تستخدم مكتبة Mako من خلال مسح requirements.txt و setup.py وملفات التبعيات
2. تحديد إصدار Mako الحالي في بيئات الإنتاج
3. تطبيق التحقق من المدخلات: تنظيف جميع المدخلات المزودة من قبل المستخدم قبل تمريرها إلى TemplateLookup.get_template()، ورفض عناوين URI التي تحتوي على أنماط '//'
4. تطبيق مبدأ أقل صلاحية: تقييد أذونات نظام الملفات لعمليات التطبيق على الدلائل الضرورية فقط

إرشادات التصحيح:
1. ترقية Mako إلى الإصدار 1.3.11 أو أحدث عند توفره
2. للنشر الفوري، تطبيق تصحيحات البائع عند إصدارها
3. الاختبار الشامل في بيئة التجريب قبل نشر الإنتاج

الضوابط البديلة (إذا تأخر التصحيح):
1. تطبيق قواعد جدار حماية تطبيقات الويب (WAF) لحجب الطلبات التي تحتوي على '//' في معاملات URI للقالب
2. استخدام chroot/containerization لتقييد الوصول إلى نظام الملفات
3. مراقبة سجلات التطبيق للطلبات المريبة للقالب التي تحتوي على أنماط اجتياز المسار
4. تطبيق مراقبة سلامة الملفات على ملفات التكوين الحساسة

قواعد الكشف:
1. مراقبة استدعاءات TemplateLookup.get_template() مع عناوين URI تحتوي على '//' أو '../' sequences
2. تنبيه محاولات الوصول إلى الملفات خارج دلائل القالب المعينة
3. تسجيل والتنبيه على أي عرض قالب لملفات غير قالب (مثل .conf و .env و .key files)
📋 Regulatory Compliance Mapping
🟢 NCA ECC 2024
A.5.1.1 - Information Security Policies and Procedures A.6.1.1 - Access Control Policy A.12.2.1 - Change Management A.12.4.1 - Event Logging A.14.2.1 - Secure Development Policy
🔵 SAMA CSF
ID.AM-2 - Software Inventory PR.AC-1 - Access Control PR.DS-2 - Data Security DE.CM-1 - Detection and Analysis RS.MI-1 - Incident Response
🟡 ISO 27001:2022
A.5.1 - Management Direction A.6.1 - Internal Organization A.8.1 - Asset Management A.12.2 - Change Management A.12.4 - Logging A.14.2 - Secure Development
🟣 PCI DSS v4.0.1
Requirement 2.2 - Configuration Standards Requirement 6.2 - Security Patches Requirement 10.2 - Logging and Monitoring
📦 Affected Products / CPE 1 entries
sqlalchemy:mako
📊 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-22
EPSS0.05%
Exploit No
Patch ✗ No
Published 2026-04-23
Source Feed nvd
🇸🇦 Saudi Risk Score
7.8
/ 10.0 — Saudi Risk
Priority: HIGH
🏷️ Tags
CWE-22
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.