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-4191: Unrestricted Upload in JawherKl node-api-postgres

0
Medium
VulnerabilityCVE-2026-4191cvecve-2026-4191
Published: Sun Mar 15 2026 (03/15/2026, 20:02:09 UTC)
Source: CVE Database V5
Vendor/Project: JawherKl
Product: node-api-postgres

Description

A flaw has been found in JawherKl node-api-postgres up to 2.5. Affected is the function path.extname of the file index.js of the component Profile Picture Handler. This manipulation causes unrestricted upload. The attack is possible to be carried out remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

AI-Powered Analysis

AILast updated: 03/16/2026, 08:38:34 UTC

Technical Analysis

CVE-2026-4191 is a vulnerability identified in the JawherKl node-api-postgres library, versions 2.0 through 2.5, specifically within the Profile Picture Handler component's index.js file. The vulnerability stems from improper validation of uploaded files, where the function path.extname is manipulated to bypass restrictions, resulting in unrestricted file uploads. This flaw allows an attacker to remotely upload arbitrary files without requiring authentication or user interaction. The unrestricted upload can lead to multiple attack vectors, including the possibility of uploading malicious scripts or executables, which could compromise the confidentiality, integrity, and availability of the affected system. The vulnerability has a CVSS 4.0 base score of 6.9, indicating a medium severity level, with an attack vector of network (remote), low attack complexity, and no privileges or user interaction required. The vendor was notified early but has not responded or issued a patch, and a public exploit has been published, increasing the risk of exploitation. The lack of patch and vendor engagement necessitates that organizations using this library implement their own mitigations. The vulnerability does not involve scope changes or security controls bypass beyond the upload restriction failure. The flaw is critical in environments where node-api-postgres is used to handle user-uploaded profile pictures or similar files, as attackers can exploit this to upload malicious content that may lead to further compromise.

Potential Impact

The primary impact of CVE-2026-4191 is the potential for attackers to upload arbitrary files to systems using the vulnerable node-api-postgres library, which can lead to unauthorized code execution, data manipulation, or service disruption. This undermines the confidentiality by exposing sensitive data if attackers upload scripts to exfiltrate information. Integrity is compromised as attackers can alter or replace legitimate files with malicious ones. Availability may be affected if attackers upload files that disrupt service operations or cause crashes. Since exploitation requires no authentication or user interaction and can be performed remotely, the attack surface is broad. Organizations relying on this library for profile picture handling or similar file upload functionalities are at risk, especially if these uploads are stored or executed on servers. The absence of vendor patches and the existence of public exploits increase the likelihood of active exploitation, potentially leading to widespread compromise in affected environments. This can result in data breaches, defacement, or use of compromised servers as pivot points for further attacks.

Mitigation Recommendations

Given the lack of an official patch or vendor response, organizations should implement immediate compensating controls. First, enforce strict server-side validation of uploaded files, including checking MIME types, file extensions, and file content signatures to ensure only allowed image formats are accepted. Implement file size limits and scan uploads with antivirus or malware detection tools. Restrict upload directories to non-executable locations and disable execution permissions on uploaded files to prevent code execution. Employ web application firewalls (WAFs) to detect and block suspicious upload patterns. Monitor logs for unusual upload activity and implement rate limiting to reduce automated exploitation attempts. Consider isolating the upload handling service in a sandboxed environment to limit potential damage. If feasible, replace or upgrade the node-api-postgres library with a version that addresses this vulnerability once available or switch to alternative libraries with secure upload handling. Finally, educate developers on secure file upload practices to prevent similar issues in future development.

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:41.486Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69b7c1479d4df451833752e7

Added to database: 3/16/2026, 8:37:27 AM

Last enriched: 3/16/2026, 8:38:34 AM

Last updated: 3/16/2026, 10:24:23 PM

Views: 6

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