{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "20.20.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "20.7-cert11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "21.0.0-pre1"
                  },
                  {
                    "fixed": "21.12.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "22.0.0-pre1"
                  },
                  {
                    "fixed": "22.10.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "23.0.0-pre1"
                  },
                  {
                    "fixed": "23.4.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "22.8-cert1-pre1"
                  },
                  {
                    "fixed": "22.8-cert3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "046a8b0b50623d80926c1adc2eca1c9c17e258ed"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "0a86e45e8cde7630276f8363de45f71d1635d2f4"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "88c65757b56c716b5a175f35941be22e038b256f"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "8bf7746d01221d6d2bcfcd46ba7a1cff066a1a8b"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "8cb6dfd41debb2259ec3a33ccfa78f1d902e4c22"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "a04bee3992c28e1681457370e46f30494b7c6619"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "ff21d90e61d199db9b963c671d125a1e917d41ac"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "20.20.1",
                "range": [
                  {
                    "fixed": "1f072600089c8321b8c4141f431742b06cae1c66"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "21.12.3",
                "range": [
                  {
                    "fixed": "b9fda9d45703e9dbae5542300bb1f11a1abe2f37"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "22.10.1",
                "range": [
                  {
                    "fixed": "f0e408a7b0d829c85bf15fa4b487870a50cb3000"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "23.4.1",
                "range": [
                  {
                    "fixed": "9c6d578ea138e2a5df3bbc261b82a94424d6ce53"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "certified-20.7-cert11",
                "range": [
                  {
                    "fixed": "19ea385cecb1b9403e3d924bcb3d770a04d50b49"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "certified-22.8-cert3",
                "range": [
                  {
                    "fixed": "3c1105ea3c80209b5420565d125dc2163eba436a"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1f072600089c8321b8c4141f431742b06cae1c66"
            },
            {
              "fixed": "19ea385cecb1b9403e3d924bcb3d770a04d50b49"
            },
            {
              "introduced": "68349125a8a825b0995b4ab1343c61bdb2ad33e5"
            },
            {
              "fixed": "b9fda9d45703e9dbae5542300bb1f11a1abe2f37"
            },
            {
              "introduced": "31b8dc09238d916be18d93dc7dda30711e636c17"
            },
            {
              "fixed": "f0e408a7b0d829c85bf15fa4b487870a50cb3000"
            },
            {
              "introduced": "ca5335d90ea8dc26fa2ea189f9621b1d8a4a3513"
            },
            {
              "fixed": "9c6d578ea138e2a5df3bbc261b82a94424d6ce53"
            },
            {
              "introduced": "5da1497b742194b535f13e155b87bd698772a4b6"
            },
            {
              "fixed": "3c1105ea3c80209b5420565d125dc2163eba436a"
            },
            {
              "fixed": "046a8b0b50623d80926c1adc2eca1c9c17e258ed"
            },
            {
              "fixed": "0a86e45e8cde7630276f8363de45f71d1635d2f4"
            },
            {
              "fixed": "88c65757b56c716b5a175f35941be22e038b256f"
            },
            {
              "fixed": "8bf7746d01221d6d2bcfcd46ba7a1cff066a1a8b"
            },
            {
              "fixed": "8cb6dfd41debb2259ec3a33ccfa78f1d902e4c22"
            },
            {
              "fixed": "a04bee3992c28e1681457370e46f30494b7c6619"
            },
            {
              "fixed": "ff21d90e61d199db9b963c671d125a1e917d41ac"
            }
          ],
          "repo": "https://github.com/asterisk/asterisk",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-ph27-3m5q-mj5m"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57190.json"
  },
  "details": "Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, the `PostgreSQL` and `TDS/MSSQL` Channel Event Log backends `cel_pgsql` and `cel_tds` may permit arbitrary SQL execution when untrusted data is set in the CEL `eventtype` column by the `CELGenUserEvent` dialplan application. The `cel_pgsql` or `cel_tds` backend must be loaded and configured, and the administrator must call `CELGenUserEvent` in the dialplan without ensuring that only valid data is passed to the application. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3.",
  "id": "CVE-2026-57190",
  "modified": "2026-10-30T02:30:27.370431434Z",
  "published": "2026-10-27T21:45:50.075Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/releases/tag/20.20.1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/releases/tag/21.12.3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/releases/tag/22.10.1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/releases/tag/23.4.1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11"
    },
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/tree/24.0.0-pre1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57190.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/asterisk/asterisk/security/advisories/GHSA-ph27-3m5q-mj5m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57190"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/046a8b0b50623d80926c1adc2eca1c9c17e258ed"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/0a86e45e8cde7630276f8363de45f71d1635d2f4"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/88c65757b56c716b5a175f35941be22e038b256f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/8bf7746d01221d6d2bcfcd46ba7a1cff066a1a8b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/8cb6dfd41debb2259ec3a33ccfa78f1d902e4c22"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/a04bee3992c28e1681457370e46f30494b7c6619"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/ff21d90e61d199db9b963c671d125a1e917d41ac"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:H/SI:L/SA:L",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Asterisk: SQL Injection in cel_pgsql and cel_tds via CELGenUserEvent eventtype Field"
}