Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111935 Overview
CVE-2026-111935 is an external control of file path vulnerability [CWE-73] in NoteGen through version 0.38.3. The flaw resides in the chat image analysis feature, which trusts synced sourceUrl values without validation. Attackers with write access to the victim's sync target can plant absolute file paths or file:// URLs. When the victim opens the synced conversation, image_inspect reads the referenced local files and sends them to the configured AI provider. This results in disclosure of arbitrary local image content to a third-party inference endpoint.
Critical Impact
Attackers who control a victim's sync target can exfiltrate local image files by injecting crafted paths that NoteGen reads and uploads to the AI provider during conversation sync.
Affected Products
- NoteGen through 0.38.3
- src/lib/chat-image-context.ts component
- src/lib/sync/conversation-sync.ts component
Discovery Timeline
- 2026-10-19 - CVE-2026-111935 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-111935
Vulnerability Analysis
NoteGen synchronizes conversations across devices, including attached image references stored as sourceUrl values. The pre-patch implementation in chat-image-context.ts passed these synced values directly to the Tauri filesystem API (readFile) and then to the vision language model pipeline through analyzeImagesWithVlm. No validation enforced that the referenced path belonged to the application's managed attachment directory. An attacker who can write to the sync backend (for example, a shared cloud storage folder or compromised sync endpoint) can inject conversation records whose sourceUrl points to any file readable by the NoteGen process. Upon the next sync, the victim's client resolves the path, reads the file, and transmits its contents to the configured AI provider for image analysis.
Root Cause
The root cause is unvalidated external input flowing into a filesystem read operation. The pre-patch code accepted absolute paths and file:// URLs from untrusted sync data. There was no allowlist, canonicalization, or scoping check restricting reads to the managed conversation-assets directory.
Attack Vector
Exploitation requires write access to the victim's conversation sync target and user interaction to open the synced conversation. The attacker crafts a conversation entry containing an image attachment whose sourceUrl references a sensitive local file. When the victim views the conversation, NoteGen's image inspection path reads the file and sends it to the AI provider configured in NoteGen.
// Patch: src/lib/conversation-assets.ts (commit 64e671e)
export const CONVERSATION_ASSETS_DIRECTORY = 'conversation-assets'
// Attachments are stored as SHA-256 filenames. Synced references are untrusted:
// never decode URLs or resolve arbitrary paths before passing them to the FS API.
export function resolveConversationAssetPath(source: string): string | null {
const prefix = `${CONVERSATION_ASSETS_DIRECTORY}/`
if (!source.startsWith(prefix)) return null
const filename = source.slice(prefix.length)
const match = filename.match(/^[a-f0-9]{64}\.[a-z0-9]+$/i)
return match?.[0] === filename ? source : null
}
Source: GitHub Commit 64e671e
Detection Methods for CVE-2026-111935
Indicators of Compromise
- Conversation sync records containing sourceUrl values that begin with /, a drive letter, or file:// instead of the expected conversation-assets/<sha256>.<ext> format.
- Outbound requests from NoteGen to the configured AI provider containing image payloads whose sizes or hashes do not match any file in the local conversation-assets directory.
- Unexpected read access by the NoteGen process to files outside its application data directory.
Detection Strategies
- Inspect synced conversation JSON for sourceUrl entries that fail the ^[a-f0-9]{64}\.[a-z0-9]+$ filename pattern enforced by the patch.
- Correlate NoteGen process file reads with the application's managed attachment directory. Any read outside that scope is suspicious.
- Monitor sync backend logs for writes originating from accounts or IPs that do not match the user's known devices.
Monitoring Recommendations
- Enable filesystem auditing on endpoints where NoteGen is installed and alert on reads from sensitive paths by the NoteGen binary.
- Track egress to AI inference endpoints and flag image uploads that lack a corresponding local attachment file.
- Review access logs for the sync storage backend to detect unauthorized writes to conversation data.
How to Mitigate CVE-2026-111935
Immediate Actions Required
- Upgrade NoteGen to a version later than 0.38.3 that includes commits 64e671e and 6840c13.
- Restrict and audit write access to the sync target used by NoteGen, including shared cloud storage folders.
- Rotate credentials for the sync backend if unauthorized access is suspected.
- Review recent conversations for injected image attachments referencing unexpected file paths.
Patch Information
The vendor fix is delivered in two commits. Commit 64e671e introduces resolveConversationAssetPath, which rejects any sourceUrl that does not match the conversation-assets/<sha256>.<ext> form before passing it to the Tauri readFile API. Commit 6840c13 further restricts local image attachment reads to the conversation-assets directory. See the VulnCheck Advisory for NoteGen and GitHub Issue #1296 Discussion for additional context.
Workarounds
- Disable conversation sync in NoteGen until the patched version is installed.
- Store the sync target on storage that only the user's own devices can write to.
- Disable the chat image analysis feature so image_inspect does not process synced attachments.
# Validate synced conversation data for suspicious sourceUrl entries
grep -R "\"sourceUrl\"" /path/to/sync/target \
| grep -Ev '"conversation-assets/[a-f0-9]{64}\.[a-z0-9]+"'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

