Command path checks now reject /proc and /dev descriptor tricks and handle git redirection flags.
What's wrong with this entry?
The path checks that decide whether a command touches something you have not permitted now normalise away /./ and doubled slashes before matching, and reject paths under /proc/self, /proc/thread-self, numbered /proc/<pid> directories and /dev/fd, /dev/stdin, /dev/stdout, /dev/stderr. Git flags that redirect where a repo lives get special treatment. Active in this build with no flag to set.
- Flags handled specially include
--git-dir,--work-tree,--namespace,--attr-sourceand--shallow-file, plus environment variables such asGIT_INDEX_FILE. - These were all ways to name a file the permission check would not recognise as the file actually being read or written.
/(^|[\\/])proc[\\/](self|thread-self|\d+)([\\/]|$)/i
Strings lifted out of the shipped bundle, so the claim above can be checked against them.