CVE-2026-40070: CWE-347: Improper Verification of Cryptographic Signature in sgbett bsv-ruby-sdk
The BSV Ruby SDK versions from 0. 3. 1 up to but not including 0. 8. 2 contain a vulnerability where certificate records are persisted without verifying the cryptographic signature of the certifier. This affects the acquire_certificate method in the WalletClient class, allowing an attacker who can access the relevant APIs or control a certifier endpoint to forge identity certificates that appear authentic. The vulnerability is classified as CWE-347, improper verification of cryptographic signature, and has a high severity with a CVSS score of 8. 1.
AI Analysis
Technical Summary
CVE-2026-40070 describes a vulnerability in the sgbett bsv-ruby-sdk where the WalletClient#acquire_certificate method does not verify the certifier's signature on certificate contents before storing them. In the 'direct' acquisition protocol, all certificate fields including the signature are accepted from the caller and stored verbatim. In the 'issuance' protocol, the client sends a POST request to a certifier URL and stores the signature from the response without verification. This flaw allows an attacker with access to either API or control over a certifier endpoint to forge identity certificates that are accepted as valid by subsequent SDK operations such as list_certificates and prove_certificate.
Potential Impact
An attacker able to reach the affected APIs or control a certifier endpoint can create forged identity certificates that the SDK treats as authentic. This compromises the integrity of identity verification within the BSV Ruby SDK, potentially allowing unauthorized identities to be accepted as valid. The vulnerability impacts confidentiality and integrity but does not affect availability. The CVSS score of 8.1 reflects high impact on confidentiality and integrity with low attack complexity and no user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or patch links are provided. Users of the affected versions (>=0.3.1 and <0.8.2) should monitor the vendor's advisory channels for updates. Until a fix is available, avoid using the vulnerable acquire_certificate functionality or restrict access to the relevant APIs and certifier endpoints to trusted parties only to reduce risk.
CVE-2026-40070: CWE-347: Improper Verification of Cryptographic Signature in sgbett bsv-ruby-sdk
Description
The BSV Ruby SDK versions from 0. 3. 1 up to but not including 0. 8. 2 contain a vulnerability where certificate records are persisted without verifying the cryptographic signature of the certifier. This affects the acquire_certificate method in the WalletClient class, allowing an attacker who can access the relevant APIs or control a certifier endpoint to forge identity certificates that appear authentic. The vulnerability is classified as CWE-347, improper verification of cryptographic signature, and has a high severity with a CVSS score of 8. 1.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40070 describes a vulnerability in the sgbett bsv-ruby-sdk where the WalletClient#acquire_certificate method does not verify the certifier's signature on certificate contents before storing them. In the 'direct' acquisition protocol, all certificate fields including the signature are accepted from the caller and stored verbatim. In the 'issuance' protocol, the client sends a POST request to a certifier URL and stores the signature from the response without verification. This flaw allows an attacker with access to either API or control over a certifier endpoint to forge identity certificates that are accepted as valid by subsequent SDK operations such as list_certificates and prove_certificate.
Potential Impact
An attacker able to reach the affected APIs or control a certifier endpoint can create forged identity certificates that the SDK treats as authentic. This compromises the integrity of identity verification within the BSV Ruby SDK, potentially allowing unauthorized identities to be accepted as valid. The vulnerability impacts confidentiality and integrity but does not affect availability. The CVSS score of 8.1 reflects high impact on confidentiality and integrity with low attack complexity and no user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or patch links are provided. Users of the affected versions (>=0.3.1 and <0.8.2) should monitor the vendor's advisory channels for updates. Until a fix is available, avoid using the vulnerable acquire_certificate functionality or restrict access to the relevant APIs and certifier endpoints to trusted parties only to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-09T00:39:12.204Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d7e6ff1cc7ad14dafe8de1
Added to database: 4/9/2026, 5:50:55 PM
Last enriched: 4/9/2026, 6:05:53 PM
Last updated: 4/9/2026, 7:07:52 PM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.