Brave Leo Chat Sharing Bug Included URLs and Titles From Unsent Attachments
The article's text, from Joho no Todai's page.
On December 5, Brave merged a fix for how its Leo AI assistant shares conversations. The bug could include the URLs and titles of tabs attached to unsent messages in encrypted share data without displaying them in the shared conversation.
URLs and titles the shared view didn't show
Leo, Brave's built-in AI assistant, can use open browser tabs as context. A conversation-sharing bug could include metadata from draft attachments in data shared with other people.
On December 5, 2026, Brave developers merged a fix into the main branch. They tracked the issue as a security bug associated with a HackerOne report.
The developers said the original implementation encrypted all content metadata associated with the conversation. The share data could include the full URL and page title for tabs attached to drafts. The shared conversation view didn't display those draft attachments.
If a page URL or title revealed something about a person's work, the share could disclose information that never appeared in the conversation. When the screen and the actual data differ, users can make the wrong call about what they'll be giving someone else.
Adding a tab as context and choosing to share a conversation containing that context are separate decisions. While a message is still a draft, a user can still decide to remove the attachment.
Selecting attachments based on the shared messages
The updated code gathers the identifiers of the messages in the shared conversation and their edit history, then checks which messages the attached content refers to. The share includes content associated with the history being shared.
Content attached to unsent messages or linked to messages outside that history is excluded from the share data. Brave also skips fetching the favicon, the small icon that represents a webpage, for pages it leaves out.
The team added automated coverage for attachments associated with message edits and for excluding unsent content. Another test checks that draft content stays out even when the shared message has no identifier.
The old process collected all information associated with the conversation. The updated process checks whether it belongs to the messages being shared. Attachments to the next message can stay separate from the conversation up to that point.
Changes to file references and JSON exports
The update also excludes workspace information from the shared data.
The old share data included metadata without the file itself. The developers said the shared conversation view could show a file reference even though there was no way to open the file.
The fix excludes workspace information even if it is associated with a shared message. The shared view no longer shows those file references. Automated tests cover this case as well.
The fix also applies when copying a conversation as JSON, a text-based data format. Sharing a conversation and copying its JSON use the same code to generate the data, so both now exclude the same information.
What does the recipient gain from a reference that comes without the file? Removing references that lead nowhere also makes the shared conversation easier to use.
The fix and the versions Brave has shipped
Brave tracked the fix for its Nightly 1.103.x development builds. A comparison with the 1.103.10 source code shows that the fix landed after Brave tagged 1.103.10.
On December 5, Brave also opened backport proposals for the 1.102.x beta branch and the 1.101.x stable branch. Both December 5 proposals were awaiting merge.
The change applies when Brave generates share data. The fix description lists no changes to shares that have already been created.
On September 12, when Brave announced conversation sharing for desktop version 1.95, it said that it encrypted shared conversations and that the generated link could decrypt them.
Brave said shared conversations expire after seven days and that users can revoke a share from the management screen to invalidate its link. If you're concerned about a conversation you previously shared, consider revoking any links you no longer need.
Encrypting shared data offers protection. Users can rely on it when they can also determine which information is encrypted and shared. Sharing a conversation with an AI should be possible without worrying about the next question you haven't sent yet.
