{"answers":{"affected":"3 open source packages ship an affected version, including invokeai and InvokeAI.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-10821 exists.","fix":"No fix has been published for CVE-2024-10821 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-10821 is a high-severity denial of service vulnerability in invoke-ai/invokeai, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-10821 and fix it if it is affected.\n\nWhat it is: CVE-2024-10821 is a high-severity denial of service vulnerability in invoke-ai/invokeai, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-10821 exists.\n\nAffected packages and fixed versions:\n- invokeai (PyPI): affected all versions up to 5.0.2; no fix listed\n- invokeai (PyPI): affected all versions up to 5.0.2; no fix listed\n- InvokeAI (PyPI): affected all versions up to 5.0.2; no fix listed\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-2024-10821/ (Markdown: https://insights.sbomify.com/CVE-2024-10821/index.md)","id":"CVE-2024-10821","markdown":"https://insights.sbomify.com/CVE-2024-10821/index.md","name":"CVE-2024-10821","record":{"aliases":["GHSA-6f6x-f56q-5xgv","PYSEC-2026-1466"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"AI image generation server","requires_auth":"none","summary":"Unauthenticated attackers can cause a complete denial of service by sending malformed multipart requests to the image upload endpoint.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"description":"A Denial of Service (DoS) vulnerability in the multipart request boundary processing mechanism of the Invoke-AI server (version v5.0.1) allows unauthenticated attackers to cause excessive resource consumption. The server fails to handle excessive characters appended to the end of multipart boundaries, leading to an infinite loop and a complete denial of service for all users. The affected endpoint is `/api/v1/images/upload`.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2026-05-19","github_poc":2,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-19T22:25:36Z","kind":"github_poc","ref":"https://github.com/dannyEndorTest/invokeai","stars":0,"title":"EXPOSURE demo target (invokeai) — HOT baseline for CVE-2024-10821. See README."},{"date":"2026-05-20T04:16:48Z","kind":"github_poc","ref":"https://github.com/dannyEndorTest/invokeai-consumer","stars":0,"title":"Demo consumer for invokeai 5.0.1 (CVE-2024-10821; version named in CVE prose) — endorctl scan target"}],"tier":"weaponised"},"has_fix":false,"headline":"Denial of Service (DoS) in invoke-ai/invokeai","id":"CVE-2024-10821","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":3,"n_references":1,"next":{"headline":"Missing authorization in Enterprise Server","id":"CVE-2024-10824"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["5.0.2"],"package":"InvokeAI","purl":null,"source":"GHSA-6f6x-f56q-5xgv"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["5.0.2"],"package":"invokeai","purl":"pkg:pypi/invokeai","source":"GHSA-6f6x-f56q-5xgv"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["5.0.2"],"package":"invokeai","purl":"pkg:pypi/invokeai","source":"PYSEC-2026-1466"}],"prev":{"headline":"WooCommerce Upload Files \u003c= 84.3 - Unauthenticated Arbitrary File Upload","id":"CVE-2024-10820"},"products":["invoke-ai/invokeai"],"published":"2025-03-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-15","vendors":["invoke-ai"]},"summary":"Unauthenticated attackers can cause a complete denial of service by sending malformed multipart requests to the image upload endpoint.","url":"https://insights.sbomify.com/CVE-2024-10821/"}