CVE-2026-64855: soapbar Authentication Bypass Vulnerability
HIGHCVE-2026-64855 is a HIGH (CVSS 8.2) authentication bypass vulnerability (CWE-295: Improper Certificate Validation) affecting soapbar libraries in the PyPI ecosystem. The issue involves verify_envelope_bsp accepts an unauthenticated embedded certificate (signature forgery / authentication bypass). Remediation is available by upgrading affected packages to version 0.13.0.
CVE-2026-64855 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N).
How to Fix CVE-2026-64855
To remediate this vulnerability, upgrade all affected soapbar dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install soapbar>=0.13.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show soapbar
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-64855, inspect your installed packages using pip:
pip show soapbar
Analyze the terminal output to locate any version of soapbar in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.0), your application is affected.
Note: The pip show soapbar command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In soapbar, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-64855 Affected soapbar Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
soapbar
|
PyPI |
< 0.13.0
|
0.13.0
|
References
Frequently Asked Questions
What is CVE-2026-64855?
Which soapbar versions are affected?
What version fixes CVE-2026-64855?
Is soapbar affected?
What is the CVSS score of CVE-2026-64855?
What CWE is associated with CVE-2026-64855?
How can I check PyPI dependencies for CVE-2026-64855?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-859w-52fx-hcm6",
"modified" : "2026-11-24T22:41:44Z",
"published" : "2026-11-24T22:41:44Z",
"aliases" : [ "CVE-2026-64855" ],
"summary" : "soapbar: verify_envelope_bsp accepts an unauthenticated embedded certificate (signature forgery / authentication bypass)",
"details" : "### Impact\n\n`verify_envelope_bsp()` derived its trust anchor from the message it was\nverifying. It read the X.509 certificate out of the caller-untrusted\n`wsse:BinarySecurityToken`, validated **only** that certificate's not-before /\nnot-after dates, and then verified the signature against that same certificate.\nThere was no CA-chain validation, no issuer/subject allowlist, and no pinning.\n\nA successful `verify_envelope_bsp()` therefore proved only that the envelope was\nsigned by *whoever supplied the embedded certificate* — never that it was signed\nby a *trusted* party. An attacker who mints their own certificate, signs a\nforged envelope, and embeds that certificate in the token passes verification.\nAny consumer that treats a successful BSP verification as authentication can be\nimpersonated (signature forgery / authentication bypass).\n\n`verify_envelope()` (which pins a caller-supplied `x509_cert`) was **not**\naffected — the flaw was specific to the BSP variant whose trust anchor came\nfrom the message.\n\n### Affected versions\n\nsoapbar `< 0.13.0` (all published versions exposing `verify_envelope_bsp`).\n\n### Patches\n\nFixed in **0.13.0**. `verify_envelope_bsp` now fails closed unless the caller\nanchors trust:\n\n- `trusted_certs=[...]` — pin the expected signer certificate(s); the embedded\n certificate must equal one of them.\n- `ca_certs=[...]` — accept certificates directly issued by trusted CA(s).\n\nWith neither supplied, verification raises instead of trusting the message's own\ncertificate. The trust anchor is checked before the signature is relied upon.\n`verify_cert_trust=False` restores the old (insecure) behaviour explicitly.\n\n### Workarounds\n\nBefore upgrading:\n\n- Do not treat a successful `verify_envelope_bsp()` as authentication.\n- Prefer `verify_envelope(..., x509_cert=<pinned cert>)`, which pins the\n expected certificate.\n- If BSP is required, validate the embedded certificate against your own trust\n store before acting on the verification result.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "soapbar"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.13.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/hitoshyamamoto/soapbar/security/advisories/GHSA-859w-52fx-hcm6"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-64855"
}, {
"type" : "WEB",
"url" : "https://github.com/hitoshyamamoto/soapbar/pull/71"
}, {
"type" : "WEB",
"url" : "https://github.com/hitoshyamamoto/soapbar/commit/8daaf221c1a681e6656a580b01f89f155ad97200"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hitoshyamamoto/soapbar"
}, {
"type" : "WEB",
"url" : "https://github.com/hitoshyamamoto/soapbar/releases/tag/v0.13.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295", "CWE-347" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-24T22:41:44Z",
"nvd_published_at" : "2026-11-11T16:17:25Z"
}
}