CVE-2025-13081: Drupal/core Drupal Core Allows Object Injection Vulnerability
MODERATECVE-2025-13081 is a MODERATE (CVSS 5.9) drupal core allows object injection vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Drupal/core libraries in the Packagist ecosystem. The issue involves drupal core allows object injection. Remediation is available by upgrading affected packages to version 10.4.9, 10.5.6, 11.1.9, 11.2.8.
CVE-2025-13081 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2025-13081
To remediate this vulnerability, upgrade all affected Drupal/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade drupal/core to 10.4.9
Upgrade drupal/core to 10.5.6
Upgrade drupal/core to 11.1.9
Upgrade drupal/core to 11.2.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for drupal/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-13081, inspect your project dependencies for Drupal/core:
inspect dependencies for drupal/core
Analyze the terminal output to locate any version of Drupal/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.4.9), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Drupal/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-13081 Affected Drupal/core Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
drupal/core
|
Packagist |
≥ 8.0.0
< 10.4.9
|
10.4.9
|
|
drupal/core
|
Packagist |
≥ 10.5.0
< 10.5.6
|
10.5.6
|
|
drupal/core
|
Packagist |
≥ 11.0.0
< 11.1.9
|
11.1.9
|
|
drupal/core
|
Packagist |
≥ 11.2.0
< 11.2.8
|
11.2.8
|
References
Frequently Asked Questions
What is CVE-2025-13081?
Which Drupal/core versions are affected?
What version fixes CVE-2025-13081?
Is drupal/core affected?
What is the CVSS score of CVE-2025-13081?
What CWE is associated with CVE-2025-13081?
How can I check Packagist dependencies for CVE-2025-13081?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m6vv-vcj8-w8m7",
"modified" : "2025-11-18T21:39:36Z",
"published" : "2025-11-18T18:32:53Z",
"aliases" : [ "CVE-2025-13081" ],
"summary" : "Drupal core allows Object Injection",
"details" : "Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in Drupal Drupal core allows Object Injection. This issue affects Drupal core: from 8.0.0 before 10.4.9, from 10.5.0 before 10.5.6, from 11.0.0 before 11.1.9, from 11.2.0 before 11.2.8.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "10.4.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.5.0"
}, {
"fixed" : "10.5.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.0.0"
}, {
"fixed" : "11.1.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.2.0"
}, {
"fixed" : "11.2.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-13081"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/drupal/core"
}, {
"type" : "WEB",
"url" : "https://www.drupal.org/sa-core-2025-006"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502", "CWE-915" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-18T21:39:36Z",
"nvd_published_at" : "2025-11-18T17:15:58Z"
}
}