VeraCrypt icon indicating copy to clipboard operation
VeraCrypt copied to clipboard

Criticalic Security Flaw: Unmounted volume automatally remounts without credentials upon launching UTM Virtual Machine on macOS 26.5.1+ (Apple Silicon)

Open Christian-SC26 opened this issue 5 months ago • 7 comments

Expected behavior

The encrypted VeraCrypt volume should remain securely locked, isolated, and completely unmounted after explicitly executing the dismount command. Any third-party application (like UTM) attempting to access files previously stored on that volume should fail, throwing an error that the paths or virtual machine images are completely inaccessible.

Observed behavior

A severe isolation failure occurs. After the volume is successfully unmounted via the VeraCrypt GUI and disappears from both the slot list and the Finder sidebar, it leaves "ghost" file descriptors behind in the macOS kernel.

When the UTM application is launched, it requests access to its recent VM paths. macOS recognizes the cached encryption keys still lingering in the system memory and instantly revives/remounts the active crypto-session. The VeraCrypt volume completely reappears as a mounted drive (/dev/disk4 / disk5) with full read/write privileges, bypassing all cryptographic checks, passwords, PIM, or keyfiles. Anyone with local access to the machine can manipulate, copy, or execute these files without restrictions.

Steps to reproduce

  1. Mount a VeraCrypt volume (Standard or Hidden) containing UTM virtual machine images (.utm).
  2. Run a virtual machine inside the UTM application located on this encrypted partition.
  3. Shut down the virtual machine completely and close the UTM application.
  4. Click "Dismount" inside the VeraCrypt GUI. Ensure the volume disappears from the active slots and the Finder sidebar.
  5. Launch the UTM application again.
  6. Run diskutil list in the Terminal or check the Finder sidebar; the previously unmounted volume is completely back online and accessible without any password prompts.

Screenshots

1. State 1: VeraCrypt open, volume unmounted, UTM closed.

diskutil list shows only local storage (disk0 and disk3). No encrypted volumes are present in the system. Refer to file: CleanShot 2026-06-16 at 18.39.25.jpg

2. State 2: Launching UTM without mounting anything in VeraCrypt.

Immediately after launching UTM, diskutil list reveals that the system automatically brought back the encrypted container as a ghost disk image without credentials: Refer to file: CleanShot 2026-06-16 at 18.40.06.jpg

/dev/disk4 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +47.2 GB    disk4
/dev/disk5 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +47.2 GB    disk5
                                 Physical Store disk4
   1:                APFS Volume untitled                16.7 GB    disk5s1

Your Environment

VeraCrypt version: 1.26.29

Operating system and version: macOS 26.5.1

System type: MacBook Pro M3 Pro

Image Image

Christian-SC26 avatar Jun 16 '26 15:06 Christian-SC26

When trying to mount the disk to another slot - UTM completely stuck and throws an error -

"There was a problem connecting to the server "fuse-t-1". The server may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again.

Furthermore, if we mount it back to the previous slot where it was before, UTM still retains full access to the encrypted files, even after they have been explicitly unmounted via VeraCrypt.

Christian-SC26 avatar Jun 23 '26 09:06 Christian-SC26

Here is the exact step-by-step scenario to reproduce the issue:

  1. Reboot the Mac — at this stage, the Finder sidebar is completely clean: the "Network" section is hidden, and no external volumes are mounted.
  2. Open VeraCrypt and mount a hidden container into the first available slot.
  3. Once mounted, the "Network" section and the mounted volume (/Volumes/untitled/) appear in the Finder sidebar.
  4. Access any file inside the mounted volume to trigger the bug. In my test, I used a simple terminal command: tail -f /Volumes/untitled/anyfile.md
  5. Kill the terminal process (otherwise VeraCrypt won't allow a standard unmount, which is also a bit strange in this context) and then dismount the volume via the VeraCrypt GUI.
  6. In Finder, the mounted volume disappears, but the "Network" section remains visible in the sidebar.
  7. Click on the Network section — you will see a hidden directory: /Volumes/.veracrypt_aux_mnt1/
  8. Enter this directory. Inside, you will find the following files: aux-device-info, control, and volume.dmg.
  9. **Double-click and mount volume.dmg** like any standard macOS disk image — it mounts instantly, granting full, unrestricted access to all files inside the hidden VeraCrypt volume without requiring a password or any authentication.

Conclusion:

It appears that if any process interacts with files inside an encrypted volume, the volume cannot be fully locked or purged from memory afterward. The decrypted cache and keys remain exposed in the system until a complete macOS reboot.

Christian-SC26 avatar Jun 23 '26 17:06 Christian-SC26

Update: Attempts to Manually Purge the Volume and Clear the Cache

I tried multiple ways to forcefully unmount the ghost volume and drop the unauthenticated access via the Terminal without a full system reboot. Surprisingly, none of them worked, and the core OS kernel continues to expose the decrypted data.

Here is what was verified:

  1. Standard & Force Disk Unmounting:

    • Running sudo diskutil umount force /Volumes/.veracrypt_aux_mnt1 returns Unmount successful. However, the data remains fully accessible right after.
    • Running sudo umount -f /Volumes/.veracrypt_aux_mnt1 throws an error: “The operation can’t be completed because the original item for '.veracrypt_aux_mnt1' can’t be found.” Yet, the folder remains active and the files inside are readable.
  2. Killing the Background Processes:

    • Checking active processes via ps ax | grep -i fuse reveals that the fuse-t and VeraCrypt processes are already dead and completely gone from the process tree. No PID is actively holding the directory.
  3. Restarting Finder:

    • Running killall Finder causes Finder to restart, but it immediately initiates a re-scan of network sharepoints, reconnects to the kernel's cached VFS state, and fully restores unrestricted access to the files without a password prompt.
  4. Investigating the Network/NFS Stack:

    • Since fuse-t acts as a local NFS server, I checked the local RPC and network states:
      • rpcinfo -p returns: rpcinfo: can't contact portmapper: RPC: Unable to send; errno = Broken pipe.
      • netstat -an | grep 2049 (default NFS port) returns absolutely nothing.
      • sudo nfsd stop reports that the NFS daemon isn't even running.

Conclusion:

This indicates a severe architecture issue on macOS where the virtual file system (VFS) kernel layer caches the decryption context/keys and refuses to flush them if any process touched the volume prior to dismounting. The system drops into a "zombie" state where the GUI thinks the volume is gone, but the raw decrypted volume image remains permanently exposed in kernel memory until a full system reboot.

PS: Every attempt to manually unmount the disk was made with an AI

Christian-SC26 avatar Jun 23 '26 17:06 Christian-SC26

The macFUSE version is working as expected. None of the above-described scenarios could be reproduced.

Christian-SC26 avatar Jun 25 '26 13:06 Christian-SC26

Thanks for the detailed follow-up and for testing the macFUSE build.

On macOS, the FUSE-T build uses an internal auxiliary mount named .veracrypt_aux_mntX. This auxiliary mount exposes the already open VeraCrypt volume as volume.dmg, and VeraCrypt then uses hdiutil to attach it as the visible macOS disk. If the VeraCrypt GUI dismounts the visible volume but the FUSE-T auxiliary mount or its helper process remains alive, then opening volume.dmg can reattach the already open decrypted block device without asking for credentials again.

So the issue is not that macOS cached the password or that VeraCrypt authentication was bypassed. The likely issue is that the FUSE-T auxiliary endpoint remains alive after VeraCrypt reports the volume as dismounted. That is still serious and I will investigate a fix so VeraCrypt verifies that the auxiliary FUSE-T mount and helper processes are actually gone before considering the dismount successful.

If you can reproduce again, please collect the following immediately after clicking Dismount in the VeraCrypt GUI, before launching UTM or manually opening volume.dmg:

diskutil list
mount | grep -E 'veracrypt_aux_mnt|fuse-t|smbfs|nfs'
hdiutil info
ps auxww | grep -E 'go-nfsv4|VeraCrypt|veracrypt_aux_mnt' | grep -v grep
lsof -nP | grep -E 'veracrypt_aux_mnt|volume\.dmg|go-nfsv4|VeraCrypt'
tail -300 "$HOME/Library/Logs/fuse-t/fuse-t.log"

idrassi avatar Jun 26 '26 07:06 idrassi

I just reproduced the behavior with a test container.

   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:             Apple_APFS_ISC Container disk1         524.3 MB   disk0s1
   2:                 Apple_APFS Container disk3         994.7 GB   disk0s2
   3:        Apple_APFS_Recovery Container disk2         5.4 GB     disk0s3

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +994.7 GB   disk3
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Data     828.9 GB   disk3s1
   2:                APFS Volume Macintosh HD            12.6 GB    disk3s3
   3:              APFS Snapshot com.apple.os.update-... 12.6 GB    disk3s3s1
   4:                APFS Volume Preboot                 9.1 GB     disk3s4
   5:                APFS Volume Recovery                1.3 GB     disk3s5
   6:                APFS Volume VM                      24.6 KB    disk3s6


tusermacbookpro:~ testuser$ mount | grep -E 'veracrypt_aux_mnt|fuse-t|smbfs|nfs'
tusermacbookpro:~ testuser$ hdiutil info
framework       : 683.160.3
driver          : 683.160.3


tusermacbookpro:~ testuser$ ps auxww | grep -E 'go-nfsv4|VeraCrypt|veracrypt_aux_mnt' | grep -v grep
testuser  4397   0,0  0,0 435387408   3776   ??  Ss    8:51     0:00.04 /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt
testuser  4396   0,0  0,1 436024944  19360   ??  Ss    8:51     0:00.05 /usr/local/bin/go-nfsv4 --namedattr=false --rwsize=262144 --dontbrowse=true --backend smb /private/var/folders/0w/jkgt94gx42gdypd5r75sd8vr0000gn/T/.veracrypt_aux_mnt1
testuser  4395   0,0  0,0 435312304   1904   ??  S     8:51     0:00.00 /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt
testuser  3786   0,0  0,0 435320752   4192   ??  S     8:50     0:00.44 /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt
testuser  3527   0,0  0,4 435820272 139056   ??  S     8:50     0:01.46 /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt
tusermacbookpro:~ testuser$ lsof -nP | grep -E 'veracrypt_aux_mnt|volume\.dmg|go-nfsv4|VeraCrypt'
VeraCrypt 3527 testuser  cwd       DIR               1,15        1600            38751027 /Applications
VeraCrypt 3527 testuser  txt       REG               1,15    15883600            30708414 /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt
VeraCrypt 3527 testuser  txt       REG               1,15       81288 1152921500312585059 /usr/share/locale/en_US.UTF-8/LC_COLLATE
VeraCrypt 3527 testuser  txt       REG               1,15         720 1152921500312582354 /usr/share/i18n/csmapper/APPLE/ROMAN%UCS.mps
VeraCrypt 3527 testuser  txt       REG               1,15      128736 1152921500312582396 /usr/share/i18n/csmapper/APPLE/UCS%ROMAN.mps
VeraCrypt 3527 testuser  txt       REG               1,15       72984            46859918 /Library/Preferences/Logging/.plist-cache.Era6BSHL
VeraCrypt 3527 testuser  txt       REG               1,15      663760            31826715 /usr/local/lib/libfuse-t-1.2.7.dylib
VeraCrypt 3527 testuser  txt       REG               1,15         110 1152921500312103375 /System/Library/CoreServices/SystemVersion.bundle/German.lproj/SystemVersion.strings
VeraCrypt 3527 testuser  txt       REG               1,15        6918 1152921500312144377 /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/InputManager.loctable
VeraCrypt 3527 testuser  txt       REG               1,15     2562000 1152921500312573255 /usr/lib/dyld
VeraCrypt 3527 testuser  txt       REG               1,15      137016 1152921500312103064 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car
VeraCrypt 3527 testuser  txt       REG               1,15    35444880 1152921500312583756 /usr/share/icu/icudt78l.dat
VeraCrypt 3527 testuser  txt       REG               1,15      234224            33938039 /private/var/db/timezone/tz/2026c.1.0/icutz/icutz44l.dat
VeraCrypt 3527 testuser  txt       REG               1,15     7795064 1152921500312103037 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/DarkAqua.car
VeraCrypt 3527 testuser  txt       REG               1,15       73240 1152921500312103049 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/FauxVibrantDark.car
VeraCrypt 3527 testuser  txt       REG               1,15     6742984 1152921500312103068 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantDark.car
VeraCrypt 3527 testuser  txt       REG               1,15      248192 1152921500312573273 /usr/lib/libobjc-trampolines.dylib
VeraCrypt 3527 testuser  txt       REG               1,15      177510 1152921500312144383 /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/MenuCommands.loctable
VeraCrypt 3527 testuser  txt       REG               1,15      139252            38751352 /System/Library/Caches/com.apple.IntlDataCache.le.kbdx
VeraCrypt 3527 testuser  txt       REG               1,15     1561920 1152921500312212658 /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat
VeraCrypt 3527 testuser  txt       REG               1,15      250306 1152921500312212660 /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/InfoPlist.loctable
VeraCrypt 3527 testuser  txt       REG               1,15     7909644 1152921500312142422 /System/Library/Fonts/SFNS.ttf
VeraCrypt 3527 testuser  txt       REG               1,15       60821 1152921500312144299 /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/Common.loctable
VeraCrypt 3527 testuser  txt       REG               1,15     7912984 1152921500312103025 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.car
VeraCrypt 3527 testuser  txt       REG               1,15     3364296 1152921500312103031 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Assets.car
VeraCrypt 3527 testuser  txt       REG               1,15     2044376 1152921500312144209 /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/Assets.car
VeraCrypt 3527 testuser  txt       REG               1,15     2369592 1152921500312142346 /System/Library/Fonts/Helvetica.ttc
VeraCrypt 3527 testuser  txt       REG               1,15       24216 1152921500312282228 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/DesignLibrary-macOS.bundle/Contents/Resources/macOSRepositories/DarkStandard.car
VeraCrypt 3527 testuser  txt       REG               1,15       85336 1152921500312284788 /System/Library/PrivateFrameworks/DesignLibrary.framework/Versions/A/Resources/Assets.car
VeraCrypt 3527 testuser  txt       REG               1,15     5425091 1152921500312149092 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/Extras2.rsrc
VeraCrypt 3527 testuser  txt       REG               1,15    14939856 1152921500312350542 /System/Library/PrivateFrameworks/RenderBox.framework/Versions/A/Resources/archive.metallib
VeraCrypt 3527 testuser  txt       REG               1,15      196608            17039863 /private/var/folders/0w/jkgt94gx42gdypd5r75sd8vr0000gn/C/org.idrix.VeraCrypt/com.apple.metal/16777235_467/functions.data
VeraCrypt 3527 testuser  txt       REG               1,15    25151584 1152921500312129912 /System/Library/Extensions/AGXMetalG16X.bundle/Contents/MacOS/AGXMetalG16X
VeraCrypt 3527 testuser  txt       REG               1,15    32307096 1152921500312129917 /System/Library/Extensions/AGXMetalG16X.bundle/Contents/Resources/ds.g16s
VeraCrypt 3527 testuser  txt       REG               1,15   160168520 1152921500312351718 /System/Library/PrivateFrameworks/SFSymbols.framework/Versions/A/Resources/CoreGlyphs.bundle/Contents/Resources/Assets.car
VeraCrypt 3527 testuser  txt       REG               1,16         104              500720 /System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app/Contents/Resources/en.lproj/ServicesMenu.strings
VeraCrypt 3527 testuser  txt       REG               1,15       25779 1152921500312144499 /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/Services.loctable
VeraCrypt 3527 testuser  txt       REG               1,15      132819 1152921500312144497 /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/SavePanel.loctable
VeraCrypt 3527 testuser  txt       REG               1,15      164959            46881973 /private/var/db/analyticsd/events.allowlist
VeraCrypt 3527 testuser  txt       REG               1,15      114688            17039866 /private/var/folders/0w/jkgt94gx42gdypd5r75sd8vr0000gn/C/org.idrix.VeraCrypt/com.apple.metal/32024/libraries.data
VeraCrypt 3527 testuser  txt       REG               1,15   160202560 1152921500312163766 /System/Library/Frameworks/QuartzCore.framework/Versions/A/Resources/default.metallib
VeraCrypt 3527 testuser  txt       REG               1,15       38776 1152921500312144385 /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/Menus.loctable
VeraCrypt 3527 testuser  txt       REG               1,15       50197 1152921500312144525 /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/Undo.loctable
VeraCrypt 3527 testuser    0r      CHR                3,2         0t0                 336 /dev/null
VeraCrypt 3527 testuser    1u      CHR                3,2         0t0                 336 /dev/null
VeraCrypt 3527 testuser    2u      CHR                3,2         0t0                 336 /dev/null
VeraCrypt 3527 testuser    3r      REG               1,15     1250960 1152921500312350544 /System/Library/PrivateFrameworks/RenderBox.framework/Versions/A/Resources/default.metallib
VeraCrypt 3527 testuser    4      PIPE 0xb447c977837eff29       65536                     ->0xb5dabf7383c85182
VeraCrypt 3527 testuser    5      PIPE 0xedc95665df97e437       16384                     ->0xbad53e6e21558f00
VeraCrypt 3527 testuser    6r      REG               1,15   160202560 1152921500312163766 /System/Library/Frameworks/QuartzCore.framework/Versions/A/Resources/default.metallib
VeraCrypt 3527 testuser    7u      REG               1,15      196608            17039863 /private/var/folders/0w/jkgt94gx42gdypd5r75sd8vr0000gn/C/org.idrix.VeraCrypt/com.apple.metal/16777235_467/functions.data
VeraCrypt 3527 testuser    8u      REG               1,15        4300            46897157 /private/var/folders/0w/jkgt94gx42gdypd5r75sd8vr0000gn/C/org.idrix.VeraCrypt/com.apple.metal/16777235_467/functions.list
VeraCrypt 3527 testuser    9u      REG               1,15      114688            17039866 /private/var/folders/0w/jkgt94gx42gdypd5r75sd8vr0000gn/C/org.idrix.VeraCrypt/com.apple.metal/32024/libraries.data
VeraCrypt 3527 testuser   10u      REG               1,15         772            46897314 /private/var/folders/0w/jkgt94gx42gdypd5r75sd8vr0000gn/C/org.idrix.VeraCrypt/com.apple.metal/32024/libraries.list
VeraCrypt 3786 testuser  cwd       DIR               1,15         704                   2 /
VeraCrypt 3786 testuser  txt       REG               1,15    15883600            30708414 /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt
VeraCrypt 3786 testuser  txt       REG               1,15       81288 1152921500312585059 /usr/share/locale/en_US.UTF-8/LC_COLLATE
VeraCrypt 3786 testuser  txt       REG               1,15         720 1152921500312582354 /usr/share/i18n/csmapper/APPLE/ROMAN%UCS.mps
VeraCrypt 3786 testuser  txt       REG               1,15      128736 1152921500312582396 /usr/share/i18n/csmapper/APPLE/UCS%ROMAN.mps
VeraCrypt 3786 testuser  txt       REG               1,15      663760            31826715 /usr/local/lib/libfuse-t-1.2.7.dylib
VeraCrypt 3786 testuser  txt       REG               1,15     2562000 1152921500312573255 /usr/lib/dyld
VeraCrypt 3786 testuser    0r      CHR                3,2         0t0                 336 /dev/null
VeraCrypt 3786 testuser    1u      CHR                3,2         0t0                 336 /dev/null
VeraCrypt 3786 testuser    2u      CHR                3,2         0t0                 336 /dev/null
VeraCrypt 3786 testuser    3      PIPE 0xb5dabf7383c85182       65536                     ->0xb447c977837eff29
VeraCrypt 3786 testuser    6      PIPE 0xbad53e6e21558f00       16384                     ->0xedc95665df97e437
com.apple 4382 testuser  txt       REG               1,15       16384            17041806 /private/var/folders/0w/jkgt94gx42gdypd5r75sd8vr0000gn/C/org.idrix.VeraCrypt/com.apple.metal/16777235_467/functions1.data
com.apple 4382 testuser    4r      REG               1,15    15883600            30708414 /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt
com.apple 4382 testuser    9u      REG               1,15       16384            17041806 /private/var/folders/0w/jkgt94gx42gdypd5r75sd8vr0000gn/C/org.idrix.VeraCrypt/com.apple.metal/16777235_467/functions1.data
com.apple 4382 testuser   10u      REG               1,15         268            46897336 /private/var/folders/0w/jkgt94gx42gdypd5r75sd8vr0000gn/C/org.idrix.VeraCrypt/com.apple.metal/16777235_467/functions1.list
VeraCrypt 4395 testuser  cwd       DIR               1,15         704                   2 /
VeraCrypt 4395 testuser  txt       REG               1,15    15883600            30708414 /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt
VeraCrypt 4395 testuser  txt       REG               1,15       81288 1152921500312585059 /usr/share/locale/en_US.UTF-8/LC_COLLATE
VeraCrypt 4395 testuser  txt       REG               1,15         720 1152921500312582354 /usr/share/i18n/csmapper/APPLE/ROMAN%UCS.mps
VeraCrypt 4395 testuser  txt       REG               1,15      128736 1152921500312582396 /usr/share/i18n/csmapper/APPLE/UCS%ROMAN.mps
VeraCrypt 4395 testuser  txt       REG               1,15      663760            31826715 /usr/local/lib/libfuse-t-1.2.7.dylib
VeraCrypt 4395 testuser  txt       REG               1,15     2562000 1152921500312573255 /usr/lib/dyld
VeraCrypt 4395 testuser    0r      CHR                3,2         0t0                 336 /dev/null
VeraCrypt 4395 testuser    1      PIPE 0xd9fcc13373c7190e       16384                     
VeraCrypt 4395 testuser    2      PIPE 0x2f58ac3f102b8339       16384                     
VeraCrypt 4395 testuser    3      PIPE 0xb5dabf7383c85182       65536                     ->0xb447c977837eff29
VeraCrypt 4395 testuser    5r      CHR                3,2         0t0                 336 /dev/null
VeraCrypt 4395 testuser    6      PIPE 0xbad53e6e21558f00       16384                     ->0xedc95665df97e437
VeraCrypt 4395 testuser    7      PIPE 0xdeae4762108dee5e       16384                     ->0x604f2082349afa98
VeraCrypt 4395 testuser    9      PIPE 0xd9fcc13373c7190e       16384                     
VeraCrypt 4395 testuser   11      PIPE 0x2f58ac3f102b8339       16384                     
VeraCrypt 4395 testuser   13      PIPE 0x3c6f7e8100daf237       16384                     
go-nfsv4- 4396 testuser  cwd       DIR               1,15         704                   2 /
go-nfsv4- 4396 testuser  txt       REG               1,15    20342560            31826606 /Library/Application Support/fuse-t/bin/go-nfsv4-1.2.7
go-nfsv4- 4396 testuser  txt       REG               1,15     2562000 1152921500312573255 /usr/lib/dyld
go-nfsv4- 4396 testuser    0r      CHR                3,2         0t0                 336 /dev/null
go-nfsv4- 4396 testuser    1w      CHR                3,2         0t0                 336 /dev/null
go-nfsv4- 4396 testuser    2w      REG               1,15        1386            31826963 /Users/testuser/Library/Logs/fuse-t/fuse-t.err
go-nfsv4- 4396 testuser    3      PIPE 0xb5dabf7383c85182       65536                     ->0xb447c977837eff29
go-nfsv4- 4396 testuser    4u      REG               1,15     1048576            46859254 /Users/testuser/test
go-nfsv4- 4396 testuser    5r      CHR                3,2         0t0                 336 /dev/null
go-nfsv4- 4396 testuser    6      PIPE 0xbad53e6e21558f00       16384                     ->0xedc95665df97e437
go-nfsv4- 4396 testuser    7u     IPv4 0xe5f83a1000787427         0t0                 TCP 127.0.0.1:52200 (LISTEN)
go-nfsv4- 4396 testuser    8      PIPE 0x604f2082349afa98       16384                     ->0xdeae4762108dee5e
go-nfsv4- 4396 testuser    9      PIPE 0xd9fcc13373c7190e       16384                     
go-nfsv4- 4396 testuser   10u   KQUEUE                                                    count=0, state=0xa
go-nfsv4- 4396 testuser   11      PIPE 0x2f58ac3f102b8339       16384                     
go-nfsv4- 4396 testuser   13      PIPE 0x3c6f7e8100daf237       16384                     
go-nfsv4- 4396 testuser   14      PIPE 0x15f05365fbfd71d9       16384                     ->0x142018ac0689ba7e
go-nfsv4- 4396 testuser   15      PIPE 0x142018ac0689ba7e       16384                     ->0x15f05365fbfd71d9
go-nfsv4- 4396 testuser   16w      REG               1,15       80775            17044085 /Users/testuser/Library/Logs/fuse-t/fuse-t.log
go-nfsv4- 4396 testuser   18u     unix 0x3674d48d0d1a58d7         0t0                     ->0x45683e4decc75b41
go-nfsv4- 4396 testuser   19u     IPv4 0x740f24c5ca13fa4e         0t0                 UDP *:5353
go-nfsv4- 4396 testuser   20u     IPv6 0xed2c6307bc773742         0t0                 UDP *:5353
go-nfsv4- 4396 testuser   21u     IPv4 0x215e66aa54d2bda5         0t0                 UDP *:5353
go-nfsv4- 4396 testuser   22u     IPv6 0x17de4758f6d4042c         0t0                 UDP *:5353
go-nfsv4- 4396 testuser   23u     unix 0x308627a2098f3d93         0t0                     ->0xe86fd091299566b3
VeraCrypt 4397 testuser  cwd       DIR               1,15         704                   2 /
VeraCrypt 4397 testuser  txt       REG               1,15    15883600            30708414 /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt
VeraCrypt 4397 testuser  txt       REG               1,15       81288 1152921500312585059 /usr/share/locale/en_US.UTF-8/LC_COLLATE
VeraCrypt 4397 testuser  txt       REG               1,15         720 1152921500312582354 /usr/share/i18n/csmapper/APPLE/ROMAN%UCS.mps
VeraCrypt 4397 testuser  txt       REG               1,15      128736 1152921500312582396 /usr/share/i18n/csmapper/APPLE/UCS%ROMAN.mps
VeraCrypt 4397 testuser  txt       REG               1,15      663760            31826715 /usr/local/lib/libfuse-t-1.2.7.dylib
VeraCrypt 4397 testuser  txt       REG               1,15     2562000 1152921500312573255 /usr/lib/dyld
VeraCrypt 4397 testuser    0u      CHR                3,2         0t0                 336 /dev/null
VeraCrypt 4397 testuser    1u      CHR                3,2         0t0                 336 /dev/null
VeraCrypt 4397 testuser    2u      CHR                3,2         0t0                 336 /dev/null
VeraCrypt 4397 testuser    3      PIPE 0xb5dabf7383c85182       65536                     ->0xb447c977837eff29
VeraCrypt 4397 testuser    4u      REG               1,15     1048576            46859254 /Users/testuser/test
VeraCrypt 4397 testuser    5r      CHR                3,2         0t0                 336 /dev/null
VeraCrypt 4397 testuser    6      PIPE 0xbad53e6e21558f00       16384                     ->0xedc95665df97e437
VeraCrypt 4397 testuser    8      PIPE 0x604f2082349afa98       16384                     ->0xdeae4762108dee5e
VeraCrypt 4397 testuser    9      PIPE 0xd9fcc13373c7190e       16384                     
VeraCrypt 4397 testuser   10u     unix 0x45683e4decc75b41         0t0                     ->0x3674d48d0d1a58d7
VeraCrypt 4397 testuser   11      PIPE 0x2f58ac3f102b8339       16384                     
VeraCrypt 4397 testuser   13      PIPE 0x3c6f7e8100daf237       16384                     
VeraCrypt 4397 testuser   14u     unix 0xe86fd091299566b3         0t0                     ->0x308627a2098f3d93

tusermacbookpro:~ testuser$ tail -300 "$HOME/Library/Logs/fuse-t/fuse-t.log"
time="2026-09-13T20:51:00+02:00" level=info msg=starting...
time="2026-09-13T20:51:00+02:00" level=info msg="comm socket: 7" pid=4396
time="2026-09-13T20:51:00+02:00" level=info msg="montor socket: 12" pid=4396
time="2026-09-13T20:51:00+02:00" level=info msg="fuse session negotiated profile=v2 client=libfuse2-compatible proto=7.19 max_write=33554432 flags=0x00000011 flags2=0x00000000" pid=4396
time="2026-09-13T20:51:00+02:00" level=info msg="Server version 1.2.7 (9979bd30eeb5de18bfec1503177cd214440788da) running at 127.0.0.1:52200" pid=4396
time="2026-09-13T20:51:00+02:00" level=info msg="Mounting: /private/var/folders/0w/jkgt94gx42gdypd5r75sd8vr0000gn/T/.veracrypt_aux_mnt1" pid=4396
time="2026-09-13T20:51:00+02:00" level=info msg="mount [-o noauto,nostreams,nobrowse,nonotification -t smbfs //Guest@fuse-t._smb._tcp.local/.veracrypt_aux_mnt1 /private/var/folders/0w/jkgt94gx42gdypd5r75sd8vr0000gn/T/.veracrypt_aux_mnt1]" pid=4396
time="2026-09-13T20:51:00+02:00" level=error msg="ioctl: code 1310840" pid=4396
time="2026-09-13T20:51:11+02:00" level=error msg="error: connection error: EOF" pid=4396
time="2026-09-13T20:51:11+02:00" level=error msg="err: context canceled" pid=4396
tusermacbookpro:~ testuser$ 

I mounted the container and immediatelly unmounted it. Afterwards I could see fuse-t in the Network section with the .dmg file, which I could mount without entering a password. The log only contains the mount and unmount

ths256 avatar Sep 13 '26 18:09 ths256

Note: this write-up was prepared with AI assistance as part of an independent third-party review of the macOS FUSE-T dismount path. The VM before/after results are mine to stand behind; the scope caveat and the retest ask are at the end.

Following up on @idrassi's explanation of the FUSE-T auxiliary mount (.veracrypt_aux_mntX and the go-nfsv4 server that keeps the volume exposed): VeraCrypt 1.26.30 (2026-10-24) reworks exactly that dismount/teardown path, and in a macOS VM there's a clean before/after on the underlying mechanism.

Same VM, same fuse-t 1.2.9, same container, same scripts — only the VeraCrypt build changes:

  • 1.26.29: after each dismount the FUSE-T go-nfsv4 server stays alive and keeps its port open; across repeated mount/dismount cycles the leftovers accumulate (ports 52200→52204, all still LISTENing). The service backing the auxiliary mount never exits — the substrate for the ghost access described here.
  • 1.26.30: every cycle tears the server down — no leftover process, port freed and reused each time. 1.26.30 adds an explicit service-teardown handshake (PrepareDismount → RequestDismount → WaitForDismount, RemoveAuxMountParent) and raises a new DismountServiceCleanupFailed if the service doesn't actually exit.

Scope — what I did not test: my VM is macOS 15.8.1 and I exercised the teardown over the CLI, so I've confirmed the leftover-server mechanism is fixed, not the full end-to-end symptom (the UTM-triggered ghost remount on macOS 26.5.1+). @Christian-SC26 / @ths256 — if either of you can retest your exact UTM scenario on 1.26.30, that would confirm the user-visible flaw is actually closed and not just the plumbing underneath it.

redLocomotive avatar Oct 25 '26 19:10 redLocomotive