Skip to content
Heist/ feed
Back to feed
High

InvoiceShelf ORDER BY SQL injection through orderByField

Type: advisorySources: OSV

InvoiceShelf is an open-source web & 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-55386
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:20 UTC · Revision 1

Source evidence

InvoiceShelf ORDER BY SQL injection through orderByField

core-osv · Original source

Published 14 Oct 2026, 19:18 UTC

InvoiceShelf is an open-source web & 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.

osv:CVE-2026-55386
Complete source record
{
  "id": "850d63389cc79a730929d15f74adec961d6632e9ab4b7f15db2eca3cc0b6ceb5",
  "url": "https://osv.dev/vulnerability/CVE-2026-55386",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "InvoiceShelf ORDER BY SQL injection through orderByField",
    "summary": "InvoiceShelf is an open-source web & 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.",
    "evidence": "osv:CVE-2026-55386",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-55386",
      "aliases": [
        "CVE-2026-55386",
        "GHSA-cp8p-jcqf-j39c"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/invoiceshelf/invoiceshelf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e3ab12ad773749668dc64e029d265a8440e21477"
                },
                {
                  "fixed": "e92b08ef6af7d0d0cd5183df81f795f7fbf4f4fc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.4.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e92b08ef6af7d0d0cd5183df81f795f7fbf4f4fc"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e3ab12ad773749668dc64e029d265a8440e21477"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "2.4.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.3.3",
            "2.3.2",
            "2.3.1",
            "2.3.0",
            "2.2.1",
            "2.2.0",
            "2.1.1",
            "2.1.0",
            "2.1.0-RC1",
            "2.0.0",
            "2.0.0-RC1",
            "1.3.0",
            "1.2.2",
            "1.2.1",
            "1.2.0",
            "1.1.0",
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55386.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.362532508Z",
      "provider": "osv",
      "references": [
        "https://github.com/InvoiceShelf/InvoiceShelf/releases/tag/2.4.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55386.json",
        "https://github.com/InvoiceShelf/InvoiceShelf/security/advisories/GHSA-cp8p-jcqf-j39c",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-55386",
        "https://github.com/InvoiceShelf/InvoiceShelf/commit/e92b08ef6af7d0d0cd5183df81f795f7fbf4f4fc",
        "https://github.com/InvoiceShelf/InvoiceShelf/pull/663"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55386.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-55386",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514228,
  "published_at": "2026-10-14T19:18:57.322+00:00"
}