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 package, affecting versions up to 2. 5. The flaw exists in the User. getAll function within models/user. js, where the 'sort' argument is improperly sanitized, allowing remote attackers to inject malicious SQL code. Exploitation requires no authentication or user interaction and can lead to partial compromise of confidentiality, integrity, and availability of the database. Although the vendor was notified, no patch or response has been issued, and public exploit code is available. Organizations using this package in their Node. js applications are at risk of data leakage, unauthorized data manipulation, or denial of service. Mitigation involves applying input validation and sanitization on the 'sort' parameter or replacing the affected package with a secure alternative.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/23/2026, 00:36:38 UTC

Technical Analysis

CVE-2026-4190 identifies a SQL injection vulnerability in the JawherKl node-api-postgres package, specifically in the User.getAll function located in models/user.js. The vulnerability arises from improper handling of the 'sort' argument, which is directly incorporated into SQL queries without adequate sanitization or parameterization. This allows an attacker to craft malicious input that alters the intended SQL command, potentially exposing or modifying sensitive database information. The vulnerability is remotely exploitable without requiring authentication or user interaction, increasing the attack surface. The CVSS 4.0 score of 6.9 reflects a medium severity, indicating a significant but not critical risk. The vendor has been contacted but has not provided a patch or mitigation guidance, and public exploit code is available, increasing the likelihood of exploitation. The affected versions range from 2.0 through 2.5 of the node-api-postgres package, widely used in Node.js applications interfacing with PostgreSQL databases. The lack of scope change means the impact is limited to the affected component, but the confidentiality, integrity, and availability of the database can be partially compromised. This vulnerability highlights the importance of proper input validation and use of parameterized queries in preventing SQL injection attacks.

Potential Impact

The SQL injection vulnerability in node-api-postgres can lead to unauthorized access to sensitive data, data corruption, or denial of service by manipulating database queries. Organizations relying on this package for backend services risk exposure of user data, intellectual property, or operational data. Attackers can exploit this flaw to extract confidential information, modify or delete records, or disrupt service availability. Given the remote and unauthenticated nature of the exploit, any publicly accessible service using the affected package is vulnerable. This can result in reputational damage, regulatory penalties due to data breaches, and operational downtime. The medium severity rating suggests that while the impact is serious, it may not lead to full system compromise without additional vulnerabilities. However, combined with other weaknesses, it could facilitate broader attacks. The absence of vendor response and patches increases the urgency for organizations to implement their own mitigations or consider alternative solutions.

Mitigation Recommendations

To mitigate CVE-2026-4190, organizations should immediately audit their use of the node-api-postgres package, specifically the User.getAll function and any usage of the 'sort' parameter. Implement strict input validation and sanitization to ensure that only expected values are accepted for sorting, ideally using a whitelist of allowed column names. Refactor SQL queries to use parameterized statements or prepared queries rather than string concatenation to prevent injection. If possible, upgrade to a patched version once available or switch to an alternative, actively maintained package with secure coding practices. Employ Web Application Firewalls (WAFs) with SQL injection detection rules to provide an additional layer of defense. Monitor logs for suspicious query patterns indicative of injection attempts. Conduct regular security assessments and code reviews focusing on database interaction layers. Finally, isolate database access with least privilege principles to limit the impact of any successful injection.

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/23/2026, 12:36:38 AM

Last updated: 4/30/2026, 12:04:33 AM

Views: 99

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 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