Highly diverse communities of microbial symbionts occupy eukaryotic organisms, including plants. While many well-studied symbionts may be characterized as either parasites or as mutualists, the prevalent but cryptic endophytic fungi are less easily qualified because they do not cause observable symptoms of their presence within their host. Here, we investigate the interactions of an endophytic fungus, Fusarium verticillioides with a pathogen, Ustilago maydis, as they occur within maize (Zea mays). We used experimental inoculations to evaluate metabolic mechanisms by which these three organisms might interact. We assessed the impacts of fungal-fungal interactions on endophyte and pathogen growth within the plant, and on plant growth. We find that F. verticillioides modulates the growth of U. maydis and thus decreases the pathogen's aggressiveness toward the plant. With co-inoculation of the endophyte with the pathogen, plant growth is similar to that which would be gained without the pathogen present. However, the endophyte may also break down plant compounds that limit U. maydis growth, and obtains a growth benefit from the presence of the pathogen. Thus, an endophyte such as F. verticillioides may function as both a defensive mutualist and a parasite, and express nutritional modes that depend on ecological context.