Description
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".

For 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".

This 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:
(1) in use-cases other than qualified certificate authentication, or
(2) if the qualified certificate authentication use-case is not correctly implemented by the integrating application.

This issue was fixed in version 1.8.463.2.
Published: 2026-05-25
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Szafir SDK performs automatic certificate chain building that causes it to import an untrusted parent CA certificate as a 'nonqualified' entry when a certificate contains an Authority Information Access caIssuers URI. After downloading and importing, the SDK returns code 0 and labels the certificate as nonqualified, or, for other untrusted certificates, it returns code 0 and marks the certificate as nondetermined. Because the SDK reports a successful verification regardless of the certificate’s trust state, applications may incorrectly accept a forged or untrusted signature as valid. This flaw enables authentication bypass and user impersonation in contexts that rely on qualified certificate authentication or in any area where the consuming application fails to implement additional validation logic. The vulnerability is rooted in improper certificate validation (CWE‑295), improper handling of certificate validation errors (CWE‑393), and misuse of trust states (CWE‑637).

Affected Systems

Vendors affected include the Krajowa Izba Rozliczeniowa Szafir SDK. All releases before 1.8.463.2 are impacted, while 1.8.463.2 and later contain the fix that correctly treats nondetermined certificates as invalid.

Risk and Exploitability

The vulnerability has a CVSS score of 9.3, indicating critical severity. The EPSS score of < 1% indicates a very low but nonzero likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote: an adversary can supply a maliciously signed document or transaction to an application that consumes the SDK, leading to authentication bypass and user impersonation. Because the SDK returns a success status code regardless of the certificate’s trustworthiness, any application without additional verification steps is vulnerable to this bypass.

Generated by OpenCVE AI on August 3, 2026 at 07:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Szafir SDK to version 1.8.463.2 or later, which implements proper certificate trust validation.
  • If an upgrade is not immediately possible, modify consuming applications to perform independent certificate chain verification before trusting the SDK’s verification result. Reject signatures marked as nondetermined or unavailable.
  • Apply network segmentation and enforce strict access controls on components that process signed data to limit the potential impact of a bypass.

Generated by OpenCVE AI on August 3, 2026 at 07:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Description Szafir SDK returns a success status code from the cryptographic digital signature verification process (i.e. /VerifyingTaskItem/Signature/VerificationResult/Result/@code == 0, "Positively verified") even when the trust status of the signer's certificate could not be established (i.e. /VerifyingTaskItem/Signature/VerificationResult/SigningCertificate/@certificateType == "nondetermined"). This causes consuming applications to incorrectly treat the signature as valid despite an unverified certificate chain, enabling authentication bypass and user impersonation. This issue was fixed in version 463. 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". For 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". This 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: (1) in use-cases other than qualified certificate authentication, or (2) if the qualified certificate authentication use-case is not correctly implemented by the integrating application. This issue was fixed in version 1.8.463.2.
Weaknesses CWE-295

Wed, 27 May 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Krajowa Izba Rozliczeniowa
Krajowa Izba Rozliczeniowa szafir Sdk
Vendors & Products Krajowa Izba Rozliczeniowa
Krajowa Izba Rozliczeniowa szafir Sdk

Tue, 26 May 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 25 May 2026 13:30:00 +0000

Type Values Removed Values Added
Description Szafir SDK returns a success status code from the cryptographic digital signature verification process (i.e. /VerifyingTaskItem/Signature/VerificationResult/Result/@code == 0, "Positively verified") even when the trust status of the signer's certificate could not be established (i.e. /VerifyingTaskItem/Signature/VerificationResult/SigningCertificate/@certificateType == "nondetermined"). This causes consuming applications to incorrectly treat the signature as valid despite an unverified certificate chain, enabling authentication bypass and user impersonation. This issue was fixed in version 463.
Title Improper Certificate Verification in Szafir SDK
Weaknesses CWE-393
CWE-637
References
Metrics cvssV4_0

{'score': 9.3, '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'}


Subscriptions

Krajowa Izba Rozliczeniowa Szafir Sdk
cve-icon MITRE

Status: PUBLISHED

Assigner: CERT-PL

Published:

Updated: 2026-07-23T12:00:31.927Z

Reserved: 2026-05-20T06:36:10.929Z

Link: CVE-2026-9058

cve-icon Vulnrichment

Updated: 2026-05-26T15:57:58.683Z

cve-icon NVD

Status : Deferred

Published: 2026-05-25T14:16:27.977

Modified: 2026-07-23T12:18:52.540

Link: CVE-2026-9058

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T07:45:17Z

Weaknesses
  • CWE-295

    Improper Certificate Validation

  • CWE-393

    Return of Wrong Status Code

  • CWE-637

    Unnecessary Complexity in Protection Mechanism (Not Using 'Economy of Mechanism')