Skip to main content

Openwhyd EUVDEUVD-2026-118293

| CVE-2026-123617 MEDIUM
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-11-06 VulnCheck GHSA-224m-3wgx-rg59
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach public POST /api/user endpoint
  2. Delivery
    Submit JSON object as id parameter
  3. Exploit
    Inject MongoDB operator ($ne) past string guard
  4. Execution
    Query returns another user's record
  5. Impact
    Enumerate users' public profile data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
Exploitation Conditions

No special conditions - remote unauthenticated exploitation against default configurations of Openwhyd via POST /api/user, as confirmed by the vendor advisory and its curl PoC. The only prerequisite is network reachability of the API endpoint. Exploitation is limited in impact rather than access: the public code path enables excludePrivateFields, so the response discloses only projected partial public profile fields (such as _id, id, mid) and does not expose passwords or email addresses. All instances at version 1.65.0 or earlier are affected; upgrading to 1.65.1 removes the flaw.

Impact

This is a genuine but moderate-severity issue, correctly rated rather than inflated. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms remote, unauthenticated, low-complexity exploitation with no user interaction, which maps to a real priority for exposure; however, the only impact metric set is VC:L (low confidentiality), with VI:N, VA:N, SC/SI/SA:N - meaning no integrity, availability, or scope-change consequences. The GHSA advisory and vendor confirm the disclosure is limited to partial public profile records (the public path enables excludePrivateFields, so passwords and email addresses are not exposed), which is why the score sits at 6.9/medium rather than critical. No EPSS score, no CISA KEV listing, and no SSVC decision were provided; the only prioritization signal is the vuln.today 'this_month' decision label, consistent with a patch-promptly-but-not-emergency posture. A concrete working PoC (a single curl command) is published in the GHSA advisory, so exploitation is trivial, but the bounded confidentiality-only impact keeps real-world risk contained. Net: real and easily exploitable, but the limited data exposure and niche product footprint make this a schedule-the-patch issue rather than a drop-everything one.

Exploit ScenarioDerived

An unauthenticated attacker sends a POST request to /api/user with a JSON body where the id parameter is an object such as {"id":{"$ne":"..."}} instead of a scalar string. Because the guard only rejected invalid string IDs, the object passes unchanged to MongoDB findOne, letting the attacker select arbitrary users and enumerate their public profile records. A working curl PoC demonstrating this is published in the vendor GHSA advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 06, 2026

Unauthenticated NoSQL injection in Openwhyd 1.65.0 and earlier lets a remote attacker send a JSON object instead of a scalar user id in the POST /api/user body, so MongoDB query operators such as $ne or $gt reach the underlying findOne filter and match a different user record than the one requested. The result is disclosure of another user's projected public profile only - the public code path applies excludePrivateFields, so passwords and email addresses are not exposed. The vendor advisory documents a working curl proof-of-concept request, exploitation is limited to information disclosure (integrity and availability are unaffected), and there is no confirmed active exploitation (CISA KEV) at time of analysis.

RemediationAI

Vendor-released patch: upgrade to Openwhyd 1.65.1 or later, which is the fix published in release v1.65.1 (https://github.com/openwhyd/openwhyd/releases/tag/v1.65.1). The corresponding fix is commit 167c45d6754df0adb3415f71cbd7cde91cbe7874 (https://github.com/openwhyd/openwhyd/commit/167c45d6754df0adb3415f71cbd7cde91cbe7874), and the full vendor advisory with the reproduction request is GHSA-hfg3-vq24-hprp (https://github.com/openwhyd/openwhyd/security/advisories/GHSA-hfg3-vq24-hprp). Backporting the change means adding the toObjectIdOrNull helper in app/models/mongodb.js (accept only an ObjectId instance or a valid ObjectId string, return null otherwise) and routing every user lookup - fetchByUid, fetchAndProcessUserById, fetchUserNameById and fetchUserNamesByIds - plus the non-string rejection in the handle-based path through it before the MongoDB filter is built; the same commit also adds an explicit typeof uidOrHandle !== 'string' guard in the /api/user controller. If the upgrade must be staged, note that the only prerequisite for exploitation is network reachability of POST /api/user, so reducing external exposure of that endpoint limits the attack surface until the patched version is deployed.

Affected VersionsENISA

openwhyd 0 <1.65.1

Affected Packages

euvd openwhyd fix: 1.65.1

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

Openwhyd is a Node.js/Express web application backed by MongoDB, and the vulnerable sink is the users collection lookup in app/models/user.js. The controller for POST /api/user passes request.body.id through to fetchByUid, whose pre-patch guard only rejected strings that failed an ObjectId format check; any non-string type - including a JSON object carrying MongoDB operators - fell through unchanged and was handed to findOne as { _id: <attacker object> }. This is CWE-943 (improper neutralization of special elements in a data query), the NoSQL analogue of SQL injection: the operator object is interpreted as query logic rather than as data, so {"$ne": "<non-existent id>"} selects an arbitrary first document satisfying the predicate and enables enumeration of other accounts' public profile records. The upstream fix adds a toObjectIdOrNull helper in app/models/mongodb.js that accepts only a real ObjectId instance or a valid ObjectId string and returns null for everything else, and it threads that normalization through fetchByUid, fetchAndProcessUserById, fetchUserNameById and fetchUserNamesByIds, plus an explicit non-string rejection in the handle-based lookup. The affected CPE is cpe:2.3:a:openwhyd:openwhyd:*:*:*:*:*:*:*:* with the vulnerable range documented by the project as <=1.65.0.

Know when Openwhyd 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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Remote unauthenticated POST with no interaction gives AV:N/AC:L/PR:N/UI:N; impact is partial public-profile disclosure only, so C:L, I:N, A:N, scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

Openwhyd before 1.65.1 contains a NoSQL injection vulnerability that allows unauthenticated attackers to manipulate user lookups by passing JSON objects in the id parameter. Attackers can send MongoDB query operators such as $ne or $gt to POST /api/user to select and enumerate other users' public profile records.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Rare
small open-source community music platform, minimal production footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 No
EPSS 0.4%
Patch available Yes
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.

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