AEGIS-2026-0001 — Prompt injection via Markdown image alt-text

HIGH (CVSS 7.5) — An attacker can inject instructions into a model prompt by including carefully crafted Markdown image alt-text. Affects anthropic/claude-3-5-sonnet before 20241022.

AEGIS-2026-0001 — Prompt injection via Markdown image alt-text

FieldValue
CVE-IDAEGIS-2026-0001
SeverityHIGH (CVSS 7.5)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Affectedanthropic/claude-3-5-sonnet@<20241022
Fixedanthropic/claude-3-5-sonnet@20241022
Discovered byAegisGate Research
Disclosed2026-06-01
Published2026-07-29

Description

An attacker can inject instructions into a model prompt by including carefully crafted Markdown image alt-text that is rendered as part of the model’s context window. This vulnerability affects LLM-powered document-processing pipelines that render Markdown content without sanitizing alt-text attributes.

When a document containing malicious alt-text is processed, the alt-text is included in the model’s context as instructions rather than as content, enabling direct prompt injection. The attack exploits the trust boundary between content rendering and instruction following: models treat alt-text as content metadata but process it with the same priority as system instructions. This allows an attacker to exfiltrate data, manipulate outputs, or chain into secondary attacks.

Affected versions include anthropic/claude-3-5-sonnet before 20241022 and similar LLM integrations that render Markdown alt-text without sanitization.

Mitigations

  1. Sanitize Markdown before including in prompts; strip or neutralize alt-text attributes from img tags.
  2. Use Anthropic’s system field with explicit instructions to ignore image alt-text as instructions.
  3. Deploy the Prompt Cache Poisoning Detection primitive to sign and verify prompts entering the LLM cache.

References

Attestation

This entry is signed with ECDSA P-256 and tamper-evident. The signed envelope is available at:

Verify offline:

# Download and verify
curl -s https://aegisgatesecurity.io/.well-known/AEGIS-2026-0001.json | aegisgate cve verify -

Verify in Go:

vr, err := cve.VerifyJSON(ctx, envelopeBytes)
if err != nil { /* handle */ }
fmt.Println("Valid:", vr.Valid)  // true
fmt.Println("CVE-ID:", vr.Entry.ID)  // AEGIS-2026-0001

← Back to CVE Feed