By default lineageos don't pass safetynet, why?- its explained here
https://lineageos.org/Safetynet
You can pass safetynet by an unofficial way, using ih8sn
This might help to pass SafetyNet without Magisk/Root
1- Extract attached ih8sn_lineage.zip somewhere.
2- Connect phone with USB debugging mode and rooted debugging enabled in developer options.
3- Then run push script (.sh/.ps1/.bat) or manually enter whats in it.
4- Reboot
Note:
- Adding 60-ih8sn.sh file will keep the spoofing stay in ota updates, use only if needed
Source:
https://github.com/althafvly/ih8sn/commits/alioth