CVE-2026-64855: soapbar: verify_envelope_bsp accepts an unauthenticated embedded certificate (signature forgery / authentication bypass)
Published 2026-11-24 · Updated 2026-11-24 · Also known as GHSA-859w-52fx-hcm6
Summary
The soapbar library's verify_envelope_bsp function improperly trusts embedded X.509 certificates from incoming messages without validation against a trusted anchor. Engineering teams using soapbar versions prior to 0.13.0 must upgrade immediately to prevent authentication bypass and signature forgery.
Who is affected
Deployments using soapbar < 0.13.0 that rely on verify_envelope_bsp() for message authentication are vulnerable to impersonation attacks. An attacker can mint their own certificate, sign a forged envelope, and embed that certificate into the message to successfully pass verification. This occurs because the function failed to perform CA-chain validation, allowlisting, or pinning, allowing any caller-untrusted certificate to serve as its own trust anchor.
Exploitability
The vulnerability is remotely exploitable over the network without requiring privileges or user interaction, resulting in high integrity impact and low confidentiality impact as indicated by a CVSS 3.1 base score of 8.2. The EPSS score is very low at 0.002, and the vulnerability is not currently tracked in CISA's Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade the PyPI package soapbar to version 0.13.0 or later.
- Ensure verify_envelope_bsp utilizes trusted_certs or ca_certs to anchor trust appropriately, or migrate to verify_envelope with a pinned x509_cert.
How to check your project
- Check project dependency files (e.g., requirements.txt, pyproject.toml, poetry.lock) for soapbar versions below 0.13.0.
- Inspect codebase for calls to verify_envelope_bsp() that do not explicitly supply trusted_certs or ca_certs parameters.
Automated analysis of the published advisory data, generated 2026-11-24. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| PyPI | soapbar |
>= 0, < 0.13.0 | 0.13.0 | python -m pip install 'soapbar>=0.13.0' |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | Low |
| Integrity | High |
| Availability | None |
FAQ
Are all verification functions in soapbar affected?
No. The vulnerability is specific to verify_envelope_bsp(); the verify_envelope function, which pins a caller-supplied x509_cert, is not affected.
What happens if neither trusted_certs nor ca_certs are supplied in version 0.13.0?
Verification raises an error instead of trusting the message's own certificate, as the function now fails closed.
Is there a workaround if upgrading is not immediately possible?
Do not treat a successful verify_envelope_bsp() call as authentication, prefer verify_envelope with a pinned certificate, or manually validate the embedded certificate against your own trust store.
Original advisory description
References
- WEB https://github.com/hitoshyamamoto/soapbar/security/advisories/GHSA-859w-52fx-hcm6
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-64855
- WEB https://github.com/hitoshyamamoto/soapbar/pull/71
- WEB https://github.com/hitoshyamamoto/soapbar/commit/8daaf221c1a681e6656a580b01f89f155ad97200
- PACKAGE https://github.com/hitoshyamamoto/soapbar
- WEB https://github.com/hitoshyamamoto/soapbar/releases/tag/v0.13.0
Source records: GHSA-859w-52fx-hcm6 (OSV.dev) · EPSS by FIRST, 2026-11-24.