← Vulnerability feed

Vulnerability record · CVE-2018-7269 · published 21 March 2018

CVE-2018-7269: Yiiframework yii sql injection vulnerability

Yiiframework · Yii

The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to conduct SQL injection attacks via a findOne() or findAll() call, unless a developer recognizes an undocumented need to sanitize array input.

9.8 CVSS 3.0 Critical EPSS 1.9% · top 21.2% CWE-89 · SQL injection
9.8CVSS 3.0 base score, v2 7.5
1.9%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

Description

The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to conduct SQL injection attacks via a findOne() or findAll() call, unless a developer recognizes an undocumented need to sanitize array input.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-7269 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-58136Yii 2 behavior attachment flaw enables remote code executionYii 2 before 2.0.52 mishandles attaching a behavior defined by an __class array key, a regression of CVE-2024-4990. The flaw allows attacker-controll…KEVEPSS 88%analysed10.0CVE-2020-15148Yii 2 unserialize() of untrusted input enables remote code executionYii 2 before 2.0.38 is vulnerable to remote code execution when an application calls unserialize() on arbitrary user input, a classic CWE-502 deseria…EPSS 79%analysed9.8CVE-2023-47130Yiiframework yii deserialization of untrusted data vulnerabilityYii is an open source PHP web framework. yiisoft/yii before version 1.1.29 are vulnerable to Remote Code Execution (RCE) if the application calls `un…EPSS 3.1%9.8CVE-2015-5467Yiiframework yii path traversal vulnerabilityweb\ViewAction in Yii (aka Yii2) 2.x before 2.0.5 allows attackers to execute any local .php file via a relative path in the view parameeter.EPSS 0.88%9.8CVE-2023-26750Yiiframework yii sql injection vulnerabilitySQL injection vulnerability found in Yii Framework Yii 2 Framework before v.2.0.47 allows the a remote attacker to execute arbitrary code via the run…EPSS 1.8%9.8CVE-2022-41922Yiiframework yii deserialization of untrusted data vulnerability`yiisoft/yii` before version 1.1.27 are vulnerable to Remote Code Execution (RCE) if the application calls `unserialize()` on arbitrary user input. T…EPSS 1.2%9.8CVE-2018-8073Yiiframework yii code injection vulnerabilityYii 2.x before 2.0.15 allows remote attackers to execute arbitrary LUA code via a variant of the CVE-2018-7269 attack in conjunction with the Redis e…EPSS 1.6%9.1CVE-2024-4990Yii2 Component __set() allows arbitrary class instantiationIn yiisoft/yii2 version 2.0.48, the base Component class __set() magic method fails to validate that a value is a valid Behavior class name or config…EPSS 80%analysed

Source: NIST National Vulnerability Database (record CVE-2018-7269), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.