Skip to content
RCE Advisory Advanced CVE-2026-76018

Privilege elevation in Import (CVE-2026-76018)

The ProfileImport utility process runs without a sandbox and decodes untrusted favicon data from imported bookmark files using the full Blink image-codec stack. A malicious bookmarks file could trigger memory corruption in a codec and achieve remote code execution at the OS-user privilege level.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 months

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: The ProfileImport utility process runs without a sandbox but processes untrusted bookmark favicons using the complex Blink image-codec stack. This architectural flaw violates the 'Rule-of-2' by performing dangerous parsing of untrusted data in a high-privilege process. A malicious bookmarks file could potentially trigger memory corruption in a codec and achieve Remote Code Execution (RCE) at the OS-user privilege level.

Affected files:

  • chrome/utility/importer/bookmarks_file_importer.cc
  • chrome/utility/importer/firefox_importer.cc
  • components/user_data_importer/content/content_bookmark_parser_utils.cc
  • components/user_data_importer/content/favicon_reencode.cc
  • chrome/common/importer/profile_import.mojom
  • chrome/utility/importer/profile_import_impl.cc

Estimated timestamp from git blame: 2025-07-30

Summary

A potential "Rule-of-2" security violation exists in the desktop bookmark import system. When a user imports a bookmarks.html file, the ProfileImport utility process—which is explicitly unsandboxed—decodes favicon data-URLs found in the file using the full Blink image-codec stack. This allows the large attack surface of C++ image codecs (WebP, AVIF, PNG, etc.) to be targeted from a process with OS-user privileges.

Technical Details

  1. Unsandboxed Process: The ProfileImport utility service is configured with [ServiceSandbox=sandbox.mojom.Sandbox.kNoSandbox] in chrome/common/importer/profile_import.mojom. This is intended to allow the process to access profile directories of other browsers on the local disk.
  2. Dangerous Parsing Path: In chrome/utility/importer/bookmarks_file_importer.cc, the StartImport method invokes user_data_importer::ParseBookmarksUnsafe(raw_html). This function is documented in components/user_data_importer/content/content_bookmark_parser_utils.h with a contract stating: "This function must be run in a sandboxed process."
  3. Codec Invocation: Within ParseBookmarksUnsafe, extracted ICON attributes (which are data: URLs) are processed via importer::ReencodeFavicon. This leads to content::DecodeImage, which initializes and runs the Blink image-codec stack (blink::ImageDecoder).
  4. Blink Initialization: The utility process explicitly prepares for this by calling content::UtilityThread::Get()->EnsureBlinkInitialized() in ProfileImportImpl::StartImport (chrome/utility/importer/profile_import_impl.cc).

Potential Security Impact

By embedding a crafted image payload within a bookmark's ICON attribute, an attacker could potentially trigger a memory corruption vulnerability (such as a heap overflow) in one of the Blink image codecs. Because the ProfileImport process is unsandboxed, successful exploitation would grant the attacker Remote Code Execution (RCE) with the full privileges of the OS user, bypassing the Chrome sandbox entirely.

Potential Trigger Path

  1. An attacker induces a user to download a malicious bookmarks.html file.
  2. The user navigates to chrome://settings/importData, selects "Bookmarks HTML File", and selects the malicious file.
  3. The Browser process launches the unsandboxed ProfileImport utility process.
  4. The utility process reads the file and invokes the Blink codec stack to decode the malicious ICON data, potentially triggering a vulnerability.

Recommended Fix

The legacy desktop importers (BookmarksFileImporter and FirefoxImporter) should be refactored to avoid calling ParseBookmarksUnsafe directly in the unsandboxed process. Instead, they should utilize the existing sandboxed mojom::BookmarkHtmlParser service (defined in components/user_data_importer/mojom/bookmark_html_parser.mojom), which is designed to parse this untrusted data within a restricted environment.

Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

A malicious bookmarks file could potentially trigger memory corruption in a codec and achieve remote code execution at the OS-user privilege level, bypassing the Chrome sandbox entirely.

What the attacker needed

Victim downloads a malicious bookmarks.html file; victim imports the file via chrome://settings/importData

The fix

The legacy desktop importers should be refactored to use the existing sandboxed BookmarkHtmlParser service instead of calling ParseBookmarksUnsafe directly in the unsandboxed process.

How it was found

  1. An attacker induces a user to download a malicious bookmarks.html file.
  2. The user navigates to chrome://settings/importData, selects 'Bookmarks HTML File', and selects the malicious file.
  3. The Browser process launches the unsandboxed ProfileImport utility process.
  4. The utility process reads the file and invokes the Blink codec stack to decode the malicious ICON data, potentially triggering a vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you import bookmarks from a file, Chrome uses a helper program to read the file. That helper program is not sandboxed, meaning it has the same access as your user account. If the file contains a specially crafted image, it could exploit a bug in the image decoder and let an attacker run code on your computer.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.