<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Cakephp/Database (&lt; 4.5.12, &gt;= 4.6.0 &lt; 4.6.5, &gt;= 5.0.0 &lt; 5.1.9, &gt;= 5.2.0 &lt; 5.2.14, &gt;= 5.3.0 &lt; 5.3.7) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/cakephp/database--4.5.12--4.6.0--4.6.5--5.0.0--5.1.9--5.2.0--5.2.14--5.3.0--5.3.7/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 18 Sep 2026 01:10:30 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/cakephp/database--4.5.12--4.6.0--4.6.5--5.0.0--5.1.9--5.2.0--5.2.14--5.3.0--5.3.7/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>SQL Injection Vulnerability in CakePHP FunctionsBuilder</title><link>https://feed.craftedsignal.io/briefs/2026-09-cakephp-sql-injection/</link><pubDate>Fri, 18 Sep 2026 01:10:30 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-cakephp-sql-injection/</guid><description>Multiple methods in the CakePHP FunctionsBuilder component are vulnerable to SQL injection when user-supplied input is passed to specific functional parameters.</description><content:encoded><![CDATA[<p>The CakePHP framework contains a critical SQL injection vulnerability (CVE-2026-79752) affecting the <code>FunctionsBuilder</code> component. The vulnerability exists in the <code>cast($field, $dataType)</code>, <code>extract($part, $expr)</code>, <code>datePart($part, $expr)</code>, and <code>dateAdd($expr, $value, $unit)</code> methods. An attacker can exploit this flaw by supplying malicious user-controlled input to the <code>$dataType</code>, <code>$part</code>, or <code>$unit</code> parameters of these functions. If an application fails to sanitize or validate input before passing it to these parameters, an attacker can manipulate the resulting SQL query, potentially leading to unauthorized database access, data exfiltration, or modification. This issue impacts multiple versions of the <code>cakephp/database</code> and <code>cakephp/cakephp</code> packages across the 4.x and 5.x branches. Organizations using these versions are encouraged to update to the patched releases immediately.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability allows unauthenticated or authenticated attackers to execute arbitrary SQL commands against the database used by the CakePHP application. The impact includes the potential for full database compromise, unauthorized disclosure of sensitive information, and loss of data integrity. All applications leveraging the vulnerable <code>FunctionsBuilder</code> methods with dynamic user input are at risk, regardless of the sector.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade the <code>cakephp/database</code> and <code>cakephp/cakephp</code> packages to the versions containing the security fix: 5.3.7, 5.2.14, 5.1.9, 4.6.5, or 4.5.12.</li>
<li>Audit existing application code to identify any instances where user-supplied data is passed directly into <code>FunctionsBuilder</code> methods without strict validation or allowlisting.</li>
<li>Implement a temporary workaround by ensuring that all user-supplied data passed to <code>cast</code>, <code>extract</code>, <code>datePart</code>, and <code>dateAdd</code> parameters is hardcoded or strictly filtered against a known-safe list of values before function invocation.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>sql-injection</category><category>vulnerability</category><category>web-application</category></item></channel></rss>