PyPI
CVE-2026-64855
soapbar: verify_envelope_bsp accepts an unauthenticated embedded certificate (signature forgery / authentication bypass)
- Severity
- High 8.2
- Published
- 24 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 24 Nov 2026
- Fixed in
- 0.13.0
- Exploit chance
- 0.2% in the next 30 daysHigher than 8% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Improper certificate validation (CWE-295)Improper verification of a cryptographic signature (CWE-347)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read some data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N- Also known as
- GHSA-859w-52fx-hcm6
- Sources
- OSV.dev and GitHub
Description
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.
Workarounds
Before upgrading:
- Do not treat a successful verify_envelope_bsp() as authentication.
- Prefer verify_envelope(..., x509_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.
Affected software
| Software | Affected versions |
|---|---|
soapbarPyPI · osv:PyPI:soapbar |
|
About soapbar
- Weekly downloads (PyPI)
- 324PyPI Stats, 24 Nov 2026
This is the only vulnerability in soapbar in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-64855
- GitHub Advisory Database https://github.com/advisories/GHSA-859w-52fx-hcm6