{"id":"CVE-2026-46622","summary":"SolidInvoice: API tokens stored as plaintext in the database allowing full credential compromise on database breach","details":"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.","aliases":["GHSA-qjfc-h39r-cgwq"],"modified":"2026-07-08T08:13:38.807549529Z","published":"2026-06-11T18:55:23.915Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46622.json","cwe_ids":["CWE-312"],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/SolidInvoice/SolidInvoice/releases/tag/2.3.17"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46622.json"},{"type":"ADVISORY","url":"https://github.com/SolidInvoice/SolidInvoice/security/advisories/GHSA-qjfc-h39r-cgwq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46622"},{"type":"FIX","url":"https://github.com/SolidInvoice/SolidInvoice/commit/864539182572e1a3b2d76999b03060661ffa00f1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/solidinvoice/solidinvoice","events":[{"introduced":"0"},{"fixed":"864539182572e1a3b2d76999b03060661ffa00f1"},{"fixed":"da3f479c9ef1782023738d4fb81c5f78dd9d18b0"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.3.17"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"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"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}