Loading advisory.
Loading advisory.
soapbar: verify_envelope_bsp accepts an unauthenticated embedded certificate (signature forgery / authentication bypass)
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.
Published 2026-11-11 15:48 UTC · Modified 2026-11-24 23:00 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| soapbar | PyPI | < 0.13.0 versions 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.12.1, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.7.0, 0.8.0, 0.8.1, 0.9.0 | 0.13.0 | pip install --upgrade 'soapbar>=0.13.0' |
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.
soapbar < 0.13.0 (all published versions exposing verify_envelope_bsp).
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.
Before upgrading:
Do not treat a successful verify_envelope_bsp() as authentication.
Prefer verify_envelope(..., x509_cert=<pinned cert>), which pins the
expected certificate.
If BSP is required, validate the embedded certificate against your own trust store before acting on the verification result.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.002 on 2026-11-24 to 0.002 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.002 | 0.002 | v2026.06.15 |