CVE-2026-48796
CefSharp: `FolderSchemeHandlerFactory` path boundary check can expose files outside the configured root folder
Also known as GHSA-85jm-cwp2-mvpv
Mitigation
- Upgrade CefSharp.Common to 148.0.90 or later.
Who should check
- Projects that depend on NuGet package CefSharp.Common (< 148.0.90)
- Anyone running CefSharp < 148.0.90
Vulnerability facts
- Affected
- CefSharp.Common < 148.0.90
- Fixed in
- 148.0.90
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.40% chance of exploitation in 30 days (percentile 25, 2026-11-26)
- CWE
- CWE-22
- Modified
Description
CefSharp provides .NET bindings for the Chromium Embedded Framework for Windows Forms and Windows Presentation Foundation applications. Prior to version 148.0.90, CefSharp/SchemeHandler/FolderSchemeHandlerFactory.cs used filePath.StartsWith(rootFolder, StringComparison.OrdinalIgnoreCase) to decide whether a decoded and canonicalized request path remained inside rootFolder. That raw prefix test did not enforce a directory boundary, so a request such as ..%2fwww2/secret.txt could escape a configured www directory into a sibling www2 directory whose path shared the same string prefix. Applications that register FolderSchemeHandlerFactory for a custom scheme or an HTTP or HTTPS scheme can therefore serve local files outside the intended root when an attacker can cause the embedded browser to request the crafted URL. The issue affects both Unix-style paths such as /tmp/app/www2 and Windows paths such as C:\app\www2, and the fix appends a directory separator to the normalized root before comparison while rejecting null bytes and alternate data stream syntax. This issue is fixed in version 148.0.90.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| NuGet CefSharp.Common | < 148.0.90 | 148.0.90 | osv |
| CefSharp | < 148.0.90 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-48796. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-48796.md Affected: CefSharp.Common < 148.0.90 Fixed in: 148.0.90 Steps: 1. Search this machine and project for CefSharp.Common (NuGet), CefSharp: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-48796 being exploited?
There is no confirmed exploitation: CVE-2026-48796 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-48796?
Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-48796?
CefSharp.Common < 148.0.90.
Is there a fix for CVE-2026-48796?
Yes. Fixed in 148.0.90. Upgrade CefSharp.Common to 148.0.90 or later.
How do I check if I'm affected by CVE-2026-48796?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.