Afghanistan bowler Shapoor Zadran escaped unhurt from an "armed attack" in capital Kabul late Saturday.
Farid Hotak, a spokesman for Afghanistan Cricket Board, confirmed the attack with 1TV.
The cricketer faced the attack by gunmen while he was travelling to his home in Bagrami district of Kabul, he told the Voice of America.
The motive behind the attack remained unclear.
Images posted on social media showed his vehicle with broken glass following the shooting.
The left-arm seamer Zadran started playing as part of the Afghan national cricket team since its formation in 2001.
However, he has been absent in the games recently blaming some officials at the ACB leadership.
Following the controversy, Atif Mashal replaced Nasimullah Danish as chairman of the board. Player Nowroz Mangal was also appointed as new chief selector.
This is the first time that an Afghan national cricketer is targeted in an attack.
Two years ago, former Afghan football coach was injured after being stabbed near his home in Kabul.