GHSA-fxf7-vhh8-7vpq

    Dashboard / Vulnerabilities / GHSA-fxf7-vhh8-7vpq

    GHSA-fxf7-vhh8-7vpq

    Published: 8 Sept 2026Last Modified: 8 Sept 2026

    Summary: CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver

    Details: ### Impact The `FunctionsBuilder::jsonValue($field, $jsonPath)` methods with the Postgres driver is vulnerable to SQL injection if user controlled data is supplied to the `$jsonPath` parameter. ### Patches 5.1.10, 5.2.15, 5.3.7 ### Workarounds Don't provide user controlled data to these functions/parameters.

    Affected packages

    Package

    Name: cakephp/cakephp

    Purl: pkg:composer/cakephp/cakephp

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 5.3.0
    Fixed -5.3.7

    Affected versions

    5.3.0
    5.3.1
    5.3.2
    5.3.3
    5.3.4
    5.3.5
    5.3.6

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High