Traversée de chemin dans CefSharp.Common (CVE-2026-48796)
Résumé
Traversée de chemin dans CefSharp.Common (CVE-2026-48796). Des informations confidentielles peuvent être exposées. Exploitable via FolderSchemeHandlerFactory. Atténuation : mise à jour vers 148.0.90 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
FolderSchemeHandlerFactory was intended to restrict served files to a configured rootFolder, but its path validation used a raw string prefix check. A request could escape to a sibling directory whose full path starts with the root folder path, allowing files outside the configured root to be served.
Details
In affected versions, FolderSchemeHandlerFactory canonicalized rootFolder, decoded the request path, combined it with the root, and then allowed the file when:
filePath.StartsWith(rootFolder, StringComparison.OrdinalIgnoreCase)
This does not enforce a directory boundary. For example, /tmp/app/www2/secret.txt starts with /tmp/app/www, but www2 is a sibling of www, not a child. The same issue applies on Windows, for example C:\app\www2\secret.txt starts with C:\app\www.
The affected code was reviewed at commit b5fef3bb4bc58798c95170078c41de92cfe9066e, assembly version 147.0.100.
PoC
Set rootFolder to a directory named www and create a sibling directory named www2:
/www/index.html
/www2/secret.txt
Register FolderSchemeHandlerFactory for /www, then request:
https://folderschemehandlerfactory.test/..%2fwww2/secret.txt
The request path is URL-decoded to ../www2/secret.txt, combined with /www, and canonicalized to:
/www2/secret.txt
Because /www2/secret.txt starts with /www as a string prefix, the affected check passes and secret.txt is served from outsi…
Source: GitHub Security Advisories (Global) 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-48796 a été découverte dans CefSharp.Common.
Des attaquants peuvent cibler un point d'entrée spécifique comme FolderSchemeHandlerFactory à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 5.3/10.
Action : mettez à jour CefSharp.Common vers 148.0.90 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « CefSharp.Common CVE-2026-48796 » sur le site de l'éditeur.
CVE-2026-48796 (CefSharp.Common) — CWE-22 / CVSS v3 5.3
Vecteur d'attaque : distant (réseau) / non authentifié
Surface d'attaque : FolderSchemeHandlerFactory / rootFolder / www2 / www
Correctif : 148.0.90 — appliquer immédiatement
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 traversée de chemin (CWE-22) affecte CefSharp.Common. Les attaquants atteignent le code vulnérable via FolderSchemeHandlerFactory sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de CefSharp.Common. Surface d'attaque : FolderSchemeHandlerFactory / rootFolder / www2 / www.
Gravité : Moyenne (CVSS 5.3/10). Des informations confidentielles peuvent être exposées.
Mettre à jour vers 148.0.90.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
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 'CefSharp.Common' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
CefSharp.Commonを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade CefSharp.Common to 148.0.90ステージング環境で 148.0.90 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- package github.com
- web security-advisories@github.com
- web github.com
- web security-advisories@github.com
- web security-advisories@github.com