CVE-2026-121265 (GCVE-0-2026-121265)

Vulnerability from cvelistv5 – Published: 2026-11-07 11:17 – Updated: 2026-11-07 11:17
VLAI
Title
SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update
Summary
SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update. With the array_datatypes option off, which is the default, insert(), update() and values() treat an arrayref column value as literal SQL. Its first element goes into the SQL text unescaped and the rest become bind values. A JSON array, or a repeated form field decoded as an arrayref, is such a value. An application that passes request data as column values to insert or update with the default options allows SQL injection. Releases before 2.000003 also treat an arrayref in generate() as literal SQL, including through AUTOLOAD when allow_autoload is on, whatever array_datatypes is set to.
Severity
No CVSS data available.
CWE
  • CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Assigner
CPANSec CNA under the redhat root
CNA scorecard C 61/100 over 366 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Affected: 0 , < 2.000003 (custom)
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://cpan.org/modules",
          "defaultStatus": "unaffected",
          "modules": [
            "SQL::Abstract"
          ],
          "packageName": "SQL-Abstract",
          "packageURL": "pkg:cpan/SQL-Abstract",
          "programFiles": [
            "lib/SQL/Abstract.pm"
          ],
          "programRoutines": [
            {
              "name": "SQL::Abstract::_expand_insert_value"
            },
            {
              "name": "SQL::Abstract::_expand_update_set_values"
            },
            {
              "name": "SQL::Abstract::generate"
            },
            {
              "name": "SQL::Abstract::values"
            }
          ],
          "repo": "https://github.com/dbsrgits/sql-abstract",
          "versions": [
            {
              "lessThan": "2.000003",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update.\n\nWith the array_datatypes option off, which is the default, insert(), update() and values() treat an arrayref column value as literal SQL. Its first element goes into the SQL text unescaped and the rest become bind values. A JSON array, or a repeated form field decoded as an arrayref, is such a value.\n\nAn application that passes request data as column values to insert or update with the default options allows SQL injection.\n\nReleases before 2.000003 also treat an arrayref in generate() as literal SQL, including through AUTOLOAD when allow_autoload is on, whatever array_datatypes is set to."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-89",
              "description": "CWE-89 Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-07T11:17:35.488Z",
        "orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "shortName": "CPANSec"
      },
      "references": [
        {
          "tags": [
            "release-notes"
          ],
          "url": "https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/changes"
        },
        {
          "url": "https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/diff/GETTY/SQL-Abstract-2.000001_04"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "Upgrade to SQL-Abstract 2.000003 or later."
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "timeline": [
        {
          "lang": "en",
          "time": "2026-11-03T00:00:00.000Z",
          "value": "SQL::Abstract version 2.000001_05 was released with an incomplete fix for this issue."
        },
        {
          "lang": "en",
          "time": "2026-11-05T00:00:00.000Z",
          "value": "SQL::Abstract version 2.000002 was released based on version 2.000001_05."
        },
        {
          "lang": "en",
          "time": "2026-11-06T00:00:00.000Z",
          "value": "SQL::Abstract version 2.000003 was released."
        }
      ],
      "title": "SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update",
      "x_generator": {
        "engine": "cpansec-cna-tool 0.1"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
    "assignerShortName": "CPANSec",
    "cveId": "CVE-2026-121265",
    "datePublished": "2026-11-07T11:17:35.488Z",
    "dateReserved": "2026-11-03T10:57:51.108Z",
    "dateUpdated": "2026-11-07T11:17:35.488Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://cpan.org/modules",
                "defaultStatus": "unaffected",
                "modules": [
                  "SQL::Abstract"
                ],
                "packageName": "SQL-Abstract",
                "packageURL": "pkg:cpan/SQL-Abstract",
                "programFiles": [
                  "lib/SQL/Abstract.pm"
                ],
                "programRoutines": [
                  {
                    "name": "SQL::Abstract::_expand_insert_value"
                  },
                  {
                    "name": "SQL::Abstract::_expand_update_set_values"
                  },
                  {
                    "name": "SQL::Abstract::generate"
                  },
                  {
                    "name": "SQL::Abstract::values"
                  }
                ],
                "repo": "https://github.com/dbsrgits/sql-abstract",
                "versions": [
                  {
                    "lessThan": "2.000003",
                    "status": "affected",
                    "version": "0",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update.\n\nWith the array_datatypes option off, which is the default, insert(), update() and values() treat an arrayref column value as literal SQL. Its first element goes into the SQL text unescaped and the rest become bind values. A JSON array, or a repeated form field decoded as an arrayref, is such a value.\n\nAn application that passes request data as column values to insert or update with the default options allows SQL injection.\n\nReleases before 2.000003 also treat an arrayref in generate() as literal SQL, including through AUTOLOAD when allow_autoload is on, whatever array_datatypes is set to."
          }
        ],
        "id": "CVE-2026-121265",
        "lastModified": "2026-11-07T12:17:44.973",
        "metrics": {},
        "published": "2026-11-07T12:17:44.973",
        "references": [
          {
            "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
            "url": "https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/changes"
          },
          {
            "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
            "url": "https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/diff/GETTY/SQL-Abstract-2.000001_04"
          }
        ],
        "sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-89"
              }
            ],
            "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.