If a peace officer pulls you over for an alleged traffic violation, they may ask to search your vehicle. You have the right to say no.
Law enforcement officers have the right to search a person or their property only if they have reasonable suspicion that you committed a crime, and if they only suspect you to have committed a traffic offense, they cannot search you for other crimes. This is a part of your Fourth Amendment rights.
But while the Fourth Amendment is a right extended [..]