# 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 Remot...

Advisory record · `GHSA-2qph-q8xw-gv7q`

- **Identifiers:** `GHSA-2qph-q8xw-gv7q` · `BIT-drupal-2025-31674` · `CVE-2025-31674` · `DRUPAL-CORE-2025-003` · `PKSA-ctyc-dmct-npkz`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-915](https://cwe.mitre.org/data/definitions/915.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 19 Feb 2025
- **Updated:** 19 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 19 Feb 2025, 17:03 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `drupal/core` (Packagist): affected `>=8.0.0, <10.3.13 || >=10.4.0, <10.4.3 || >=11.0.0, <11.0.12 || >=11.1.0, <11.1.3`; fixed in `10.3.13`, `10.4.3`, `11.0.12`, `11.1.3`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Drupal core versions from 8.0.0 before 10.3.13, from 10.4.0 before 10.4.3, from 11.0.0 before 11.0.12, and from 11.1.0 before 11.1.3 contain a potential PHP Object Injection vulnerability. The vulnerability is not directly exploitable: it would need a separate flaw that lets an attacker pass unsafe input to unserialize(), and the source says no such exploits exist in Drupal core, though it notes that combined with another exploit it could lead to arbitrary file inclusion and possibly remote code execution. Upgrade to Drupal core 10.3.13, 10.4.3, 11.0.12, 11.1.3, or later.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0060, the 49th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 13:55 UTC: First seen by agentprime
- 31 Oct 2026, 13:55 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/DRUPAL-CORE-2025-003)

## Sources

- [GitHub Advisory Database: GHSA-2qph-q8xw-gv7q](https://github.com/advisories/GHSA-2qph-q8xw-gv7q)
- [OSV: GHSA-2qph-q8xw-gv7q](https://osv.dev/vulnerability/GHSA-2qph-q8xw-gv7q)
- <https://www.drupal.org/sa-core-2025-003>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-2qph-q8xw-gv7q>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-2qph-q8xw-gv7q/>. Everything for agents: <https://agentprime.io/llms.txt>.
