{"id":"CVE-2026-9058","aliases":["CVE-2026-9058"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Certificate Verification in Szafir SDK","summary":"For untrusted certificates that contain the \"Authority Information Access - caIssuers URI\" extension, Szafir SDK will automatically download the parent CA certificate from the specified URL and will import it to its trust store as a \"nonqualified\" certificate. In such a case, Szafir SDK returns a success status code of 0 (\"Positively verified\") upon successful cryptographic verification and a certificate status of \"nonqualified\".\n\nFor other types of untrusted certificates, Szafir SDK returns a success status code of 0 (\"Positively verified\") upon successful cryptographic verification and a certificate status of \"nondetermined\".\n\nThis may lead integrating applications to incorrectly treat the digital signature as valid despite an untrusted certificate chain. This flaw enables authentication bypass and user impersonation:\n(1) in use-cases other than qualified certificate authentication, or\n(2) if the qualified certificate authentication use-case is not correctly implemented by the integrating application.\n\nThis issue was fixed in version 1.8.463.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"For untrusted certificates that contain the \"Authority Information Access - caIssuers URI\" extension, Szafir SDK will automatically download the parent CA certificate from the specified URL and will import it to its trust store as a \"nonqualified\" certificate. In such a case, Szafir SDK returns a success status code of 0 (\"Positively verified\") upon successful cryptographic verification and a certificate status of \"nonqualified\".\n\nFor other types of untrusted certificates, Szafir SDK returns a success status code of 0 (\"Positively verified\") upon successful cryptographic verification and a certificate status of \"nondetermined\".\n\nThis may lead integrating applications to incorrectly treat the digital signature as valid despite an untrusted certificate chain. This flaw enables authentication bypass and user impersonation:\n(1) in use-cases other than qualified certificate authentication, or\n(2) if the qualified certificate authentication use-case is not correctly implemented by the integrating application.\n\nThis issue was fixed in version 1.8.463.2.","source":"cvelist"},{"lang":"es","text":"El SDK de Szafir devuelve un código de estado de éxito del proceso de verificación de firma digital criptográfica (es decir, /VerifyingTaskItem/Signature/VerificationResult/Result/@code == 0, 'Verificado positivamente') incluso cuando el estado de confianza del certificado del firmante no pudo establecerse (es decir, /VerifyingTaskItem/Signature/VerificationResult/SigningCertificate/@certificateType == 'nondetermined'). Esto provoca que las aplicaciones consumidoras traten incorrectamente la firma como válida a pesar de una cadena de certificados no verificada, lo que permite la omisión de autenticación y la suplantación de identidad de usuario.\n\nEste problema se solucionó en la versión 463.","source":"nvd"}],"published":"2026-05-25T13:23:09.157Z","modified":"2026-07-23T12:18:52.540Z","severity":{"scorer":"CERT-PL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"CERT-PL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"}],"cwes":["CWE-295","CWE-393","CWE-637"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.8.463.2","status":"affected"}],"vendor":"Krajowa Izba Rozliczeniowa","product":"Szafir SDK","source":"cvelist"}],"references":[{"url":"https://cert.pl/posts/2026/05/CVE-2026-9058","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.elektronicznypodpis.pl/","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["Michał Leszczyński (icedev.pl)"],"assigner":"CERT-PL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-05-26T15:57:55.171Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-9058","url":"https://www.cve.org/CVERecord?id=CVE-2026-9058","licence":"CVE Terms of Use","modified":"2026-07-23T12:00:31.927Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-9058","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9058","licence":"Public domain","modified":"2026-07-23T12:18:52.540Z"}],"updatedAt":"2026-11-25T22:59:22.270Z","epss":{"score":0.0031,"percentile":0.25674,"date":"2026-12-01T12:00:22.000Z"}}