Explore

Rule Explorer

Search the public rule index by CVE, GHSA, CWE, language, framework, author, or rule slug. Filter by language, framework, severity, confidence, license, and validation status.

Public rules
2917
Downloads
3.2M
Verified
2917
Authors
2
Search the rule indexUse CVE, GHSA, CWE, language, framework, package, or rule slug.
125 rules matched. Showing 24 loaded rules.
Publish rule
CVE-2026-55405: Fail Open Escaping Fallbackcve-2026-55405-fail-open-escaping-fallback

A fail-open condition was detected where an exception during identifier enquoting, escaping, or validation results in the method returning the raw, unescaped input. This logic bypasses the intended escaping mechanism and leads to secondary Injection vulnerabilities (e.g., SQL Injection) if the attacker provides malicious input designed specifically to trigge

by Provallyupdated 2026-06-23Apache-2.0
7390 direct739 via packs
downloads
72quality
CVE-2026-48249: Insecure Custom Mysql Prepare Shimcve-2026-48249-insecure-custom-mysql-prepare-shim

A custom database shim `mysql_prepare` was used. In CVE-2026-48249, this shim was found to be insecure and vulnerable to SQL injection despite impersonating a prepared statement API. Replace with `db_query()` using parameter arrays or migrate to standard PDO/mysqli.

by Provallyupdated 2026-06-12Apache-2.0
1K0 direct1K via packs
downloads
68quality
CVE-2026-47739: Frappe Unvalidated Childquery Keycve-2026-47739-frappe-unvalidated-childquery-key

Unvalidated dictionary keys from user-controlled input are passed directly to the `ChildQuery` structure. An attacker can inject arbitrary SQL functions or logic by manipulating these dictionary keys. Dictionary keys supplied via JSON or API requests must be validated (e.g. by rejecting uppercase SQL function names using `.isupper()`) before query constructi

by Provallyupdated 2026-06-23Apache-2.0
7420 direct742 via packs
downloads
77quality
CVE-2026-47387: Knex Raw Dynamic Value Injectioncve-2026-47387-knex-raw-dynamic-value-injection

Detected the direct injection of a dynamic object property (such as an AST node's `.value`) as the first argument to `knex.raw()`. This bypasses query parameterization and enables SQL injection if the property holds user-controlled data. The first argument of `knex.raw()` must be a static SQL string. Dynamic user inputs must be passed safely via the second a

by Provallyupdated 2026-06-12Apache-2.0
1K0 direct1K via packs
downloads
72quality
CVE-2026-47385: Nocodb Ast Sqli Knex Rawcve-2026-47385-nocodb-ast-sqli-knex-raw

Directly using an unvalidated AST node `.value` in a raw SQL query execution (e.g., $DB.raw()) can lead to SQL injection. Validate the node's value against an explicit allowlist (e.g., 'asc', 'desc') before passing it to the builder.

by Provallyupdated 2026-06-12Apache-2.0
1K0 direct1K via packs
downloads
68quality
CVE-2026-47383: Nocodb Unvalidated Ast Value In Knex Rawcve-2026-47383-nocodb-unvalidated-ast-value-in-knex-raw

Directly passing the `.value` of an AST node argument into the query template of `knex.raw()` without validation can lead to SQL Injection. Ensure the literal is safely validated, wrapped in a sanitizing function, or use parameterized bindings array before execution.

by Provallyupdated 2026-06-12Apache-2.0
1K0 direct1K via packs
downloads
73quality
CVE-2026-47382: Nocodb Raw Argument Value Sqlicve-2026-47382-nocodb-raw-argument-value-sqli

Direct injection of formula argument literal values (`.value`) into `knex.raw()`. This bypasses query parametrization and allows arbitrary SQL execution if a user provides malicious input. Validate the value against a strict allowedlist (e.g., 'asc', 'desc') before passing it to `knex.raw()`.

by Provallyupdated 2026-06-12Apache-2.0
1K0 direct1K via packs
downloads
73quality
CVE-2026-47279: Nocodb Knex Raw Ast Injectioncve-2026-47279-nocodb-knex-raw-ast-injection

Directly passing the `.value` of an AST argument (like `pt.arguments[1]?.value`) to `knex.raw()` without validation can lead to SQL injection. Ensure the variable is validated against a strict allowlist (e.g., 'asc', 'desc') before usage.

by Provallyupdated 2026-06-12Apache-2.0
1K0 direct1K via packs
downloads
77quality
CVE-2026-47182: Frappe Unvalidated Child Query Keycve-2026-47182-frappe-unvalidated-child-query-key

Unvalidated dictionary keys are directly instantiated into `ChildQuery` objects. This allows attackers to inject malicious SQL syntax or arbitrary SQL functions via dictionary keys. Ensure key strings are validated (e.g. by checking if they are uppercase with `.isupper()`) before usage.

by Provallyupdated 2026-06-23Apache-2.0
7420 direct742 via packs
downloads
73quality
CVE-2026-46551: Nocodb Arraysort Ast Sqlicve-2026-46551-nocodb-arraysort-ast-sqli

An unvalidated AST node value (`.value`) is passed directly into a raw SQL query binding (`knex.raw()`). In NocoDB formula resolution, passing a literal string this way without parameterization or strict allowlisting (such as for 'ASC' or 'DESC') allows an attacker to bypass basic sanitization and execute arbitrary SQL injection via the ORDER BY clause. Ensu

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
68quality
CVE-2026-45325: Unquoted Dynamic Table Drop Or Showcve-2026-45325-unquoted-dynamic-table-drop-or-show

Executing a DROP TABLE or SHOW CREATE TABLE query with a dynamic, unquoted template variable directly following the SQL keyword. This lacks specifying a database context or properly quoting the identifier, which can cause the operation to execute against an unintended default database (e.g., in a multi-tenant environment) or lead to unintentional injections.

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
68quality
CVE-2026-45055: Php Unsanitized Request Loop Interpolationcve-2026-45055-php-unsanitized-request-loop-interpolation

Direct string interpolation of user-controlled array keys or values from a request array without allowlist validation can lead to injection vulnerabilities like SQL Injection.

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
77quality
CVE-2026-44975: Frappe Childquery Sql Injectioncve-2026-44975-frappe-childquery-sql-injection

The query builder improperly assumes any dictionary passed within a fields list is a child query definition, instantiating ChildQuery without validating child_field keys. This allows SQL injection via the keys.

by Provallyupdated 2026-06-23Apache-2.0
7420 direct742 via packs
downloads
77quality
CVE-2026-44205: Frappe Child Field Sqlicve-2026-44205-frappe-child-field-sqli

The Frappe query builder passes user-controllable dictionary keys directly into `ChildQuery` as field names. This lacks validation and allows attackers to specify unsupported SQL functions or arbitrary SQL syntax disguised as childfields, resulting in SQL Injection.

by Provallyupdated 2026-06-23Apache-2.0
7420 direct742 via packs
downloads
77quality
CVE-2026-44012: Craftcms Query Configure Sqlicve-2026-44012-craftcms-query-configure-sqli

Direct configuration of database query builders via `Craft::configure()` using unsanitized user criteria arrays can lead to SQL injection. An attacker can inject arbitrary SQL fragments by including keys like 'where', 'join', or 'having'. Ensure that unsafe array keys are unset from the criteria array prior to configuration.

by Provallyupdated 2026-06-23Apache-2.0
7390 direct739 via packs
downloads
76quality
CVE-2026-44011: Craftcms Insufficient Cleanseconfig Sqlicve-2026-44011-craftcms-insufficient-cleanseconfig-sqli

Passing a criteria array to `Craft::configure()` through `Component::cleanseConfig()` does not sufficiently sanitize query-building properties. `cleanseConfig()` fails to strip dangerous SQL schema attributes such as `where`, `union`, or `params`. If the array is user-controlled, this leads to SQL injection. Ensure you explicitly `unset()` unsupported or dan

by Provallyupdated 2026-06-23Apache-2.0
7390 direct739 via packs
downloads
73quality
CVE-2026-42463: Python Sqli Execute Formatcve-2026-42463-python-sqli-execute-format

A SQL injection vulnerability exists because the application uses Python's `str.format()` to dynamically evaluate unescaped variables directly into a SQL query string. This enables arbitrary SQL command execution, which can be leveraged for IDOR or Authentication Bypass. Use the database driver's built-in parameterization by passing variables as a tuple to t

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
68quality
CVE-2026-42031: Ckan Check Access Bypass Via Whitelistcve-2026-42031-ckan-check-access-bypass-via-whitelist

An authorization check (check_access) is gated behind a "not in <allowlist>" conditional. Resources whose identifier is in the allowlist bypass the authorization check entirely. This pattern was the root cause of CVE-2026-42031 in CKAN's datastore_search, where the WHITELISTED_RESOURCES shortcut allowed enumeration of private resources via _table_metadata an

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
86quality
CVE-2026-41581: Frappe Unvalidated Dict Key Childquerycve-2026-41581-frappe-unvalidated-dict-key-childquery

Bypass of field validation for dictionary keys passed to ChildQuery. If dictionary keys from user-controlled JSON are passed without validation, attackers can inject SQL or call unauthorized SQL functions. Validate keys (e.g., check string properties or reject uppercase) before using them as field names.

by Provallyupdated 2026-06-23Apache-2.0
7420 direct742 via packs
downloads
73quality
CVE-2026-41327: Dgraph Cve 2026 41327 Dql Cond Injectioncve-2026-41327-dgraph-cve-2026-41327-dql-cond-injection

Potential DQL injection (CVE-2026-41327): a user-controlled upsert `cond` value is being transformed by `strings.Replace($X, "@if", "@filter", 1)` and concatenated into a DQL query without prior structural validation. The `strings.Replace` call is a cosmetic syntax rewrite, not a security boundary. An attacker can craft a `cond` that closes the `@filter(...)

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
80quality
CVE-2026-41167: Js Node Postgres Template Literal Sql Injectioncve-2026-41167-js-node-postgres-template-literal-sql-injection

SQL query is built by interpolating request-derived values into a JavaScript template literal and passed to `.query()` with no parameter values array. Under node-postgres, a missing params argument dispatches via the simple query protocol, which neither parameterises values nor blocks stacked (semicolon-separated) statements — enabling SQL injection and, wit

by Provallyupdated 2026-06-12Apache-2.0
1.3K0 direct1.3K via packs
downloads
90quality
CVE-2026-40906: Elixir Permissive Validator Catchall Okcve-2026-40906-elixir-permissive-validator-catchall-ok

Validator/checker function ends with a permissive catch-all clause that returns `:ok` (or `{:ok, ...}`) for any unhandled input. When this function is used to vet user-controlled data that flows into a security-sensitive sink (such as a SQL query string built via string interpolation), the catch-all enables bypass of validation and may lead to SQL injection

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
70quality
CVE-2026-40900: Java Incomplete Jdbc Parameter Blocklistcve-2026-40900-java-incomplete-jdbc-parameter-blocklist

A blocklist of illegal JDBC connection parameters was found containing known dangerous properties, but it omits `allowMultiQueries`. If an attacker can configure `allowMultiQueries=true` on a MySQL connection used in unchecked contexts, they may execute stacked queries, leading to severe SQL injection.

by Provallyupdated 2026-06-23Apache-2.0
7390 direct739 via packs
downloads
77quality
CVE-2026-40325: Cfml Unvalidated Table Name Settercve-2026-40325-cfml-unvalidated-table-name-setter

Unvalidated assignment to a variable representing a database table name. This allows potentially malicious strings to be used in dynamic SQL queries, leading to SQL Injection. Validate table names by restricting allowed characters, checking length, and ensuring the table exists.

by Provallyupdated 2026-06-23Apache-2.0
7450 direct745 via packs
downloads
65quality
24 of 125 loaded