Skip to main content

PostgreSQL EUVDEUVD-2026-12253

| CVE-2026-4191 MEDIUM
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-03-15 VulDB
5.5
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send POST request with crafted filename
  2. Exploit
    Bypass path.extname validation
  3. Execution
    Upload malicious file
  4. Impact
    Execute 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

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

node-api-postgres 2.2
node-api-postgres 2.5
node-api-postgres 2.1
node-api-postgres 2.3
node-api-postgres 2.0
node-api-postgres 2.4

Affected Packages

euvd node_api_postgres no fix

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

NVD PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
CVSS changed
Apr 29, 2026 - 01:11 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
Severity Changed
Apr 22, 2026 - 21:37 NVD
HIGH MEDIUM
CVSS changed
Apr 22, 2026 - 21:37 NVD
7.3 (HIGH) 6.9 (MEDIUM)
PoC Detected
Mar 16, 2026 - 14:53 vuln.today
Public exploit code
CVE Published
Mar 15, 2026 - 20:02 nvd
HIGH 7.3

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 89% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

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

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

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

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy