Zalktis: SQL injection via partner-controlled fields in imported e-invoices
Summary
| CVE | CVE-2026-59109 |
|---|---|
| State | PUBLISHED |
| Assigner | ENISA |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-13 17:17:29 UTC |
| Updated | 2026-08-14 18:18:29 UTC |
| Description | SQL injection in the Zalktis accounting application via trading-partner-controlled text fields in received electronic invoices. When importing a received e-invoice (UBL/PEPPOL) or an e-commerce export, Zalktis concatenates partner-controlled values directly into SQL statement text using string concatenation, with neither parameterised queries nor escaping. The application's own escaping helper, Dazadi.sql_txt(), is not invoked on these code paths, so a party that sends an invoice can break out of the string literal and alter the query logic. This issue affects Zalktis: before 2026.1.586 and before 2026.2.592. |
Risk And Classification
Primary CVSS: v4.0 8.7 HIGH from a6d3dc9e-0591-4a13-bce7-0f5b31ff6158
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.003120000 probability, percentile 0.240040000 (date 2026-08-16)
Problem Types: CWE-20 | CWE-89 | CWE-89 CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection') | CWE-20 CWE-20 Improper input validation
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | a6d3dc9e-0591-4a13-bce7-0f5b31ff6158 | Secondary | 8.7 | HIGH | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | CVSS | 8.7 | HIGH | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| 3.1 | a6d3dc9e-0591-4a13-bce7-0f5b31ff6158 | Secondary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
CVSS v4.0 Breakdown
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Zalktis Programmas SIA Zalktis Programmas | Zalktis | affected 2026.1.586 semver | Windows |
| CNA | Zalktis Programmas SIA Zalktis Programmas | Zalktis | affected 2026.2.592 semver | Windows |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cvd.cert.lv/disclosed/vuln-all-631428755 | a6d3dc9e-0591-4a13-bce7-0f5b31ff6158 | cvd.cert.lv | |
| offseq.com/en/research/zalktis-cve-2026-59109 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | offseq.com | |
| offseq.com/en/research/zalktis-cve-2026-59109 | a6d3dc9e-0591-4a13-bce7-0f5b31ff6158 | offseq.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Nils Putniņš, OffSeq (SIA SEQ) (en)
CNA: CERT-LV (en)
Additional Advisory Data
Solutions
CNA: The vendor addressed the issue by parameterising the affected queries. Upgrade to 2026.1.586 (legacy branch) or 2026.2.592 (current branch) or later.
Workarounds
CNA: Until a fixed build is deployed: do not import e-invoices or e-commerce exports received from untrusted senders, and keep restorable backups of the accounting database taken before any import.