{"schema":"threatline.record/2","record":{"id":"CVE-2024-11042","aliases":["GHSA-227r-w5j2-6243","PYSEC-2026-358"],"summary":"InvokeAI Arbitrary File Deletion vulnerability","details":"In invoke-ai/invokeai version v5.0.2, the web API `POST /api/v1/images/delete` is vulnerable to Arbitrary File Deletion. This vulnerability allows unauthorized attackers to delete arbitrary files on the server, potentially including critical or sensitive system files such as SSH keys, SQLite databases, and configuration files. This can impact the integrity and availability of applications relying on these files.","categories":["Libraries & packages"],"product":"InvokeAI","vendor":"invoke-ai","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-227r-w5j2-6243","source_modified_at":"2026-10-27T16:49:47Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"pip","name":"InvokeAI"},"range":"< 5.3.0rc1"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-11042","source_modified_at":"2025-10-15T12:49:27.422Z","fetched_at":"2026-10-27T21:14:11.489891Z","product":"invoke-ai/invokeai","vendor":"invoke-ai","versions":[{"version":"unspecified","lessThan":"5.3.0","status":"affected","versionType":"custom"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-227r-w5j2-6243","source_modified_at":"2026-10-27T17:00:03.982853471Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"invokeai","ecosystem":"PyPI","purl":"pkg:pypi/invokeai"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.0rc1"}]}],"versions":["2.2.4.5","2.2.4.6","2.2.4.7","2.2.5","2.3.0","2.3.0a0","2.3.0a1","2.3.0a2","2.3.0a3","2.3.0rc3","2.3.0rc4","2.3.0rc5","2.3.0rc6","2.3.0rc7","2.3.1","2.3.1.post1","2.3.1.post2","2.3.1rc4","2.3.2","2.3.2.post1","2.3.3","2.3.3rc1","2.3.4","2.3.4.post1","2.3.4a0","2.3.4rc1","2.3.5","2.3.5.post1","2.3.5.post2","2.3.5rc1","3.0.0","3.0.1","3.0.1.post1","3.0.1.post2","3.0.1.post3","3.0.1rc1","3.0.1rc2","3.0.2","3.0.2.post1","3.0.2a1","3.0.2rc1","3.1.0","3.1.1","3.1.1rc1","3.2.0","3.3.0","3.3.0.post1","3.3.0.post2","3.3.0.post3","3.4.0"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-227r-w5j2-6243","source_modified_at":"2026-10-27T16:49:47Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"pip","name":"InvokeAI"},"version":"5.3.0rc1"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-11042","source_modified_at":"2025-10-15T12:49:27.422Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"invoke-ai/invokeai","ecosystem":null},"version":"5.3.0","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-227r-w5j2-6243","source_modified_at":"2026-10-27T17:00:03.982853471Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"invokeai","ecosystem":"PyPI","purl":"pkg:pypi/invokeai"},"version":"5.3.0rc1"}],"cvss":9.1,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.01564,"percentile":0.75153,"score_date":"2026-10-27"},"published_at":"2025-03-20T10:08:52.134Z","modified_at":"2026-10-27T17:00:03.982853471Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-227r-w5j2-6243","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T16:49:47Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-11042","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2025-10-15T12:49:27.422Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-227r-w5j2-6243","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T17:00:03.982853471Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-11042","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-11042","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/invoke-ai/invokeai/commit/5440c037674882b2ab7acd59087e9bb04b49657a"},{"source":"CVE List","url":"https://huntr.com/bounties/635535a7-c804-4789-ac3a-48d951263987"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/invokeai/PYSEC-2026-358.yaml","source":"GitHub Advisory Database"},{"url":"https://pypi.org/project/invokeai","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-227r-w5j2-6243","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial","assessed_at":"2025-03-20T17:54:43.743170Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-27T17:00:03.982853471Z","content_hash":"9dbf6ca3d914555401c52d70e63aec4a0e4287a7fdd3f62c1924ce1fb1ed2e92"}}
