BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2018-20148 in Debian Linux and 1 more product

Critical 9.8

In WordPress before 4.9.9 and 5.x before 5.0.1, contributors could conduct PHP object injection attacks via crafted metadata in a wp.getMediaItem XMLRPC call. This is caused by mishandling of serialized data at phar:// URLs in the wp_get_attachment_thumb_file function in wp-includes/post.php.

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.09.8
EPSS26.8%
EPSS percentile98th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 8.0 9.0
Wordpress Wordpress < 4.9.9 ≥ 5.0, < 5.0.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

In WordPress before 4.9.9 and 5.x before 5.0.1, contributors could conduct PHP object injection attacks via crafted metadata in a wp.getMediaItem XMLRPC call. This is caused by mishandling of serialized data at phar:// URLs in the wp_get_attachment_thumb_file function in wp-includes/post.php.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2018-20148
BreachSpider IDBS-2018-GLOBAL-200985-C
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2018-12-14
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-502: Deserialization of Untrusted Data

Software deserializes untrusted data without validation, allowing crafted objects to execute arbitrary code.

Related attack patterns (CAPEC)

CAPEC-586 Object Injection via CWE-502

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2018. A critical vulnerability affects Debian systems (CVE-2018-20148). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.

Vulnerability details: In WordPress before 4.9.9 and 5.x before 5.0.1, contributors could conduct PHP object injection attacks via crafted metadata in a wp.getMediaItem XMLRPC call. This is caused by mishandling of serialized data at phar:// URLs in the wp_get_attachment_thumb_file function in wp-includes/post.php. CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Questions

What is CVE-2018-20148?

This vulnerability was disclosed in 2018. A critical vulnerability affects Debian systems (CVE-2018-20148). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2018-20148?

CVE-2018-20148 has CVSS 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 26.8%.

Is CVE-2018-20148 actively exploited?

No confirmed active exploitation of CVE-2018-20148 as of 2026-09-25.

How do I remediate CVE-2018-20148?

Priority: MEDIUM. Advisory: https://wordpress.org/news/2018/12/wordpress-5-0-1-security-release/ PSIRT: [email protected]

What systems are affected by CVE-2018-20148?

CVE-2018-20148 affects Debian Debian Linux; Wordpress Wordpress.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.