Vulnerability advisory

DRUPAL-CORE-2025-003

Published Updated OSV record ↗

Also known as BIT-drupal-2025-31674CVE-2025-31674GHSA-2qph-q8xw-gv7q

Severity

Severity not reported.

Affected versions

AffectedFixed in
8.0.0 to before 10.3.1310.3.13Advisories →
10.4.0 to before 10.4.310.4.3Advisories →
11.0.0 to before 11.0.1211.0.12Advisories →
11.1.0 to before 11.1.311.1.3Advisories →
Also listed as affected (383)

Description

Drupal core contains a potential PHP Object Injection vulnerability that (if combined with another exploit) could lead to Arbitrary File Inclusion. Techniques exist to escalate this attack to Remote Code Execution. It is not directly exploitable.

This issue is mitigated by the fact that in order for it to be exploitable, a separate vulnerability must be present to allow an attacker to pass unsafe input to unserialize(). There are no such known exploits in Drupal core.

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