Tho9se low expansion foams do not seal water leaks for beans and they're no fun to remove either. Don't waste your time trying with that stuff.
What you might be able to do though is use a syringe and a tube and squirt some unthickened epoxy in there.
“Scientists are people who build the Brooklyn Bridge and then buy it.”
Wm. F. Buckley, Jr.