Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend POST request with crafted filename
-
ExploitBypass path.extname validation
-
ExecutionUpload malicious file
-
ImpactExecute arbitrary code on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | node-api-postgres versions up to 2.5 with Profile Picture Handler enabled. No authentication required. Attacker must be able to reach the upload endpoint accepting file submissions. |
| Impact | The CVSS 3.1 score of 7.3 (High) reflects significant risk with network-based attacks requiring no authentication (AV:N/AC:L/PR:N/UI:N). The 'Proof-of-Concept' exploitation code maturity (E:P) and 'Reasonable' report confidence (RC:R) indicate this is an actively exploitable vulnerability. The low complexity and lack of required privileges make this automatable and accessible to unsophisticated attackers. While not in CISA KEV and lacking EPSS data, the public POC availability significantly elevates real-world risk. The technical impact allows for compromise of confidentiality, integrity, and availability (C:L/I:L/A:L), suggesting potential for web shells, data theft, or service disruption. |
| Exploit ScenarioDerived | An unauthenticated remote attacker can exploit this vulnerability by crafting a malicious file upload request to the Profile Picture Handler endpoint. By manipulating the file extension or using double extensions (e.g., malware.php.jpg), the attacker bypasses the flawed path.extname validation. This could result in uploading a web shell for remote code execution, uploading malicious scripts that execute when accessed, or uploading files that consume server resources. The publicly available proof-of-concept at https://hackmd.io/@YzU_KiOzT86cEbFQdBceVg/Bk56LQQYbe demonstrates the exploitation technique, making attacks trivial to execute. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
A critical unrestricted file upload vulnerability exists in the Profile Picture Handler component of JawherKl's node-api-postgres library (versions up to 2.5), where improper validation in the path.extname function of index.js allows attackers to upload malicious files remotely without authentication. A proof-of-concept exploit is publicly available, making this vulnerability actively exploitable, though it is not currently listed in CISA's KEV catalog and no EPSS score is provided.
RemediationAI
No official patches are available as the vendor did not respond to disclosure attempts. Immediate mitigation steps include: 1) Disable or remove the Profile Picture Handler functionality if not critical, 2) Implement strict server-side file type validation beyond relying on path.extname, 3) Use a whitelist approach for allowed file extensions, 4) Store uploaded files outside the web root, 5) Consider migrating to an actively maintained alternative library. Monitor VulDB (ID: 351098) for any future vendor responses or patches.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The node-api-postgres library (CPE: cpe:2.3:a:jawherkl:node-api-postgres:*:*:*:*:*:*:*:*) is a Node.js API framework that integrates with PostgreSQL databases. The vulnerability stems from CWE-434 (Unrestricted Upload of File with Dangerous Type), where the path.extname function in the Profile Picture Handler fails to properly validate file extensions and types. This allows attackers to bypass intended upload restrictions and potentially upload executable files, web shells, or other malicious content. All versions from 2.0 through 2.5 are confirmed vulnerable according to ENISA EUVD data.
Know when PostgreSQL gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionCVE.org
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.
Executive ViewAI
A critical vulnerability in the node-api-postgres library enables attackers to upload arbitrary files to systems using affected versions, potentially leading to data breach, malware deployment, or system compromise. This poses immediate risk to any organization using this component in production environments, particularly those handling user-generated content or sensitive data.
Implement Web Application Firewall (WAF) rules to validate file extensions and MIME types on upload endpoints; restrict uploaded file access permissions and serve from a separate domain; disable profile picture upload feature until patch/alternative is available; implement strict input validation on the path.extname function; segment affected systems from critical infrastructure; monitor file system for suspicious executable uploads in upload directories.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
EUVD-2026-12253
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB