Vulnérabilité dans fast-uri (CVE-2026-86818)
Résumé
Vulnérabilité dans fast-uri (CVE-2026-86818). Risque d'opérations non autorisées ou de divulgation. Exploitable via mailto. Atténuation : mise à jour vers 4.1.5 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
fast-uri's mailto scheme parser compares each query field name to the reserved names (to, subject, body) while the name is still percent-encoded, and only percent-decodes it when storing it as a generic header. On serialize, the decoded name is re-emitted, so a field name such as %74o (percent-encoded to) is not recognized as a recipient at parse time (parse().to shows only the legitimate recipient) but materializes as a literal to= field after serialize(), and reparsing then treats it as a recipient. The same technique smuggles subject and body through %73ubject and %62ody.
An application that parses an untrusted mailto URI, makes a display, allowlist, or logging decision on parse().to, then re-serializes the result and passes the serialized string to a mail client or an outbound send path can gain an attacker-chosen recipient, subject, or body that was not visible when the recipient list was checked. A scanner inspecting the raw input for an extra to= sees nothing, because the injected field appears only after fast-uri serializes.
Patches
Upgrade to fast-uri 4.1.5.
Workarounds
Percent-decode and compare mailto field names case-insensitively before trusting parse().to, or re-check the recipient list on the serialized output rather than only on the initial parse, until upgrading.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-86818 a été découverte dans fast-uri.
Des attaquants peuvent cibler un point d'entrée spécifique comme mailto à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 4.8/10.
Action : mettez à jour fast-uri vers 4.1.5 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « fast-uri CVE-2026-86818 » sur le site de l'éditeur.
CVE-2026-86818 (fast-uri) — CWE-172 / CVSS v3 4.8
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : mailto / subject / body
Correctif : 4.1.5 — appliquer immédiatement
Contournement : Percent-decode and compare mailto field names case-insensitively before trusting parse().to, or re-check the recipient list on the serialized output rather than only on the initial parse, until upgrading.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-172) affecte fast-uri. Les attaquants atteignent le code vulnérable via mailto sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de fast-uri. Surface d'attaque : mailto / subject / body.
Gravité : Moyenne (CVSS 4.8/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 4.1.5.
Contournement : Percent-decode and compare mailto field names case-insensitively before trusting parse().to, or re-check the recipient list on the serialized output rather than only on the initial parse, until upgrading.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'fast-uri' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
fast-uriを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
Percent-decode and compare mailto field names case-insensitively before trusting `parse().to`, or re-check the recipient list on the serialized output rather than only on the initial parse, until upgrading.パッチが適用されるまでの応急処置として、Percent-decode and compare mailto field names case-insensitively before trusting
parse().to, or re-check the recipient list on the serialized output rather than only on the initial parse, until upgrading. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade fast-uri to 4.1.5ステージング環境で 4.1.5 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- web cna.openjsf.org
- web github.com
- web nvd.nist.gov
- web github.com
- web github.com
- web github.com