CWE-73Weakness · CWE-73

CVE-2025-6237

CRITICAL · 9.8 CVSS v3.0 Published 2025-09-18
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

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 · unedited
A 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 confidence

InvokeAI 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.

MitigationApply 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Confirm InvokeAI installation and version
    Check 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.
  2. Verify the vulnerable API endpoint exists
    Locate 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).
  3. Check if bulk download feature is enabled
    Review 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.
  4. Inspect API access controls
    Examine 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.
  5. Review path traversal protections
    Check 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Apply 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.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,130
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-6237 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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