I think there are two issues here that may or may not be related:
Issue #1: Humidity in Module 7
Possible cause: Cell leaking electrolyte slowly over time. Was the leak caused by a manufacturing defect of the cell or something else (e.g. heater, wiring, etc.)?
Notes: This may have not caused the bike to go into B40. In fact, if the B40 was not triggered, the bike might have eventually caught on fire like this post:
https://brammoforum.com/index.php?topic=4243.0 (it'd be good to look at justinmkantor). Note that the humidity has been building up slowly over time.
Issue #2: Module 5 PCBA Temperature (C) and Battery Min. Temperature (C) which are both wacky.
Possible cause: Random failure of the components? Seems unlikely but this could be checked by Korbin.
Notes: This issue is likely what caused the actual B40 fault and but completely unrelated to the humidity increases. As others have noted, the humidity may have accelerated the M5 sensor failures, though not if the modules are isolated. The temperature sensor failures appeared suddenly, unlike the humidity increases.
Korbin, could you please check the Module 5 PCBA Temp sensor with a multi-meter? I don't know where it's at - trying to find it with your images.