Dunfermline had on-loan keeper Paul Gallacher to thank after continuing their excellent recent form.
An early cross from Scott Morrison landed on the head of Jim Hamilton, who flicked the ball into the path of the onrushing Mark Burchill to finish.
Gallacher made a great double save to deny Derek Lilley and David McKenna.
Stephen Simmons added a close range header before the visitors pulled a goal back on the hour mark when Chris Aitken slammed in a shot from 25 yards.
Dunfermline Ath: Gallacher, Woods, Murphy, Simmons, Harris, Scott Thomson, McGlinchey, Glass (Crawford 46), Burchill (McManus 60), Hamilton (McIntyre 74), Scott Morrison. Subs Not Used: Williamson, Paterson.
Goals: Burchill 1, Simmons 45.
Stirling Albion: Hogarth, Nugent, Forsyth, Reid (Tomana 82), Graham, Aitken, Hay (Harris 74), Bell, McKenna, Lilley, Ellis (Taggart 66). Subs Not Used: Walker, Christie.
Booked: Nugent, Lilley.
Goal: Aitken 58.
Ref: A Boyd