CVE-2026-19351 Details
Description
A vulnerability was found in dresende node-sql-query 0.1.25/0.1.26/0.1.27/0.1.28. Affected by this vulnerability is the function SelectQuery.from/SelectQuery.build in the library lib/Select.js of the component Request Parameter Handler. Performing a manipulation results in sql injection. It is possible to initiate the attack remotely. The exploit has been made public and could be used. Upgrading to version 0.1.29 addresses this issue. The patch is named 3414c42f6de89826fa1f5f36f6139d1e6552778e. Upgrading the affected component is recommended.
A SQL injection vulnerability has been identified in the dresende node-sql-query library, specifically in versions 0.1.25 through 0.1.28. The issue arises in the Request Parameter Handler component, within the SelectQuery.from and SelectQuery.build functions, located in lib/Select.js. The vulnerability can be exploited remotely by manipulating the joinType option when specifying JOIN types in SQL queries. This flaw allows attackers to inject arbitrary SQL fragments, potentially modifying the structure and semantics of the generated SQL statements.
Upgrade to node-sql-query version 0.1.29, which addresses this vulnerability by validating the joinType input against an allow-list of acceptable JOIN types. After updating, ensure that the application does not pass untrusted data into SQL structural options.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 9, 2026CISA-ADP
Assessed Aug 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://vuldb.com/submit/865884 | CISA-ADP | Issue TrackingPermission Required |
| https://github.com/dresende/node-sql-query/ | [email protected] | ProductVendor |
| https://github.com/dresende/node-sql-query/commit/3414c42f6de89826fa1f5f36f6139d1e6552778e | [email protected] | Source CodeVendor |
| https://github.com/dresende/node-sql-query/pull/64 | [email protected] | Issue TrackingVendor |
| https://github.com/dresende/node-sql-query/releases/tag/v0.1.29 | [email protected] | Release NotesVendor |
| https://github.com/windhxy/CVE-my/issues/2 | [email protected] | ExploitIssue TrackingTechnical Description |
| https://vuldb.com/cve/CVE-2026-19351 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/865884 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/387190 | [email protected] | BundlePermission Required |
| https://vuldb.com/vuln/387190/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dresende node-sql-query | >= 0.1.25, <= 0.1.28 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 13, 2026 | CVE Modified | CISA-ADP |
| Aug 9, 2026 | New CVE Received | [email protected] |
Volerion