
Loading

Loading
We use strictly necessary cookies to run this site, and analytics cookies to understand how it's used. See our Privacy Policy for details.
A GitHub-reviewed security advisory, not necessarily under active exploitation the way our CISA KEV advisories are, but a real, disclosed vulnerability in an open-source dependency.
Affected packages
Vulnerable: < 0.13.0
Patched in 0.13.0
Details
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:
verify_envelope_bsp() as authentication.verify_envelope(..., x509_cert=<pinned cert>), which pins the
expected certificate.EPSS, exploit probability
Low0.23%
estimated chance of real-world exploitation in the next 30 days, higher than 8.0% of every CVE FIRST.org scores
Refreshed 11/27/2026, via FIRST.org's EPSS model, not CVSS, this measures likelihood of exploitation, not how severe it would be.
More pip advisories
Talk to us about this
Find out whether this dependency (or others like it) is actually reachable in your codebase.
Get help patching, or building dependency-scanning into your pipeline going forward.
A secure code review or supply chain review finds this before an advisory does.