CVE-2026-51906: TaskingAI DALL-E 3 path traversal in save_url_image

CVE-2026-51906 · Severity: info · Published 2026-10-02

TaskingAI's DALL-E 3 image generation tool contains a path traversal flaw in the save_url_image function that allows attackers to write downloaded images to arbitrary locations on the server by manipulating the project_id parameter. This could enable attackers to overwrite critical system files, inject malicious content, or access restricted directories on the server filesystem.

Technologies: TaskingAI. Vendors: TaskingAI.

Quick answers

Is CVE-2026-51906 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-51906 being exploited in the wild.
How severe is CVE-2026-51906?
Informational severity, published 2 October 2026.
Which products and versions are affected?
TaskingAI v0.3.0.
Is there a fix for CVE-2026-51906?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-51906 attacked?
It is attacked over the network.
Am I affected by CVE-2026-51906?
Check whether you run TaskingAI at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a CWE-22 path traversal in the save_url_image function (plugin/app/service/image_storage.py:64) where user-controlled project_id parameter is concatenated directly into file paths without validation or normalization. An unauthenticated attacker can inject sequences like "../../../" via the X-Project-Id header in POST requests to /v1/execute to write files outside the intended storage directory. A fix exists in the repository (Issue #375 indicates this is being addressed).

Affected products

  • TaskingAI TaskingAI v0.3.0

Timeline

  • 2026-04-20: disclosed
  • 2026-10-02: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.