Despite its relevance in numerous natural and industrial processes, the solubility of molecular oxygen has never been directly measured in capillary-condensed liquid water. In this article, we measure oxygen solubility in liquid water trapped within nanoporous samples, in metastable equilibrium with a subsaturated vapor. We show that solubility increases two fold at moderate subsaturations (relative humidity ∼0.55). This evolution with relative humidity is in good agreement with a simple thermodynamic prediction using properties of bulk water, previously verified experimentally at positive pressure. Our measurement thus verifies the validity of this macroscopic thermodynamic theory to strong confinement and large negative pressures, where significant nonidealities are expected. This effect has strong implications for important oxygen-dependent chemistries in natural and technological contexts.