Vulnerability advisory

DRUPAL-CORE-2026-009

Published Updated OSV record ↗

Also known as BIT-drupal-2026-55808CVE-2026-55808

Severity

Severity not reported.

Affected versions

AffectedFixed in
All versions before 10.5.1210.5.12Advisories →
10.6.0 to before 10.6.1110.6.11Advisories →
11.2.0 to before 11.2.1411.2.14Advisories →
11.3.0 to before 11.3.1211.3.12Advisories →
11.0.0 to before 11.1.011.1.0Advisories →
11.1.0 to before 11.2.011.2.0Advisories →
Also listed as affected (477)

Description

The JSON:API and REST modules allow you to upload image files to image fields.

The validation rules check the file extension of the uploaded file but not the file MIME type. This may allow a malicious user to upload a file that is not an image.

Certain web-server configurations may serve the uploaded file with its actual MIME type rather than an image type. This may lead to cross-site scripting (XSS) or other unexpected behavior.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools