{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-59109",
        "assignerOrgId": "a6d3dc9e-0591-4a13-bce7-0f5b31ff6158",
        "state": "PUBLISHED",
        "assignerShortName": "ENISA",
        "dateReserved": "2026-07-02T15:47:36.965Z",
        "datePublished": "2026-08-13T16:40:01.751Z",
        "dateUpdated": "2026-08-14T17:46:15.377Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "a6d3dc9e-0591-4a13-bce7-0f5b31ff6158",
                "shortName": "ENISA",
                "dateUpdated": "2026-08-13T16:40:01.751Z"
            },
            "title": "Zalktis: SQL injection via partner-controlled fields in imported e-invoices",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-89",
                            "description": "CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection')",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-20",
                            "description": "CWE-20 Improper input validation",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-66",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-66 SQL Injection"
                        }
                    ]
                },
                {
                    "capecId": "CAPEC-7",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-7 Blind SQL Injection"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Zalktis Programmas (SIA \"Zalktis Programmas\")",
                    "product": "Zalktis",
                    "platforms": [
                        "Windows"
                    ],
                    "versions": [
                        {
                            "status": "affected",
                            "version": "0",
                            "lessThan": "2026.1.586",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "0",
                            "lessThan": "2026.2.592",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "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.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p><span>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,&nbsp;</span><code><span>Dazadi.sql_txt()</span></code><span>,\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.</span></p>\n\n\n\n\n\n<p>This issue affects Zalktis: before 2026.1.586 and before 2026.2.592.</p>"
                        }
                    ]
                }
            ],
            "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"
                    }
                }
            ],
            "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": [
            {
                "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"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-08-14T17:46:15.377Z"
                }
            }
        ]
    }
}