{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.4.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e92b08ef6af7d0d0cd5183df81f795f7fbf4f4fc"
            },
            {
              "fixed": "e3ab12ad773749668dc64e029d265a8440e21477"
            }
          ],
          "repo": "https://github.com/invoiceshelf/invoiceshelf",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cp8p-jcqf-j39c"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55386.json"
  },
  "details": "InvoiceShelf is an open-source web \u0026 mobile app that helps track expenses, payments and create professional invoices and estimates. Prior to version 2.4.0, InvoiceShelf passes the authenticated user's orderByField query parameter into Laravel orderBy calls in Invoice::scopeApplyFilters without restricting the value to column identifiers. A crafted SQL expression can therefore enter the ORDER BY clause across invoice and other list endpoints, enabling boolean-based blind extraction of database information. This issue is fixed in version 2.4.0.",
  "id": "CVE-2026-55386",
  "modified": "2026-10-16T02:31:02.566209865Z",
  "published": "2026-10-14T19:18:57.322Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/InvoiceShelf/InvoiceShelf/releases/tag/2.4.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55386.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/InvoiceShelf/InvoiceShelf/security/advisories/GHSA-cp8p-jcqf-j39c"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-55386"
    },
    {
      "type": "FIX",
      "url": "https://github.com/InvoiceShelf/InvoiceShelf/commit/e92b08ef6af7d0d0cd5183df81f795f7fbf4f4fc"
    },
    {
      "type": "FIX",
      "url": "https://github.com/InvoiceShelf/InvoiceShelf/pull/663"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "InvoiceShelf ORDER BY SQL injection through orderByField"
}