CVE-2026-51936 SQL injection in SQLCipher
Attackers can exploit SQLCipher's export function to bypass defensive restrictions, modify schema tables, and corrupt databases via crafted source names.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-51936?
CVE-2026-51936 is a low-severity SQL injection vulnerability in Zetetic SQLCipher, published on 30 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Zetetic SQLCipher before 4.15.0 allows SQL injection. The sqlcipher_export convenience function can be used to copy the contents of one attached database into another. It is most often used to convert between plaintext and encrypted databases. It needs to do dynamic schema manipulation, and thus the function temporarily clears defensive restrictions during operation. A vulnerability in the handling of the source database name parameter made it possible for a caller to supply a crafted source name, which could execute statements that defensive mode would otherwise block. This could allow direct modifications to the sqlite_schema table and database corruption. SQLCipher 4.15.0 now strictly validates the source database name and prevents the bypass.
Weakness: CWE-89
Which versions are affected by CVE-2026-51936?
How do I fix CVE-2026-51936?
No fix has been published for CVE-2026-51936 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-51936 being exploited?
There is no known exploitation of CVE-2026-51936 in the wild and no public exploit code.
Sources
Also known as GHSA-7w4j-532w-pgpj.