Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2026-26267

Опубликовано: 19 фев. 2026
Источник: nvd
CVSS3: 7.5
EPSS Низкий

Описание

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 throug

Уязвимые конфигурации

Конфигурация 1

Одно из

cpe:2.3:a:stellar:rs-soroban-sdk:*:*:*:*:*:rust:*:*
Версия до 22.0.10 (исключая)
cpe:2.3:a:stellar:rs-soroban-sdk:*:*:*:*:*:rust:*:*
Версия от 23.0.0 (включая) до 23.5.2 (исключая)
cpe:2.3:a:stellar:rs-soroban-sdk:*:*:*:*:*:rust:*:*
Версия от 25.0.0 (включая) до 25.1.1 (исключая)

EPSS

Процентиль: 24%
0.00317
Низкий

7.5 High

CVSS3

Дефекты

CWE-670

Связанные уязвимости

CVSS3: 7.5
github
7 месяцев назад

The rs-soroban-sdk #[contractimpl] macro calls inherent function instead of trait function when names collide

EPSS

Процентиль: 24%
0.00317
Низкий

7.5 High

CVSS3

Дефекты

CWE-670