KeygraphLabs · CVE MCP

CVE-2018-8074 · mitre

CVE-2018-8074

Yii 2.x before 2.0.15 allows remote attackers to inject unintended search conditions via a variant of the CVE-2018-7269 attack in conjunction with the Elasticsearch extension.

Published 2018-03-21, last changed 2026-06-17. Weakness: CWE-94.

CVSS
8.1
high, from NVD
EPSS
1.49%
percentile 75.1%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: yiisoft/yii2-dev 2.0.15 (Packagist); yiisoft/yii2-elasticsearch 2.0.5 (Packagist). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in yiisoft/yii2 by 702618a863. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2018-03-21Published
2022-05-24Package advisory GHSA-m2p5-fwp2-qcw2
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 1.49%
2026-12-03Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-m2p5-fwp2-qcw2yiisoft/yii2-dev (Packagist)2.0.15
GHSA-m2p5-fwp2-qcw2yiisoft/yii2-elasticsearch (Packagist)2.0.5

Also known as: GHSA-m2p5-fwp2-qcw2

Related

CVEPublishedCVSSSummary
CVE-2025-26892025-03-249.8yiisoft Yii2 SortableIterator.php getIterator deserialization
CVE-2021-36922021-08-105.3Use of Predictable Algorithm in Random Number Generator in yiisoft/yii2
CVE-2021-36892021-08-107.5Use of Predictable Algorithm in Random Number Generator in yiisoft/yii2
CVE-2018-72692018-03-219.8same package: yiisoft/yii2-dev (Packagist)
CVE-2018-60092018-01-228.8same package: yiisoft/yii2-dev (Packagist)
CVE-2017-115162017-07-216.1same package: yiisoft/yii2-dev (Packagist)
CVE-2026-518322026-10-297.8same weakness (CWE-94) from the same CNA (mitre)
CVE-2026-518312026-10-297.8same weakness (CWE-94) from the same CNA (mitre)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2018-8074, or call /api/v1/vulnerabilities/CVE-2018-8074. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org