{"id":"GHSA-v8fg-2rw7-q452","revision":null,"records":[{"revision":"32006d3fe3a7412a867703b77b61c21d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-69240","aliases":[],"title":"Sequelize: SQL Injection (Oracle DB)","description":"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.","state":0,"publishedAt":"2026-08-03T20:28:28.522+00:00","modifiedAt":"2026-08-04T14:12:28.199+00:00","affected":[{"ecosystem":"Vendor product","name":"sequelize","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"sequelize\",\n                    \"product\": \"sequelize\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 6.37.4\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/sequelize/sequelize/security/advisories/GHSA-v8fg-2rw7-q452","https://github.com/sequelize/sequelize/commit/5deadd2410ae9136a21fb652db206d27bb715f26","https://github.com/sequelize/sequelize/releases/tag/v6.37.4"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-69240","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-69240","identifiers":["CVE-2026-69240"]},"retained":false,"historicalAffected":[]},{"revision":"de6ec3eeb9b44d00b27df7dade0b56c4","observedAt":"2026-11-13T17:00:34.756+00:00","statement":{"source":"euvd","id":"EUVD-2026-52429","aliases":["CVE-2026-69240","GHSA-v8fg-2rw7-q452"],"title":"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.…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":null}],"references":["https://github.com/sequelize/sequelize/security/advisories/GHSA-v8fg-2rw7-q452","https://github.com/sequelize/sequelize/commit/5deadd2410ae9136a21fb652db206d27bb715f26","https://github.com/sequelize/sequelize/releases/tag/v6.37.4"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-52429","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 3, 2026, 8:28:28 PM","dateUpdated":"Aug 4, 2026, 2:12:28 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-52429","identifiers":["EUVD-2026-52429","CVE-2026-69240","GHSA-v8fg-2rw7-q452"]},"retained":false,"historicalAffected":[]},{"revision":"0da9702be62c453e9067d1df02d43492","observedAt":"2026-10-25T15:18:51.467+00:00","statement":{"source":"nvd","id":"CVE-2026-69240","aliases":[],"title":"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.…","description":"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.","state":0,"publishedAt":"2026-08-03T21:16:41.97+00:00","modifiedAt":"2026-09-10T20:36:14.34+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-69240","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Awaiting Analysis","weaknesses":["CWE-89"],"productCriteria":[],"sourceDates":{"published":"2026-08-03T21:16:41.970","lastModified":"2026-09-10T20:36:14.340"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-69240","identifiers":["CVE-2026-69240"]},"retained":false,"historicalAffected":[]},{"revision":"8da530dec68742c5a947c98eaedad429","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-v8fg-2rw7-q452","aliases":["CVE-2026-69240"],"title":"Sequelize: SQL Injection (Oracle DB)","description":"### Summary\nSQL Injection is possible with strings only **if dialect is set to `oracle`**.\nThe vulnerability was confirmed on Sequelize v6.37.3.\n\n### Details\nThe `escape` function defined in `sql-string.js` does not escape quotes if the value starts with `TO_TIMESTAMP` or `TO_DATE`.\n\n```javascript\n  } else if (dialect === 'oracle' && typeof val === 'string') {\n    if (val.startsWith('TO_TIMESTAMP') || val.startsWith('TO_DATE')) {\n      return val;\n    }\n    val = val.replace(/'/g, \"''\");\n  }\n```\n\n### PoC\nSuppose the application has the following code:\n\n```javascript\n  var result = await models.Student.findOne({\n    where: {\n      firstName: req.query.firstName\n    }\n  });\n```\n\nAn attacker can inject arbitrary sql expressions.\n\n`http://host/path?firstName=TO_DATE('0','Y')||'' OR 1=1--`\n\nThe resulted SQL will be:\n\n```SQL\nSELECT ... WHERE \"Student\".\"firstName\" = TO_DATE('0','Y')||'' OR 1=1-- ORDER BY \"Student\".\"id\" OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY;\n```\n\n### Impact\nData theft and tampering.","state":0,"publishedAt":"2026-08-03T20:29:50+00:00","modifiedAt":"2026-08-03T20:56:43.986253+00:00","affected":[{"ecosystem":"npm","name":"sequelize","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"6.37.4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/sequelize/sequelize/security/advisories/GHSA-v8fg-2rw7-q452","https://github.com/sequelize/sequelize/commit/5deadd2410ae9136a21fb652db206d27bb715f26","https://github.com/sequelize/sequelize","https://github.com/sequelize/sequelize/releases/tag/v6.37.4"],"sourceUrl":"https://github.com/advisories/GHSA-v8fg-2rw7-q452","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-v8fg-2rw7-q452","identifiers":["GHSA-v8fg-2rw7-q452","CVE-2026-69240"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-15T02:30:47.8730310+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-15T02:30:47.873031+00:00","lastSuccessAt":"2026-11-15T02:30:48.0284679+00:00","error":null,"lastVerifiedAt":"2026-11-15T02:30:48.0284689+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-7de4d7559a5263003f03d9f70577ab06f92ba4178309f26fce53e22a4a959294-4a3b956be05e66f2d334d680698b5f8b1ae425e61f61bc83c4992e5887bfe17d","complete":true,"records":425766,"lastAttemptAt":"2026-11-15T02:30:47.2010811+00:00","lastSuccessAt":"2026-11-15T02:30:47.193798+00:00","error":null,"lastVerifiedAt":"2026-11-15T02:30:47.2010811+00:00","snapshotPublishedAt":"2026-11-15T02:22:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-5d15ed8c673e4ebb997baf4805190878","complete":false,"records":13821,"lastAttemptAt":"2026-11-15T02:36:44.7881757+00:00","lastSuccessAt":"2026-11-15T02:36:44.9168666+00:00","error":null,"lastVerifiedAt":"2026-11-15T02:36:44.9168666+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-15T02:30:47.8730310+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-15T02:30:47.873031+00:00","lastSuccessAt":"2026-11-15T02:30:48.0298151+00:00","error":null,"lastVerifiedAt":"2026-11-15T02:30:48.0298198+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b4e16143cf664d0aa856e1009c943b33","complete":true,"records":13833,"lastAttemptAt":"2026-11-15T02:30:50.0807193+00:00","lastSuccessAt":"2026-11-15T02:30:50.077+00:00","error":null,"lastVerifiedAt":"2026-11-15T02:30:50.077+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-15T02:30:47.8246194+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-15T02:30:47.8246194+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-15T02:30:47.3421403+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-15T02:30:47.3421403+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-012aff9b2fb349d53e2c4bace6ca57956b6f5f9d82c1dc9fdc1c9b3c738f8977","complete":true,"records":3148,"lastAttemptAt":"2026-11-15T02:30:47.8368492+00:00","lastSuccessAt":"2026-11-14T04:57:03.8279646+00:00","error":null,"lastVerifiedAt":"2026-11-15T02:30:47.8368492+00:00","snapshotPublishedAt":"2026-11-14T03:02:50+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-deb41cb32d3b3d67de7960b1647d789a5218551d33a54a4b027ba315bcba590f","complete":true,"records":232473,"lastAttemptAt":"2026-11-15T02:30:47.7245904+00:00","lastSuccessAt":"2026-11-15T01:46:53.6377511+00:00","error":null,"lastVerifiedAt":"2026-11-15T02:30:47.7245904+00:00","snapshotPublishedAt":"2026-11-15T00:48:23+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}