{"id":"CVE-2026-13766","state":"PUBLISHED","title":"DBIx::QuickORM versions before 0.000026 for Perl allow SQL injection via unquoted SQL identifiers","description":"DBIx::QuickORM versions before 0.000026 for Perl allow SQL injection via unquoted SQL identifiers.\n\nThe default SQL builder, a SQL::Abstract subclass, sets bindtype in its constructor but never quote_char, so SQL::Abstract emits identifiers verbatim. Caller-supplied identifiers (order_by, where-clause column keys, field and returning lists, upsert columns, and join aliases) reach the SQL string raw, while values are placeholder-bound and unaffected.\n\nA caller that forwards untrusted input to an affected identifier position, such as a user-controlled order_by value, enables SQL injection: the row order can be made to depend on a sub-select over columns the query never selected, and the where and update identifier positions permit further data disclosure and tampering.","publishedAt":"2026-06-30T11:20:35.463Z","updatedAt":"2026-06-30T17:35:42.702Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["EXODIST DBIx::QuickORM"],"affected":[{"vendor":"EXODIST","product":"DBIx::QuickORM","packageName":"DBIx-QuickORM","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.000026","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/DBIx/QuickORM/SQLBuilder/SQLAbstract.pm","lib/DBIx/QuickORM/Connection.pm"],"programRoutines":[{"name":"DBIx::QuickORM::SQLBuilder::SQLAbstract::new"},{"name":"DBIx::QuickORM::Connection::init"}],"repo":"https://github.com/exodist/DBIx-QuickORM/"}],"references":["https://github.com/exodist/DBIx-QuickORM/commit/43d7684682050780f056f25e1879191fb0a3265e.patch","https://metacpan.org/release/EXODIST/DBIx-QuickORM-0.000026/changes","http://www.openwall.com/lists/oss-security/2026/06/30/4"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:11:00.674Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/13xxx/CVE-2026-13766.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-13766","state":"PUBLISHED","datePublished":"2026-06-30T11:20:35.463Z","dateUpdated":"2026-06-30T17:35:42.702Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-06-29T19:58:43.298Z"},"containers":{"cna":{"title":"DBIx::QuickORM versions before 0.000026 for Perl allow SQL injection via unquoted SQL identifiers","descriptions":[{"lang":"en","value":"DBIx::QuickORM versions before 0.000026 for Perl allow SQL injection via unquoted SQL identifiers.\n\nThe default SQL builder, a SQL::Abstract subclass, sets bindtype in its constructor but never quote_char, so SQL::Abstract emits identifiers verbatim. Caller-supplied identifiers (order_by, where-clause column keys, field and returning lists, upsert columns, and join aliases) reach the SQL string raw, while values are placeholder-bound and unaffected.\n\nA caller that forwards untrusted input to an affected identifier position, such as a user-controlled order_by value, enables SQL injection: the row order can be made to depend on a sub-select over columns the query never selected, and the where and update identifier positions permit further data disclosure and tampering."}],"affected":[{"vendor":"EXODIST","product":"DBIx::QuickORM","packageName":"DBIx-QuickORM","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.000026","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/DBIx/QuickORM/SQLBuilder/SQLAbstract.pm","lib/DBIx/QuickORM/Connection.pm"],"programRoutines":[{"name":"DBIx::QuickORM::SQLBuilder::SQLAbstract::new"},{"name":"DBIx::QuickORM::Connection::init"}],"repo":"https://github.com/exodist/DBIx-QuickORM/"}],"references":[{"url":"https://github.com/exodist/DBIx-QuickORM/commit/43d7684682050780f056f25e1879191fb0a3265e.patch","tags":["patch"]},{"url":"https://metacpan.org/release/EXODIST/DBIx-QuickORM-0.000026/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-06-30T11:20:35.463Z"},"impacts":[{"capecId":"CAPEC-66","descriptions":[{"lang":"en","value":"CAPEC-66 SQL Injection"}]}],"solutions":[{"lang":"en","value":"Upgrade to DBIx::QuickORM 0.000026 or later."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-06-30T14:12:52.476439Z","id":"CVE-2026-13766","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-30T14:13:48.862Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/06/30/4"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-06-30T17:35:42.702Z"}}]}}}