Image in WSL do not work.
Resolved 💬 8 comments Opened Oct 3, 2025 by jamneutrino Closed Nov 14, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
0.44
Which model were you using?
5-Codex
What platform is your computer?
Windows via WSL
What steps can reproduce the bug?
Copy/Pasting an image or dragging image into the CLI
What is the expected behavior?
It should be an image readable by the Model
What do you see instead?
SImply a path to the image
Additional information
_No response_
8 Comments
Potential duplicates detected:
Powered by Codex Action
This used to work?
Same
OS: Windows 11
Codex-Cli version : 0.46 installed with npm install -g @openai/codex
Execute WSL
move to project directory
type codex for start codex-cli
paste image not working
paste image not working also
paste image not working also
Summary (WSL): image paste/drag does not attach the actual image
C:\Users\me\Desktop\shot.png(or nothing), so the TUI never receives an image payload.Environment
Expected
Actual
C:\...path inserted in the composer; no image attached.Root cause (why this happens)
---
Product enhancement proposal
If Codex detects that paste/drag produced a Windows path (not binary), it could:
~/.codex/tmp/images/<sha>.pngor project-local./.codex/tmp/images/),This would make drag-and-drop usable in WSL without requiring users to switch to
--imagemanually.Pull request: https://github.com/openai/codex/pull/5644
Closing in favor of #3939