You might want to think twice the next time you're about to plug a USB into your computer.
While USBs have never exactly been known for their security, a newly discovered exploit reveals just how dangerous the devices can be.
Two months ago Karsten Nohl, a security researcher at SR Labs, demonstrated at the Black Hat conference how any USB could be infected with undetectable malicious malware that could be used to take over certain controls on your computer, according to a report from Wired. He dubbed the attack BadUSB.
"It can do whatever you can do with a keyboard, which is basically everything a computer does," Nohl told Wired.
What's more, because the exploit takes advantage of the design of USBs, there is no patch for the problem.
Until recently the code that enables the attack was kept secret as to prevent bad actors from using the malicious malware. But last week two security researchers came forward and published the code for the attack on Github. Their reasoning for releasing the code was to put pressure on USB makers to change the design of the device to include security and to help others defend against it.
Read the full report on Wired.
—By CNBC's Cadie Thompson. Follow her on Twitter @CadieThompson.