<?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>Database (5.1.x, 5.2.x, 5.3.x) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/database-5.1.x-5.2.x-5.3.x/</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>Tue, 08 Sep 2026 21:49:04 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/database-5.1.x-5.2.x-5.3.x/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 in CakePHP FunctionsBuilder</title><link>https://feed.craftedsignal.io/briefs/2026-09-cakephp-sql-injection/</link><pubDate>Tue, 08 Sep 2026 21:49:04 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-cakephp-sql-injection/</guid><description>The CakePHP framework contains an SQL injection vulnerability in the FunctionsBuilder::jsonValue() method when using the Postgres driver, allowing unauthorized database command execution via user-controlled jsonPath input.</description><content:encoded><![CDATA[<p>The CakePHP framework contains a critical SQL injection vulnerability identified as CVE-2026-77635. The flaw exists within the <code>FunctionsBuilder::jsonValue($field, $jsonPath)</code> method specifically when utilizing the Postgres driver. Attackers can exploit this vulnerability by supplying malicious, user-controlled input to the <code>$jsonPath</code> parameter. Because the framework does not adequately sanitize this parameter before incorporating it into SQL queries sent to the PostgreSQL backend, an attacker can append arbitrary SQL commands, potentially leading to unauthorized data extraction, modification, or deletion within the database. The vulnerability affects versions 5.1.x, 5.2.x, and 5.3.x of the <code>cakephp/cakephp</code> and <code>cakephp/database</code> packages.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability allows unauthenticated or authenticated attackers to perform unauthorized database operations, which may lead to full database compromise, exfiltration of sensitive application data, or remote code execution depending on the database configuration and permissions. All applications using the affected CakePHP versions with a PostgreSQL backend are at risk.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritized remediation steps include:</p>
<ul>
<li>Upgrade the <code>cakephp/cakephp</code> and <code>cakephp/database</code> packages to versions 5.1.10, 5.2.15, or 5.3.7 or later to address CVE-2026-77635.</li>
<li>Audit application codebases for instances where user-supplied input is directly passed to the <code>$jsonPath</code> parameter of <code>FunctionsBuilder::jsonValue()</code>.</li>
<li>Implement strict input validation and allowlisting for any data intended for database query parameters until patching can be completed.</li>
<li>Review database query logs for unusual syntax, such as SQL comments, union operators, or concatenation patterns originating from web application controllers that interface with the affected methods.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>sql-injection</category><category>vulnerability</category><category>web-application</category></item></channel></rss>