Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-4190: SQL Injection in JawherKl node-api-postgres

0
Medium
VulnerabilityCVE-2026-4190cvecve-2026-4190
Published: Sun Mar 15 2026 (03/15/2026, 19:32:16 UTC)
Source: CVE Database V5
Vendor/Project: JawherKl
Product: node-api-postgres

Description

CVE-2026-4190 is a medium-severity SQL injection vulnerability in the JawherKl node-api-postgres library versions up to 2. 5. It affects the User. getAll function in models/user. js, where the 'sort' argument is improperly sanitized, allowing remote attackers to inject malicious SQL commands. No authentication or user interaction is required to exploit this vulnerability, and the exploit code is publicly available. The vendor has not responded to disclosure attempts, and no official patch has been released. This vulnerability can lead to unauthorized data access, data manipulation, or potential database compromise. Organizations using affected versions of node-api-postgres should urgently review and mitigate this risk. The threat is particularly relevant for countries with significant adoption of Node.

AI-Powered Analysis

AILast updated: 03/15/2026, 19:50:27 UTC

Technical Analysis

CVE-2026-4190 is a SQL injection vulnerability found in the JawherKl node-api-postgres package, specifically affecting versions 2.0 through 2.5. The vulnerability resides in the User.getAll function within the models/user.js file, where the 'sort' parameter is directly incorporated into SQL queries without proper sanitization or parameterization. This flaw allows an attacker to craft malicious input for the 'sort' argument, which is then executed by the PostgreSQL database, enabling arbitrary SQL commands to be run remotely. The vulnerability requires no authentication or user interaction, increasing its risk profile. The public availability of exploit code further heightens the threat. The vendor was contacted prior to public disclosure but did not respond or provide a patch, leaving users exposed. The CVSS 4.0 base score is 6.9 (medium severity) with vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P, indicating network attack vector, low attack complexity, no privileges or user interaction required, and partial impact on confidentiality, integrity, and availability. This vulnerability can lead to unauthorized data disclosure, data modification, or deletion, potentially compromising the integrity and availability of backend databases. Given the widespread use of Node.js and PostgreSQL in web applications, this vulnerability poses a significant risk to affected deployments.

Potential Impact

The SQL injection vulnerability in node-api-postgres can have severe consequences for organizations relying on this library. Attackers can remotely execute arbitrary SQL commands, potentially leading to unauthorized access to sensitive user data, modification or deletion of database records, and disruption of application availability. This can result in data breaches, loss of customer trust, regulatory penalties, and operational downtime. Since the vulnerability requires no authentication or user interaction, it can be exploited by any remote attacker scanning for vulnerable endpoints. The lack of vendor response and absence of official patches increase the window of exposure, forcing organizations to implement their own mitigations. The impact is especially critical for applications handling sensitive personal, financial, or proprietary data. Additionally, exploitation could serve as a foothold for further attacks within compromised networks.

Mitigation Recommendations

To mitigate CVE-2026-4190, organizations should immediately audit their use of the node-api-postgres library and identify any instances of versions 2.0 through 2.5. Until an official patch is released, developers should implement input validation and sanitization on the 'sort' parameter to ensure it only accepts predefined, safe values or use parameterized queries to prevent injection. Refactoring the User.getAll function to avoid direct string concatenation in SQL statements is critical. Employ Web Application Firewalls (WAFs) with SQL injection detection rules to block malicious payloads targeting this vulnerability. Monitor logs for suspicious query patterns or unusual database activity. If feasible, isolate database access and restrict permissions to minimize potential damage from exploitation. Organizations should also consider upgrading to a patched or alternative library version once available. Finally, maintain an incident response plan to quickly address any detected exploitation attempts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-03-14T22:40:35.164Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69b70a219d4df451835b4b68

Added to database: 3/15/2026, 7:36:01 PM

Last enriched: 3/15/2026, 7:50:27 PM

Last updated: 3/15/2026, 10:09:13 PM

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses