A vulnerability was determined in colinhacks Zod up to 4.3.6. The impacted element is an unknown function of the file packages/zod/src/v4/core/regexes.ts of the component CUID Data Type Handler. Executing a manipulation can lead to sql injection. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.
CVE-2026-6991 is a SQL injection vulnerability in Zod library versions up to 4.3.6 affecting the CUID Data Type Handler component. Remote attackers can exploit this vulnerability through manipulation of regex patterns in the regexes.ts file.
تم اكتشاف ثغرة حقن SQL في مكتبة Zod (إصدار 4.3.6 وأقدم) في مكون معالج نوع بيانات CUID. يمكن للمهاجمين البعيدين استغلال هذه الثغرة من خلال التلاعب بأنماط التعبيرات العادية في ملف regexes.ts. تم الكشف عن هذه الثغرة علناً والبائع لم يستجب لإشعارات الكشف المبكر.
ثغرة حقن SQL في مكتبة Zod الإصدارات حتى 4.3.6 تؤثر على معالج نوع بيانات CUID. يمكن للمهاجمين البعيدين استغلال هذه الثغرة من خلال التلاعب بأنماط التعبيرات العادية.
Upgrade Zod library to version 4.3.7 or later immediately. Review and validate all input handling in CUID data type validation. Implement parameterized queries and input sanitization. Monitor systems for exploitation attempts. Apply Web Application Firewall (WAF) rules to detect SQL injection patterns.
قم بترقية مكتبة Zod إلى الإصدار 4.3.7 أو أحدث فوراً. راجع والتحقق من جميع معالجة المدخلات في التحقق من نوع بيانات CUID. طبق الاستعلامات المعاملة والتطهير المدخلات. راقب الأنظمة لمحاولات الاستغلال. طبق قواعد جدار حماية تطبيقات الويب لكشف أنماط حقن SQL.