{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6107 exists.","fix":"No fix has been published for CVE-2025-6107 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-6107 is a low-severity code injection vulnerability in comfyanonymous comfyui, published on 16 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-6107 and fix it if it is affected.\n\nWhat it is: CVE-2025-6107 is a low-severity code injection vulnerability in comfyanonymous comfyui, published on 16 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6107 exists.\n\nAffected product: comfyanonymous comfyui. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-6107/ (Markdown: https://insights.sbomify.com/CVE-2025-6107/index.md)","id":"CVE-2025-6107","markdown":"https://insights.sbomify.com/CVE-2025-6107/index.md","name":"CVE-2025-6107","record":{"aliases":["GHSA-cq2m-wxm4-pqr4"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"ComfyUI web interface","requires_auth":"none","summary":"Remote attackers can exploit dynamic attribute setting in ComfyUI to potentially execute arbitrary code, requiring high complexity and permissions.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":2.3,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"},{"id":"CWE-913","name":"Improper Control of Dynamically-Managed Code Resources"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"comfyanonymous comfyui utils.py set_attr dynamically-determined object attributes","id":"CVE-2025-6107","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":0,"n_references":5,"next":{"headline":"hansonwang99 Spring-Boot-In-Action File Upload ImageUploadService.java watermarkTest path traversal","id":"CVE-2025-6108"},"packages":[],"prev":{"headline":"WuKongOpenSource WukongCRM AdminRoleController.java cross-site request forgery","id":"CVE-2025-6106"},"products":["comfyui"],"published":"2025-06-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-23","vendors":["comfyanonymous"]},"summary":"Remote attackers can exploit dynamic attribute setting in ComfyUI to potentially execute arbitrary code, requiring high complexity and permissions.","url":"https://insights.sbomify.com/CVE-2025-6107/"}