CVE-2025-6237
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA vulnerability in invokeai version v6.0.0a1 and below allows attackers to perform path traversal and arbitrary file deletion via the GET /api/v1/images/download/{bulk_download_item_name} endpoint. By manipulating the filename arguments, attackers can read and delete any files on the server, including critical system files such as SSH keys, databases, and configuration files. This vulnerability results in high confidentiality, integrity, and availability impacts.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceInvokeAI versions v6.0.0a1 and below contain a path traversal vulnerability in the GET /api/v1/images/download/{bulk_download_item_name} endpoint. Attackers can manipulate the filename parameter to read and delete arbitrary files on the server, including critical system files like SSH keys, databases, and configuration files.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm InvokeAI installation and versionCheck the installed InvokeAI version by reviewing the package metadata or running 'invokeai --version' if CLI is available. Compare against v6.0.0a1 - versions at or below this are affected.Affected if The installed version is v6.0.0a1 or any version below it.
-
Verify the vulnerable API endpoint existsLocate the InvokeAI API server configuration or running process. Identify if the endpoint /api/v1/images/download/ is exposed and accessible.Affected if The InvokeAI API server is running with the /api/v1/images/download/ endpoint accessible (no network segmentation or authentication protecting it).
-
Check if bulk download feature is enabledReview InvokeAI configuration files (typically in config or settings files) to determine if the image download functionality under /api/v1/images/download/ is enabled.Affected if The bulk_download_item_name parameter processing is enabled in the InvokeAI deployment.
-
Inspect API access controlsExamine the API server's authentication and authorization settings. Verify whether unauthenticated or low-privilege users can access the download endpoint.Affected if The endpoint is accessible without proper access controls or authentication is not enforced.
-
Review path traversal protectionsCheck if there are any Web Application Firewall (WAF) rules, reverse proxy filters, or application-level input validation that blocks path traversal sequences like '../' in the bulk_download_item_name parameter.Affected if No input validation or path traversal protection is implemented for the filename parameter.
A user is affected if they are running InvokeAI version v6.0.0a1 or below with the /api/v1/images/download/ endpoint exposed and accessible, and without input validation blocking path traversal sequences in the bulk_download_item_name parameter.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataApply available patches for InvokeAI that include proper input validation and sanitization on the bulk_download_item_name parameter to prevent path traversal sequences (e.g., ../). Implement allowlist validation for permitted filenames and restrict file operations to designated directories.
- Consultation3.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,408.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-6237 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-6237 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data