CVE-2024-40442: doccano · Code Injection
Affects doccanoSource CVE Database V5
Not known to be exploited · CVSS 7.2 High.
Data as of 26 Oct 2026, 09:08 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 63% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 Sep 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubdoccano/doccanopkg:github/doccano/doccanoOther threats | Affected
| Fixed in– |
GitHubdoccano/auto-labeling-pipelinepkg:github/doccano/auto-labeling-pipelineOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-40442, organizations should first verify if they are running affected versions of Doccano (v1.8.4) or the Auto Labeling Pipeline module (v0.1.23). Until official patches are released, consider the following specific actions: 1) Restrict network access to Doccano REST API endpoints to trusted internal networks or VPNs to reduce exposure to remote attackers. 2) Enforce strict access controls and least privilege principles on user accounts to minimize the number of users with elevated privileges, as exploitation requires existing privileges. 3) Implement robust input validation and monitoring on REST API requests to detect and block anomalous or malformed requests that could indicate exploitation attempts. 4) Monitor logs for unusual privilege escalation activities or suspicious API calls. 5) Consider deploying Web Application Firewalls (WAFs) with custom rules to detect and block exploitation patterns related to code injection or privilege escalation. 6) Engage with the Doccano community or maintainers for updates and patches, and plan timely upgrades once fixes are available. 7) Isolate annotation environments where possible to limit impact scope. These targeted mitigations go beyond generic advice by focusing on access restriction, monitoring, and proactive detection tailored to the nature of this REST API privilege escalation vulnerability.
Description
An issue in Doccano Open source annotation tools for machine learning practitioners v.1.8.4 and Doccano Auto Labeling Pipeline module to annotate a document automatically v.0.1.23 allows a remote attacker to escalate privileges via a crafted REST Request.