Barely out the slammer, Lindsay Lohan is fearful that she could end up back in jail after failing a random drug test.

The star is due to appear  in court today (Friday) in Beverly Hills where a judge will decide whether or not to send back the troubled star to Century Regional Detention Facility. According to the Daily News Lohan flunked a random drug test two weeks ago when she tested positive for cocaine.

After learning that Lohan had failed the random drug test, Beverly Hills Superior Court Judge Elden Fox revoked the actresses probation on Monday and issued a no bail bench warrant requesting her to show up to the court hearing in person or face arrest

"She's scared she might have to go back to jail, this is a wake-up call for her in a way. In the past, she dismissed everything, never took it seriously and now she's like 'Oh [expletive], something bad could happen.' " a source told

During the summer Lohan spent 14 days in jail and 23 in rehab after missing court mandated alcohol counseling classes.