The current study focuses on the effects of Cucumber mosaic virus (CMV) infection on phytochemical changes and pathogenesis- and phenylpropanoid pathway-associated gene activities in squash (Cucurbita pepo L.) plants during a time course of 2 to 12 days post inoculation (dpi). The identity of the CMV isolate was confirmed by DAS-ELISA, TEM, and coat protein gene sequence. The CMV infection initially boosts and then suppresses transcript levels of the defense-related genes PR-1, PR-2, PAL, HQT, and CHS during the investigated time course compared to controls. The expression profile during the time-course study indicated that early, transient induction of PR-1 occurs during CMV infection, while CMV induced the expression of PR-2 in systemically infected squash tissues at all time points and suppressed the expression of PAL and HQT at 8-12 dpi. CHS transcript levels fluctuated between up- and down-regulation, but by 12 dpi, CHS expression reached its peak. The HPLC and GC–MS analyses of CMV-infected squash extracts revealed that different phenolic, flavonoid, and fatty acid compounds could be induced or suppressed upon CMV infection. In particular, CMV could suppress the synthesis of most phenolic compounds, specifically chlorogenic acid, possibly leading to the virus’s rapid spread.