Skip to main content
VulnerabilityPublished Updated

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

Affects JawherKl node-api-postgresSource CVE Database V5

0
Compare

Public exploit available · CVSS 6.9 Medium.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
JawherKlnode-api-postgresAffected
  • 2.0 – 2.5
6 affected builds
Fixed in–
npmnode-api-postgrespkg:npm/node-api-postgresOther threatsAffected
  • 2.0 – 2.5
6 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

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.

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.

References

Community reviews

Loading reviews…