CVE-2026-114396

Trudesk through 1.2.11 MongoDB $where Injection via tickets search API

Published Oct 21, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
Trudesk through 1.2.11 contains a server-side JavaScript injection vulnerability that allows authenticated users to inject code into a MongoDB $where clause via the search parameter. Attackers can close the regular expression in GET /api/v1/tickets/search to loop mongod for denial of service or leak full ticket documents including internal notes.

Analysis

AI-generated

Technical impact

Trudesk before version 1.2.12 includes a server‑side JavaScript injection flaw that lets an authenticated user insert arbitrary code into the MongoDB $where clause via the tickets search API. By closing the regular expression in the GET /api/v1/tickets/search request, an attacker can cause the database to execute a tight loop that exhausts resources, resulting in a denial of service, or retrieve the complete ticket documents, exposing internal notes and other sensitive data. This is a direct impact on confidentiality and availability because the attacker can read sensitive information and interrupt normal service operation.

Affected Systems

The affected products are Trudesk, developed by polonel, in all releases up to and including 1.2.11. The vulnerability exists for any deployment that exposes the API to authenticated users.

Risk and Exploitability

The CVSS score is 7.1, indicating a high severity vulnerability. This flaw corresponds to CWE‑943, server‑side JavaScript injection. No EPSS score is available, and the issue is not listed in CISA KEV. The attack vector requires authenticated access to the API, so users with valid credentials can exploit the flaw. Exploitation is relatively straightforward: submit a crafted search query with a malicious $where expression. Once triggered, the system may become unresponsive or leak confidential data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check Trudesk's vendor website for the latest release that addresses this vulnerability, and upgrade to that version when available.
  • If an upgrade cannot be performed immediately, limit API access to trusted users and validate the search parameter to reject malformed or overly complex queries.
  • Enforce least‑privilege authentication so that only users who truly need search access can use the endpoint.

Generated by OpenCVE AI on October 21, 2026 at 18:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Trudesk through 1.2.11 contains a server-side JavaScript injection vulnerability that allows authenticated users to inject code into a MongoDB $where clause via the search parameter. Attackers can close the regular expression in GET /api/v1/tickets/search to loop mongod for denial of service or leak full ticket documents including internal notes.
Title Trudesk through 1.2.11 MongoDB $where Injection via tickets search API
First Time appeared Trudesk Project
Trudesk Project trudesk
Weaknesses CWE-943
CPEs cpe:2.3:a:trudesk_project:trudesk:*:*:*:*:*:*:*:*
Vendors & Products Trudesk Project
Trudesk Project trudesk
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 21, 2026, 8:04 PM
Reserved
Oct 21, 2026, 11:46 AM
Status
Analyzed
Published
Oct 21, 2026, 1:18 PM
Modified
Oct 30, 2026, 2:21 PM