p PatchFirst

CVE-2026-46580

CVE-2026-46580

This page contains facts from public vulnerability sources. Check the original advisory before updating.

In Eclipse Theia versions prior to 1.71.0, files matching the pattern .prompts/*.prompttemplate in a workspace were automatically loaded and could override or extend the AI agent's system prompts. An attacker could craft a malicious repository containing prompt template files that, when the workspace was opened in Theia, replaced the AI's system instructions with attacker-controlled content (indirect prompt injection). Combined with other AI chat features available in untrusted workspaces, this enabled attack chains leading to data exfiltration via Markdown image rendering or arbitrary command execution via task definitions.

CVSS 8.4 · High · EPSS 0.5% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • eclipse theia

    Versions
    • ≥ 0, < 1.71.0: Affected (semver)

    Update to 1.71.0

  • @theia/ai-chat-ui npm

    Affected ranges
    • SEMVER: < 1.71.0

    Update to 1.71.0

  • @theia/ai-chat npm

    Affected ranges
    • SEMVER: < 1.71.0

    Update to 1.71.0

  • @theia/ai-claude-code npm

    Affected ranges
    • SEMVER: < 1.71.0

    Update to 1.71.0

  • @theia/ai-code-completion npm

    Affected ranges
    • SEMVER: < 1.71.0

    Update to 1.71.0

  • @theia/ai-core npm

    Affected ranges
    • SEMVER: < 1.71.0

    Update to 1.71.0

  • @theia/ai-editor npm

    Affected ranges
    • SEMVER: < 1.71.0

    Update to 1.71.0

  • eclipse Ubuntu:16.04:LTS

    Versions
    • 3.8.1-8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • eclipse Ubuntu:18.04:LTS

    Versions
    • 3.8.1-10
    • 3.8.1-11
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →