Skip to content
DayZeroHub
High Not yet writtenCVSS 8.2GHSA-859w-52fx-hcm6CVE-2026-64855

CVE-2026-64855: soapbar: verify_envelope_bsp accepts an unauthenticated embedded certificate (signature forgery / authentication bypass)

soapbar

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-64855: high-severity vulnerability (CVSS 8.2) in soapbar.

What happened

Original description from the source: ### Impact `verify_envelope_bsp()` derived its trust anchor from the message it was verifying. It read the X.509 certificate out of the caller-untrusted `wsse:BinarySecurityToken`, validated **only** that certificate's not-before / not-after dates, and then verified the signature against that same certificate. There was no CA-chain validation, no issuer/subject allowlist, and no pinning. A successful `verify_envelope_bsp()` therefore proved only that the envelope was signed by *whoever supplied the embedded certificate* — never that it was signed by a *trusted* party. An attacker who mints their own certificate, signs a forged envelope, and embeds that certificate in the token passes verification. Any consumer that treats a successful BSP verification as authentication can be impersonated (signature forgery / authentication bypass). `verify_envelope()` (which pins a caller-supplied `x509_cert`) was **not** affected — the flaw was specific to the BSP variant whose trust anchor came from the message. ### Affected versions soapbar `< 0.13.0` (all published versions exposing `verify_envelope_bsp`). ### Patches Fixed in **0.13.0**. `verify_envelope_bsp` now fails closed unless the caller anchors trust: - `trusted_certs=[...]` — pin the expected signer certificate(s); the embedded certificate must equal one of them. - `ca_certs=[...]` — accept certificates directly issued by trusted CA(s). With neither supplied, verification raises instead of trusting the message's own certificate. The trust anchor is checked before the signature is relied upon. `verify_cert_trust=False` restores the old (insecure) behaviour explicitly. ### Workarounds Before upgrading: - Do not treat a succes…

Why it matters

High severity, CVSS 8.2.

Affected products and versions

soapbar < 0.13.0 (fixed in 0.13.0)

ProductVersionsFixed in
soapbar< 0.13.00.13.0

Action recommended by the source

Upgrade to a fixed version: 0.13.0.

Fixed in: 0.13.0

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-295, CWE-347

Relevant change history

  1. Published

    Preliminary advisory published.