Bamba joins as a player but will also be working as a coach with the club’s academy.
The 36-year-old started training with Boro last month and has been trying to build up his fitness following a break from football after he was diagnosed with Non-Hodgkin lymphoma cancer earlier this year.
Boss Neil Warnock said: “Initially Sol had asked if he could come and train with us, and I was more than happy. He’s a great lad to have around.
"When we were away in Cornwall he was at Rockliffe and helped with the U23s and U18s, and everyone was really impressed with him.
“I have to be honest, I didn’t expect him to look as sharp as he has done after everything he's been through, but he’s done remarkably well.
"At the moment the priority for him is to concentrate on his fitness and being in the squad, but we want him to be involved with the U23s as well. I feel he's just the type of person we need to be involved with that age group.
“He has bags of experience and he will be a real asset for us both on and off the pitch. I'm delighted to have him on board."
We gathered the best of today’s transfer speculation below...

5. Nottingham Forest confirm signing of Arsenal star
Nottingham Forest confirmed the signing of Arsenal defender Jordi Osei-Tutu last night. The full-back's arrival could pave the way for Jordan Gabriel's departure, who has been linked with Sunderland and Blackpool in recent weeks. (Club website) Photo: Lewis Storey

6. Sunderland deal for Liverpool defender collapsed due to “row over sell-on fee”
Sunderland’s deal for Liverpool’s Tony Gallacher reportedly collapsed due to a “row over sell-on fee”. It was originally thought that the Black Cats had pulled out because of their interest elsewhere. (Alan Nixon - @reluctantnicko) Photo: Charlotte Tattersall

7. Liverpool ready to offload Sheffield United target
Jurgen Klopp is reportedly ‘willing to part company’ with Ben Davies this summer. Sheffield United have been linked with the former Preston North End defender. (The Star) Photo: Lewis Storey

8. Premier League starlet set to seal move to Sunderland today
Tottenham Hotspur left-back Dennis Cirkin arrived on Wearside yesterday to complete his permanent switch to Sunderland and the move is reportedly set to be finalised today. The defender will sign a six-year deal with the club. (Alan Nixon - @reluctantnicko) Photo: Paul Harding

