Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach public /api/v1/login endpoint
-
ExploitSubmit regex alternation/prefix in username
-
ExecutionCompare 'Invalid User' vs 'Invalid Password' responses
-
ImpactEnumerate valid accounts for follow-on attacks
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 configuration is required: the regex-injection username enumeration works against a default, internet-reachable Trudesk instance (through 1.2.11) because the POST /api/v1/login handler passes attacker-controlled input into a MongoDB regex query and returns distinguishable 'Invalid User' versus 'Invalid Password' messages. The exploitation is limited strictly to disclosure of valid usernames - it does not grant authentication, code execution, or data modification - and its value depends on the instance being network-reachable to the attacker and on the application still returning the two distinct error responses (behavior that a fix or front-end proxy normalizing login errors would neutralize). |
| Impact | This is a genuinely moderate, not critical, issue - the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) correctly reflects remote, unauthenticated, low-complexity access, but the only impact metric set is VC:L (low confidentiality) with VI:N/VA:N, consistent with CWE-943 regex/NoSQL injection used purely for username enumeration rather than code execution, auth bypass, or data destruction. The 6.9 score is driven by the easy, unauthenticated network reach, not by severe impact. No EPSS score is provided in the input, so exploitation probability cannot be quantified. KEV status is not indicated (not listed), and no POC flag is set, so there is no public exploit identified at time of analysis - though a detailed technical writeup (hackmd) and a VulnCheck advisory exist, which lower the effort to reproduce it. No SSVC decision data is provided. Signals are internally consistent (network vector matches the HTTP endpoint described), so there is no CVSS-versus-description conflict here; the main gap is the absence of EPSS/KEV/SSVC inputs, meaning real-world exploitation frequency is unknown and the practical risk is best treated as an information-disclosure precursor rather than a standalone emergency. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a series of crafted POST requests to /api/v1/login supplying regex patterns such as (admin|root) or a.* in the username field, then compares the server's 'Invalid User' versus 'Invalid Password' responses to confirm which accounts exist. The harvested list of valid usernames is then fed into password-spraying or targeted phishing against the Trudesk instance. No public exploit is identified at time of analysis, but a step-by-step technical writeup is referenced, making reproduction straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 21, 2026
Unauthenticated username enumeration in Trudesk through 1.2.11 allows remote attackers to submit crafted regular-expression patterns to POST /api/v1/login and infer valid accounts from distinguishable 'Invalid User' versus 'Invalid Password' responses. The issue is a regex/NoSQL injection in the login lookup (CWE-943) with low confidentiality impact; no public exploit identified at time of analysis and no CISA KEV confirmation. The CVSS 4.0 score is 6.9, and the independent assessment rates it CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
RemediationAI
No vendor-released patch identified at time of analysis; no exact fixed version is listed in the provided data, so upgrade to the first Trudesk release after 1.2.11 once the vendor publishes it and confirm details with the advisory at https://www.vulncheck.com/advisories/trudesk-through-1.2.11-username-enumeration-via-regex-injection-in-api-v1-login. In the meantime, change the login handler to treat the username as a literal string by escaping regex metacharacters or removing $regex usage, and return one generic error such as 'Invalid credentials' for both unknown usernames and bad passwords; this eliminates the enumeration oracle but reduces login diagnostics. Deployments that cannot patch should restrict POST /api/v1/login to trusted networks via reverse proxy or VPN, rate-limit login attempts, and add WAF rules that reject regex metacharacters in the username field; these controls have trade-offs in usability and false positives.
Affected VersionsENISA
Affected Packages
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
Trudesk is a Node.js helpdesk application backed by MongoDB, and the vulnerable login flow passes user-controlled username input into a MongoDB query that supports regular-expression matching. CWE-943 (Improper Neutralization of Special Elements in Data Query Logic) describes the root cause: regex metacharacters such as alternation and wildcards are not neutralized before the value is used in the account lookup. The referenced code in src/models/user.js lines 310-319 and src/controllers/api/v1/common.js lines 45-65 shows where the login API builds and handles the user query; the CPE cpe:2.3:a:polonel:trudesk:*:*:*:*:*:*:*:* represents the product line with a wildcard, and the advisory scopes affected releases through 1.2.11. Impact is limited to username disclosure via the differing error strings, not authentication bypass, data modification, or code execution.
Know when Trudesk 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
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
Remote unauthenticated login endpoint gives AV:N/AC:L/PR:N/UI:N; impact is limited to username disclosure, so C:L with I:N/A:N and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Trudesk through 1.2.11 contains a regular expression injection vulnerability that allows unauthenticated attackers to enumerate usernames by submitting regex patterns to POST /api/v1/login. Attackers can send alternations or prefixes like (admin|root) or a.* and distinguish 'Invalid User' from 'Invalid Password' responses to discover valid accounts.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
Unrestricted Upload of File with Dangerous Type in GitHub repository polonel/trudesk prior to 1.2.4. Rated critical seve
Incorrect Use of Privileged APIs in GitHub repository polonel/trudesk prior to 1.2.4. Rated critical severity (CVSS 9.8)
Weak Password Requirements in GitHub repository polonel/trudesk prior to 1.2.2. Rated critical severity (CVSS 9.8), this
Execution with Unnecessary Privileges in GitHub repository polonel/trudesk prior to 1.2.3. Rated high severity (CVSS 8.8
Improper Privilege Management in GitHub repository polonel/trudesk prior to 1.2.2. Rated high severity (CVSS 8.8), this
Incorrect Synchronization in GitHub repository polonel/trudesk prior to 1.2.3. Rated high severity (CVSS 8.1), this vuln
Unrestricted Upload of File with Dangerous Type in GitHub repository polonel/trudesk prior to 1.2.2. Rated high severity
The trudesk application allows large characters to insert in the input field "Full Name" on the signup field which can a
Improper Restriction of Rendered UI Layers or Frames in GitHub repository polonel/trudesk prior to 1.2.2. Rated medium s
Use of Incorrect Operator in GitHub repository polonel/trudesk prior to 1.2.3. Rated medium severity (CVSS 6.5), this vu
Integer Overflow or Wraparound in GitHub repository polonel/trudesk prior to 1.2.2. Rated medium severity (CVSS 6.5), th
Allowing long password leads to denial of service in polonel/trudesk in GitHub repository polonel/trudesk prior to 1.2.2
EUVD-2026-107248
GHSA-m446-w75v-4fjm
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB