The issue is with the mapping in to sRGB.
Your camera has a dynamic range larger than sRGB and looks like it has captured colours that are too bright and too saturated for the sRGB output format you’re creating. It either has to darken or desaturate.