---
id: CVE-2026-114396
title: Trudesk through 1.2.11 MongoDB $where Injection via tickets search API
summary: >-
  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…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-943
vendor: polonel
product: trudesk
affected:
  - trudesk <= 1.2.11
published: '2026-10-21'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T12:39:50.810Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-114396'
references:
  - url: 'https://hackmd.io/@leediay/multiple-vuln-trudesk-1211'
  - url: >-
      https://github.com/polonel/trudesk/blob/v1.2.11/src/models/ticket.js#L1184-L1215
  - url: 'https://github.com/polonel/trudesk'
  - url: >-
      https://www.vulncheck.com/advisories/trudesk-through-1.2.11-mongodb-where-injection-via-tickets-search-api
    label: >-
      VulnCheck Advisory: Trudesk through 1.2.11 MongoDB $where Injection via
      tickets search API
tags:
  - cve.org
ingestedAt: '2026-10-21T12:48:53.654Z'
---

## Overview

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.

## Affected

- `trudesk <= 1.2.11`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
