Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-85jm-cwp2-mvpv: CefSharp.Common: `FolderSchemeHandlerFactory` path boundary check can expose files outside the configured root folder

0
Medium
Published: 06/30/2026 (06/30/2026, 18:36:12 UTC)
Source: GCVE Database
Product: CefSharp.Common

Description

CefSharp.Common's FolderSchemeHandlerFactory contains a path validation flaw that allows serving files outside the configured root folder. The vulnerability arises because the code uses a raw string prefix check to validate paths, which does not enforce directory boundaries. This can allow an attacker to access sibling directories with paths that start with the root folder path string but are not actually contained within it. This issue affects versions prior to 148.0.90. Exploitation requires the attacker to induce the embedded browser to request URLs handled by the vulnerable scheme handler.

CVSS v3.1

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected software

NuGetghsa
CefSharp.Common
Affected versions
<148.0.90

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/30/2026, 23:47:54 UTC

Technical Analysis

The FolderSchemeHandlerFactory component in CefSharp.Common intended to restrict file serving to a configured root folder uses a path validation method that checks if the requested file path starts with the root folder path as a string prefix. This approach fails to enforce directory boundaries, allowing requests to escape to sibling directories whose paths share the root folder prefix string. For example, a request to a path like '../www2/secret.txt' can be combined and canonicalized to a sibling directory outside the root folder but still pass the prefix check, resulting in unauthorized file exposure. This vulnerability affects versions before 148.0.90 and is tracked as CVE-2026-48796.

Potential Impact

Applications using FolderSchemeHandlerFactory to serve files may unintentionally expose local files outside the intended root directory, potentially leaking sensitive data stored in sibling directories. The vulnerability does not allow modification or deletion of files, only unauthorized read access. Exploitation requires the attacker to cause the embedded browser to request URLs handled by the affected scheme, limiting the attack surface to applications embedding CefSharp with this configuration.

Mitigation Recommendations

No official patch link is provided in the data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using FolderSchemeHandlerFactory with root folders that have sensitive sibling directories sharing the same path prefix. Validate and sanitize requested paths to ensure they do not escape the intended root directory. Monitor vendor communications for an official fix or update.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-85jm-cwp2-mvpv
Osv Schema Version
1.4.0
Aliases
["CVE-2026-48796"]
Ecosystems
["NuGet"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a4452e227e9c797198e1193

Added to database: 06/30/2026, 23:36:02 UTC

Last enriched: 06/30/2026, 23:47:54 UTC

Last updated: 07/01/2026, 03:33:12 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses