{"id":"CVE-2026-59109","state":"PUBLISHED","title":"Zalktis: SQL injection via partner-controlled fields in imported e-invoices","description":"SQL injection in the Zalktis accounting application via\ntrading-partner-controlled text fields in received electronic invoices. When\nimporting a received e-invoice (UBL/PEPPOL) or an e-commerce export, Zalktis\nconcatenates partner-controlled values directly into SQL statement text using\nstring concatenation, with neither parameterised queries nor escaping. The\napplication's own escaping helper, Dazadi.sql_txt(),\nis not invoked on these code paths, so a party that sends an invoice can break\nout of the string literal and alter the query logic.\n\n\n\n\n\n\n\n\n\nThis issue affects Zalktis: before 2026.1.586 and before 2026.2.592.","publishedAt":"2026-08-13T16:40:01.751Z","updatedAt":"2026-08-14T17:46:15.377Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"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","source":"ENISA"},"assigner":"ENISA","products":["Zalktis Programmas (SIA \"Zalktis Programmas\") Zalktis"],"affected":[{"vendor":"Zalktis Programmas (SIA \"Zalktis Programmas\")","product":"Zalktis","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2026.1.586","versionType":"semver"},{"version":"0","status":"affected","lessThan":"2026.2.592","versionType":"semver"}],"platforms":["Windows"]}],"references":["https://offseq.com/en/research/zalktis-cve-2026-59109","https://cvd.cert.lv/disclosed/vuln-all-631428755","https://offseq.com/en/research/zalktis-cve-2026-59109/"],"weaknesses":["CWE-89","CWE-20"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59109.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59109","state":"PUBLISHED","datePublished":"2026-08-13T16:40:01.751Z","dateUpdated":"2026-08-14T17:46:15.377Z","assignerShortName":"ENISA","assignerOrgId":"a6d3dc9e-0591-4a13-bce7-0f5b31ff6158","dateReserved":"2026-07-02T15:47:36.965Z"},"containers":{"cna":{"title":"Zalktis: SQL injection via partner-controlled fields in imported e-invoices","descriptions":[{"lang":"en","value":"SQL injection in the Zalktis accounting application via\ntrading-partner-controlled text fields in received electronic invoices. When\nimporting a received e-invoice (UBL/PEPPOL) or an e-commerce export, Zalktis\nconcatenates partner-controlled values directly into SQL statement text using\nstring concatenation, with neither parameterised queries nor escaping. The\napplication's own escaping helper, Dazadi.sql_txt(),\nis not invoked on these code paths, so a party that sends an invoice can break\nout of the string literal and alter the query logic.\n\n\n\n\n\n\n\n\n\nThis issue affects Zalktis: before 2026.1.586 and before 2026.2.592."}],"affected":[{"vendor":"Zalktis Programmas (SIA \"Zalktis Programmas\")","product":"Zalktis","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2026.1.586","versionType":"semver"},{"version":"0","status":"affected","lessThan":"2026.2.592","versionType":"semver"}],"platforms":["Windows"]}],"references":[{"url":"https://offseq.com/en/research/zalktis-cve-2026-59109","tags":["technical-description"]},{"url":"https://cvd.cert.lv/disclosed/vuln-all-631428755","tags":["government-resource","permissions-required"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"HIGH","baseScore":8.8,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.7,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20 Improper input validation","type":"CWE"}]}],"providerMetadata":{"shortName":"ENISA","orgId":"a6d3dc9e-0591-4a13-bce7-0f5b31ff6158","dateUpdated":"2026-08-13T16:40:01.751Z"},"impacts":[{"capecId":"CAPEC-66","descriptions":[{"lang":"en","value":"CAPEC-66 SQL Injection"}]},{"capecId":"CAPEC-7","descriptions":[{"lang":"en","value":"CAPEC-7 Blind SQL Injection"}]}],"workarounds":[{"lang":"en","value":"Until a fixed build is deployed: do not import e-invoices or\ne-commerce exports received from untrusted senders, and keep restorable backups\nof the accounting database taken before any import.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p><span>Until a fixed build is deployed: do not import e-invoices or\ne-commerce exports received from untrusted senders, and keep restorable backups\nof the accounting database taken before any import.</span></p>"}]}],"solutions":[{"lang":"en","value":"The vendor addressed the issue by parameterising the affected\nqueries. Upgrade to 2026.1.586 (legacy branch) or 2026.2.592 (current branch)\nor later.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p><span>The vendor addressed the issue by parameterising the affected\nqueries. Upgrade to 2026.1.586 (legacy branch) or 2026.2.592 (current branch)\nor later.</span></p>"}]}],"credits":[{"lang":"en","value":"Nils Putniņš, OffSeq (SIA SEQ)","type":"finder"},{"lang":"en","value":"CERT-LV","type":"coordinator"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.4"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://offseq.com/en/research/zalktis-cve-2026-59109/","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-14T17:46:01.133135Z","id":"CVE-2026-59109","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-14T17:46:15.377Z"}}]}}}