Inconsistent results between gdalWarp (with cutline) and rasterio.mask


Please see my stack exchange post:
and this post: which seems to have noticed this same issue.

On closer inspection, rasterio adds about an extra row of pixels (see attachment), which would seem to be incorrect.
Purple shows the vector I'm cropping to; the black is the result of the gdalWarp and the red is the extra from Rasterio.