CVE-2025-6107 Details
Description
A vulnerability was found in comfyanonymous comfyui 0.3.40. It has been classified as problematic. Affected is the function set_attr of the file /comfy/utils.py. The manipulation leads to dynamically-determined object attributes. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A class pollution vulnerability has been identified in ComfyUI version 0.3.40. The issue arises in the 'set_attr' function within 'comfy/utils.py', where the application improperly controls the modification of object attributes. This vulnerability can be exploited remotely, although it requires a high level of complexity and user interaction. The exploitation involves loading a malicious ControlLora model that contains harmful state dictionary key-value pairs, which can then be used to alter internal class attributes in the Python runtime. Such modifications can disrupt the normal operation of the application, leading to a denial-of-service condition.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 16, 2025CISA-ADP
Assessed Jun 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/superboy-zjc/f71b84ed074260a5e459581caa2f1fb2 | [email protected] | ExploitTechnical Description |
| https://gist.github.com/superboy-zjc/f71b84ed074260a5e459581caa2f1fb2#proof-of-concept | [email protected] | ExploitTechnical Description |
| https://vuldb.com/?ctiid.312576 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/?id.312576 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/?submit.590921 | [email protected] | ExploitTechnical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-913 | Improper Control of Dynamically-Managed Code Resources | [email protected] |
| CWE-915 | Improperly Controlled Modification of Dynamically-Determined Object Attributes | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| comfyanonymous comfyui | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Jun 16, 2025 | New CVE Received | [email protected] |
Volerion