According to Official Guinness Records,
The most international football (soccer) goals scored by a goalkeeper is 8, achieved by José Luis Chilavert (Paraguay), from 27 August 1989 to 7 October 2001.All 8 goals were scored in competitive games, 7 in World Cup Qualifiers and 1 in the 1997 Copa América (vs Argentina). He is also the only GK to have attempted a freekick at a World Cup (his first attempt was vs Bulgaria in 1998) though was unable to score.He scored against Argentina (x3), Colombia (x2), Peru (x2) and Bolivia.
For a complete list of 2001 records, please visit 2001 Guinness Records in Paraguay.