Unauthenticated arbitrary file upload via unchecked extension
Published Mar 15, 2026 · Updated Mar 15, 2026
Unrestricted file upload in JawherKl node-api-postgres 2.0 through 2.5 allows remote attackers to store arbitrary files. The profile-picture route passes the original filename to path.extname and writes the upload under that extension without a type allowlist or content check. The route has no authentication gate, and the uploads directory is web-accessible, exposing attacker-supplied content from the server origin.
Summary
What happened
Unrestricted file upload in JawherKl node-api-postgres 2.0 through 2.5 allows remote attackers to store arbitrary files. The profile-picture route passes the original filename to path.extname and writes the upload under that extension without a type allowlist or content check. The route has no authentication gate, and the uploads directory is web-accessible, exposing attacker-supplied content from the server origin.
The record
- CVE
- CVE-2026-4191
- Published
- Mar 15, 2026
- Updated
- Mar 15, 2026
- Vendor
- JawherKl
- Product
- node-api-postgres
- Classifications
- CWE-434, CWE-284, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 15, 2026CVE publishedPublication date reported by the CVE source.
- Mar 15, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.0
- Affected versionversion=2.1
- Affected versionversion=2.2
- Affected versionversion=2.3
- Affected versionversion=2.4
- Affected versionversion=2.5
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CVE-2026-4191 profile-picture upload proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo