# CVE-2026-9058: Improper Certificate Verification in Szafir SDK

- Severity: Critical 9.3 (CVSS:4.0, scored by CERT-PL) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-05-25T13:23:09.157Z
- Modified: 2026-07-23T12:18:52.540Z
- Weaknesses: CWE-295, CWE-393, CWE-637
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CERT-PL

## 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.

(As written by CVE List.)

## Affected

- Krajowa Izba Rozliczeniowa Szafir SDK: before 1.8.463.2

## References

- <https://cert.pl/posts/2026/05/CVE-2026-9058> (third-party-advisory)
- <https://www.elektronicznypodpis.pl/> (product)

## Sources

- CVE List: [CVE-2026-9058](https://www.cve.org/CVERecord?id=CVE-2026-9058), CVE Terms of Use, modified 2026-07-23
- NVD: [CVE-2026-9058](https://nvd.nist.gov/vuln/detail/CVE-2026-9058), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-9058 · Whole record: https://cve.day/CVE-2026-9058.json · Rebuilt by cve.day 2026-11-25T22:59:22.270Z
