<Vulnerability name="CVE-2026-69240">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Important</ThreatSeverity>
    <PublicDate>2026-08-03T20:28:28</PublicDate>
    <Bugzilla id="2510799" url="https://bugzilla.redhat.com/show_bug.cgi?id=2510799" xml:lang="en:us">
sequelize: Sequelize: SQL Injection via improper handling of Oracle date functions
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>9.8</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-89</CWE>
    <Details xml:lang="en:us" source="Mitre">
Sequelize is a Node.js ORM tool. Prior to 6.37.4, SQL injection is possible with strings only if dialect is set to oracle. The escape function defined in sql-string.js does not escape quotes if the value starts with TO_TIMESTAMP or TO_DATE. In the Oracle dialect, when val is a string and starts with TO_TIMESTAMP or TO_DATE, escape returns val directly instead of replacing single quotes. An attacker can inject arbitrary SQL expressions through an application value that reaches this escape path. This issue is fixed in version 6.37.4.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in Sequelize. When configured to use an Oracle database, the Sequelize Node.js Object-Relational Mapper (ORM) tool fails to properly escape certain date and timestamp values. This oversight allows a remote attacker to bypass security filters. By injecting malicious SQL commands, an attacker can gain unauthorized access to sensitive data, modify database content, or potentially take full control of the affected database system.
    </Details>
    <Statement xml:lang="en:us">
The requirement here is that dialect for backend database engine is set to 'oracle'. However, by default, PCCS uses SQLite as its backend database engine to store platform PCK certificates and TCB collaterals locally. This makes Red Hat products not vulnerable out-of-the-box.
    </Statement>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:10">
        <ProductName>Red Hat Enterprise Linux 10</ProductName>
        <FixState>Affected</FixState>
        <PackageName>linux-sgx</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:9">
        <ProductName>Red Hat Enterprise Linux 9</ProductName>
        <FixState>Affected</FixState>
        <PackageName>linux-sgx</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:satellite:6">
        <ProductName>Red Hat Satellite 6</ProductName>
        <FixState>Affected</FixState>
        <PackageName>satellite/iop-remediations-rhel9</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-69240
https://nvd.nist.gov/vuln/detail/CVE-2026-69240
https://github.com/sequelize/sequelize/commit/5deadd2410ae9136a21fb652db206d27bb715f26
https://github.com/sequelize/sequelize/releases/tag/v6.37.4
https://github.com/sequelize/sequelize/security/advisories/GHSA-v8fg-2rw7-q452
    </References>
</Vulnerability>