Natalie Wood's daughter with Robert Wagner was arrested this week for coke and heroin possession -- after a nasty fight with someone in her house ... a fight that led to a gunshot.
Law enforcement sources tell TMZ, cops were called to the Malibu home of 38-year-old Courtney Wagner last Sunday -- when someone heard a woman screaming ... followed by a gunshot.
When officers arrived, we're told Courtney was found in possession of cocaine and heroin. She was arrested on suspicion of felony drug possession.
The other person involved in the argument -- a male -- was placed under arrest for negligent discharge of a firearm. We're told nobody was injured.
Courtney has since posted $10,000 bail. It's unclear if the other person is still in custody.
Calls to Courtney were not returned.