Skip to content
Heist/ feed
Back to feed
High

SolidInvoice: API tokens stored as plaintext in the database allowing full credential compromise on database breach

Type: advisorySources: OSV

SolidInvoice is an open-source invoicing platform. Prior to version 2.3.17, API tokens used to authenticate all REST API requests are stored as plaintext strings in the api_tokens database table. Any attacker who obtains read access to the database — through SQL injection, a leaked backup, a misconfigured replica, or insider access — immediately obtains all API credentials for every user with no further effort. This issue has been patched in version 2.3.17.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-46622
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 08:45 UTC · Revision 1

Source evidence

SolidInvoice: API tokens stored as plaintext in the database allowing full credential compromise on database breach

core-osv · Original source

Published 11 Jun 2026, 18:55 UTC

SolidInvoice is an open-source invoicing platform. Prior to version 2.3.17, API tokens used to authenticate all REST API requests are stored as plaintext strings in the api_tokens database table. Any attacker who obtains read access to the database — through SQL injection, a leaked backup, a misconfigured replica, or insider access — immediately obtains all API credentials for every user with no further effort. This issue has been patched in version 2.3.17.

osv:CVE-2026-46622
Complete source record
{
  "id": "8d074e32ea166c178fac37b6cd3b26b1f98d052529b8bf7910f60f23e40f7e8e",
  "url": "https://osv.dev/vulnerability/CVE-2026-46622",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SolidInvoice: API tokens stored as plaintext in the database allowing full credential compromise on database breach",
    "summary": "SolidInvoice is an open-source invoicing platform. Prior to version 2.3.17, API tokens used to authenticate all REST API requests are stored as plaintext strings in the api_tokens database table. Any attacker who obtains read access to the database — through SQL injection, a leaked backup, a misconfigured replica, or insider access — immediately obtains all API credentials for every user with no further effort. This issue has been patched in version 2.3.17.",
    "evidence": "osv:CVE-2026-46622",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-46622",
      "aliases": [
        "CVE-2026-46622",
        "GHSA-qjfc-h39r-cgwq"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/solidinvoice/solidinvoice",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "da3f479c9ef1782023738d4fb81c5f78dd9d18b0"
                },
                {
                  "fixed": "864539182572e1a3b2d76999b03060661ffa00f1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.3.17"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "864539182572e1a3b2d76999b03060661ffa00f1"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "da3f479c9ef1782023738d4fb81c5f78dd9d18b0"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "2.3.17"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.3.16",
            "2.3.15",
            "2.3.14",
            "2.3.13",
            "2.3.12",
            "2.3.11",
            "2.3.10",
            "2.3.9",
            "2.3.8",
            "2.3.7",
            "2.3.6",
            "2.3.5",
            "2.3.4",
            "2.3.3",
            "2.3.0",
            "2.2.5",
            "2.2.4",
            "2.2.3",
            "2.2.2",
            "2.2.1",
            "2.2.0",
            "2.1.0",
            "2.0.0",
            "2.0.0-rc",
            "2.0.0-beta2",
            "2.0.0-beta1",
            "2.0.0-alpha3",
            "2.0.0-alpha2",
            "2.0.0-alpha1",
            "1.1.0",
            "1.0.3",
            "1.0.0",
            "0.8.0",
            "0.7.0",
            "0.6.0",
            "0.5.0",
            "0.4.2",
            "0.4.1",
            "0.4.0",
            "0.3.0",
            "0.2.0",
            "0.1.0",
            "0.1.0-beta1",
            "0.1.0-alpha1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46622.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.433839136Z",
      "provider": "osv",
      "references": [
        "https://github.com/SolidInvoice/SolidInvoice/releases/tag/2.3.17",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46622.json",
        "https://github.com/SolidInvoice/SolidInvoice/security/advisories/GHSA-qjfc-h39r-cgwq",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-46622",
        "https://github.com/SolidInvoice/SolidInvoice/commit/864539182572e1a3b2d76999b03060661ffa00f1"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-312"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46622.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-46622",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518795,
  "published_at": "2026-06-11T18:55:23.915+00:00"
}