If there was a security flaw in a Coppermine installation bridged with a MyBB forum, would it potentially allow the forum to be hacked?
You should use seperated databases to minimize the risks.
If they do not use the same tables it is very unlikely if they do not get the username and password of the database.