1. Accueil
  2. Vulnérabilités
  3. CVE-2026-45137

CVE-2026-45137

Anchor is a framework providing several convenient developer tools for writing Solana programs. From 1.0.0 to…

Publiée le 27 mai 2026 · modifiée le 26 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 46/100

Résumé

Anchor is a framework providing several convenient developer tools for writing Solana programs. From 1.0.0 to before 1.0.2, an logic error causes anchor programs to accept any program id when requiring the system program id, causing false assumptions resulting in potential arbitrary cpi in programs that invoke system program instructions. In the TryFrom<&'a AccountInfo<'a>> implementation for Program<'a, T>, the id of T is compared with Pubkey::default() to check whether anchor should allow any executable account, or a specific account, because when no T is supplied, T defaults to (), which implements Id::id() by returning Pubkey::default(). This results in T = () and T = System (which has Pubkey::default() as the id) having the same behavior, both allow any executable account. Programs built with anchor assume that the anchor runtime verifies passed in programs of type Program<'a, System> are in fact the system program. This false assumption can lead to arbitrary CPI or payment bypassing when programs try making CPI calls to the system program using the passed in system program due to the fact that the attacker can pass in any program instead of the system program. This vulnerability is fixed in 1.0.2.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Anchor-lang (1 ligne(s))
Anchor-lang
ProduitVersionsCorrigé dansSource
Anchor de 1.0.0 (inclus) à 1.0.2 (exclu) — NVD
crates.io (1 ligne(s))
crates.io
ProduitVersionsCorrigé dansSource
anchor-lang de 1.0.0 (inclus) à 1.0.2 (exclu) 1.0.2 OSV

Correctif

Mise à jour — crates.io/anchor-lang 1.0.2source officielle

Source : OSV

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N (CVSS 3.1, CNA:security-advisories@github.com)
Faiblesse
CWE-20 · Validation d'entrée (générique)

Comment sont obtenues et calculées ces données