Using command substitutions directly in find's -exec option can lead to premature expansion, executing the substitution only once before find runs. To avoid this issue, use an inline shell script with sh -c in the -exec option to ensure proper per-file command expansion.