Home / stellar / rs-soroban-sdk / CVE-2026-26267
CVE-2026-26267: is it exploited, and which versions of stellar rs-soroban-sdk are affected and fixed?
CVE-2026-26267 is an always-incorrect control flow vulnerability in stellar rs-soroban-sdk. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: soroban-sdk-macros from 25.0.0 before 25.1.1, soroban-sdk-macros from 23.0.0 before 23.5.2 and soroban-sdk-macros before 22.0.10 (GitHub advisory GHSA-4chv-4c6w-w254). Fixed in 25.1.1, 23.5.2 and 22.0.10 (GitHub advisory GHSA-4chv-4c6w-w254). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2026-26267?
rs-soroban-sdk #[contractimpl] macro calls inherent function instead of trait function when names collide
soroban-sdk is a Rust SDK for Soroban contracts. Prior to versions 22.0.10, 23.5.2, and 25.1.1, the `#[contractimpl]` macro contains a bug in how it wires up function calls. `#[contractimpl]` generates code that uses `MyContract::value()` style calls even when it's processing the trait version. This means if an inherent function is also defined with the same name, the inherent function gets called instead of the trait function. This means the Wasm-exported entry point silently calls the wrong function when two conditions are met simultaneously: First, an `impl Trait for MyContract` block is defined with one or more functions, with `#[contractimpl]` applied. Second, an `impl MyContract` block is defined with one or more identically named functions, without `#[contractimpl]` applied. If the trait version contains important security checks, such as verifying the caller is authorized, that the inherent version does not, those checks are bypassed. Anyone interacting with the contract through its public interface will call the wrong function. The problem is patched in `soroban-sdk-macros` versions 22.0.10, 23.5.2, and 25.1.1. The fix changes the generated call from `<Type>::func()` to `<Type as Trait>::func()` when processing trait implementations, ensuring Rust resolves to the trait associated function regardless of whether an inherent function with the same name exists. Users should upgrade to `soroban-sdk-macros` 22.0.10, 23.5.2, or 25.1.1 and recompile their contracts. If upgrading is not immediately possible, contract developers can avoid the issue by ensuring that no inherent associated function on the contract type shares a name with any function in the trait implementation. Renaming or removing the conflicting inherent function eliminates the ambiguity and causes the macro-generated code to correctly resolve to the trait function.
From the CVE record by GitHub_M, last updated February 19, 2026, 21:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| stellar | rs-soroban-sdk | >= 25.0.0, < 25.1.1 >= 23.0.0, < 23.5.2 < 22.0.10 |
As the CVE record by GitHub_M states it, last updated February 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | soroban-sdk-macros | >= 25.0.0, < 25.1.1 | 25.1.1 | GHSA-4chv-4c6w-w254 |
| crates.io | soroban-sdk-macros | >= 23.0.0, < 23.5.2 | 23.5.2 | GHSA-4chv-4c6w-w254 |
| crates.io | soroban-sdk-macros | < 22.0.10 | 22.0.10 | GHSA-4chv-4c6w-w254 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 19, 2026. Summary: The rs-soroban-sdk #[contractimpl] macro calls inherent function instead of trait function when names collide.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| stellar | rs-soroban-sdk | before 22.0.10 | application |
| stellar | rs-soroban-sdk | from 23.0.0 before 23.5.2 | application |
| stellar | rs-soroban-sdk | from 25.0.0 before 25.1.1 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:26 UTC.
How severe is CVE-2026-26267?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-26267 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, February 19, 2026)
- EPSS
- 0.37% probability of exploitation activity in the next 30 days, percentile 32.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-670 Always-Incorrect Control Flow Implementation
Where are the vendor advisories and references?
- https://github.com/stellar/rs-soroban-sdk/security/advisories/GHSA-4chv-4c6w-w254 x_refsource_CONFIRM
- https://github.com/stellar/rs-soroban-sdk/pull/1729 x_refsource_MISC
- https://github.com/stellar/rs-soroban-sdk/pull/1730 x_refsource_MISC
- https://github.com/stellar/rs-soroban-sdk/pull/1731 x_refsource_MISC
- https://github.com/stellar/rs-soroban-sdk/commit/e92a3933e5f92dc09da3c740cf6a360d55709a2b x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- February 12, 2026
- Published
- February 19, 2026, 19:35 UTC
- CVE record updated
- February 19, 2026, 21:22 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 10:26 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect rs-soroban-sdk?
- Mar 12, 2026CVE-2026-32322 stellar rs-soroban-sdk: incorrect comparison
- Jan 28, 2026CVE-2026-24889 stellar rs-soroban-sdk: integer overflow
Questions about CVE-2026-26267
Is CVE-2026-26267 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.37% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of stellar rs-soroban-sdk are affected by CVE-2026-26267?
soroban-sdk-macros from 25.0.0 before 25.1.1, soroban-sdk-macros from 23.0.0 before 23.5.2 and soroban-sdk-macros before 22.0.10, per the GitHub advisory GHSA-4chv-4c6w-w254. The tables above give every range the sources list.
Which version fixes CVE-2026-26267?
25.1.1, 23.5.2 and 22.0.10, per the GitHub advisory GHSA-4chv-4c6w-w254. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-26267?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-26267?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.