CVE-2026-4190
SQL Injection in JawherKl node-api-postgres User.getAll Function
Publication date: 2026-03-16
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| jawherkl | node-api-postgres | to 2.5 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the JawherKl node-api-postgres package, specifically affecting the User.getAll function in the models/user.js file. It occurs due to improper handling of the 'sort' argument, which allows an attacker to perform SQL injection. This means that an attacker can manipulate the input to execute arbitrary SQL commands on the database.
The attack can be carried out remotely, and the exploit code is publicly available. The vendor was informed about this issue but did not respond.
How can this vulnerability impact me? :
This vulnerability can allow an attacker to execute arbitrary SQL commands on your database remotely. This can lead to unauthorized data access, data modification, or deletion. It may also allow attackers to escalate their privileges or disrupt the availability of your application.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
I don't know