It is quite comfortable to Allow camera permission to some apps such as banking apps. You can easily scan QR codes that way.
However once this permission is granted, the app can now secretly access the front cam as well, without the user really noticing.
Please allow for more fine grained camera access per app: Allow rear + Allow front as separate options.