SQL injection via permissive CUID validation
Published Apr 25, 2026 · Updated Apr 25, 2026
SQL injection in colinhacks Zod 4.3.0 through 4.3.6 allows remote authenticated users to inject SQL through crafted CUID values. The CUID regular expression accepts any non-whitespace, non-hyphen characters after an initial c or C instead of restricting identifiers to safe characters. Exploitation requires a consuming application to trust a validated CUID and concatenate it into SQL; the published PoC demonstrates XSS, not SQL injection.
Summary
What happened
SQL injection in colinhacks Zod 4.3.0 through 4.3.6 allows remote authenticated users to inject SQL through crafted CUID values. The CUID regular expression accepts any non-whitespace, non-hyphen characters after an initial c or C instead of restricting identifiers to safe characters. Exploitation requires a consuming application to trust a validated CUID and concatenate it into SQL; the published PoC demonstrates XSS, not SQL injection.
The record
- CVE
- CVE-2026-6991
- Published
- Apr 25, 2026
- Updated
- Apr 25, 2026
- Vendor
- colinhacks
- Product
- Zod
- Classifications
- CWE-89, CWE-74, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 25, 2026CVE publishedPublication date reported by the CVE source.
- Apr 25, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.3.0
- Affected versionversion=4.3.1
- Affected versionversion=4.3.2
- Affected versionversion=4.3.3
- Affected versionversion=4.3.4
- Affected versionversion=4.3.5
- Affected versionversion=4.3.6
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CUID validation downstream XSS proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo