Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-109165 Overview
CVE-2026-109165 is a broken access control vulnerability in TDuck survey form through version 6.0. The flaw resides in the POST /user/form/item/batch/create endpoint of the UserFormController, which fails to verify that every form item in a submitted batch belongs to the authenticated user. Authenticated attackers can submit a batch request where the first element references a form they own and subsequent elements reference a victim's formKey. This injects attacker-controlled fields into the victim's public fill page without the victim's consent. The weakness is categorized as CWE-639, Authorization Bypass Through User-Controlled Key.
Critical Impact
Any authenticated TDuck user can modify form fields on other users' public survey forms, enabling data integrity attacks and phishing-style content injection.
Affected Products
- TDuck survey form through 6.0
- tduck-api component containing UserFormController
- Public fill pages served by the affected TDuck backend
Discovery Timeline
- 2026-10-12 - CVE-2026-109165 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-109165
Vulnerability Analysis
The vulnerability sits in the batch item creation handler of UserFormController in tduck-api. The endpoint accepts an array of form item objects, each carrying a formKey field that identifies the parent form. The controller validates ownership using only the first element in the array or an aggregate check, then persists every subsequent element without re-checking the formKey against the authenticated principal. An attacker crafts a payload where element zero points to their own form and later elements point to a victim's formKey. The server trusts the user-controlled key and attaches the attacker's items to the victim's form. The victim's public fill page then renders the injected fields to every respondent. This is a classic Insecure Direct Object Reference pattern driven by the formKey parameter.
Root Cause
The root cause is missing per-item authorization. The handler treats formKey as a trusted identifier instead of enforcing that each submitted item references a form owned by the current session user. There is no server-side filter that intersects the submitted formKey values with the user's owned form set before the batch insert.
Attack Vector
Exploitation requires only a low-privileged authenticated account on the target TDuck instance. The attacker registers or logs in, enumerates or guesses a victim formKey (surveys are typically distributed with the key embedded in public URLs), and issues a single HTTP POST to /user/form/item/batch/create. No user interaction from the victim is needed for the injection itself; respondents only encounter the injected fields when they open the public fill page.
// Vulnerability mechanism (prose description, no verified PoC code reproduced here)
// Reference PoC: see external advisory and the AnkesKasty cve-request-poc repository.
// Reference source: UserFormController.java lines 327-336 in the TDuckCloud/tduck-survey-form repository.
For technical details see the VulnCheck advisory on TDuck, the UserFormController source, and the public PoC script.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-109165
Indicators of Compromise
- Unexpected new form items appearing on surveys the owning user did not edit, especially fields prompting for credentials, payment data, or external links.
- Application logs showing POST /user/form/item/batch/create requests where submitted formKey values do not match forms owned by the authenticated session user.
- Batch create requests containing mixed formKey values across array elements within a single request body.
Detection Strategies
- Instrument the UserFormController batch create handler to log each submitted formKey, the authenticated user ID, and the resolved form owner for correlation.
- Alert when a single HTTP request writes items to more than one formKey, or to a formKey not owned by the requester.
- Review database audit trails for form item inserts where the item's parent form owner differs from the user who issued the inserting request.
Monitoring Recommendations
- Baseline normal batch create volumes per user and alert on sudden spikes, which often precede mass injection attempts.
- Monitor public fill pages for unexpected field churn by diffing rendered field lists against the last known-good snapshot.
- Forward TDuck application and web server logs to a centralized analytics platform to enable cross-form correlation and historical hunting.
How to Mitigate CVE-2026-109165
Immediate Actions Required
- Restrict network exposure of the TDuck administration and API endpoints to trusted networks or authenticated reverse proxies until a patched build is deployed.
- Audit all forms for unexpected items and remove any injected fields before further distribution of public fill URLs.
- Rotate formKey values on any surveys suspected of tampering so previously harvested keys cannot be reused.
Patch Information
At the time of publication, the enriched CVE data does not list a fixed version from the TDuck project. Operators should track the TDuckCloud/tduck-survey-form repository and the VulnCheck advisory for an official fix. A correct patch must enforce, for every element in the batch, that the submitted formKey resolves to a form owned by the authenticated user before inserting any items.
Workarounds
- Disable or firewall the POST /user/form/item/batch/create route at a reverse proxy if batch item creation is not required by your deployment.
- Add a server-side filter or interceptor that rejects batch requests containing more than one distinct formKey or any formKey not owned by the session user.
- Reduce the exploit surface by requiring stronger onboarding controls so that anonymous users cannot trivially obtain authenticated accounts on the instance.
# Example reverse proxy mitigation (nginx) to block the vulnerable endpoint
# until a vendor patch is applied.
location = /user/form/item/batch/create {
return 403;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

