WeWork is warning members that about 1,600 phone booths across some of its offices are tainted with formaldehyde, according to an email obtained by CNBC.

The office-sharing company said the affected phone booths were in some WeWork locations in the U.S. and Canada. It took several phone booths out of service last week and could take another 700 phone booths out of service as a precautionary measure, it said.

"After a member informed us of odor and eye irritation, WeWork performed an analysis, including having an outside consultant conduct a series of tests on a sampling of phone booths," WeWork said in the email to tenants. "Upon receiving results last week, we began to take all potentially impacted phone booths out of service."

The "potentially elevated levels of formaldehyde" were caused by an issue with the manufacturer, a WeWork spokesperson said in a statement. The phone booths will be removed "as soon as possible," the spokesperson added.

"The safety and well-being of our members is our top priority, and we are working to remedy this situation as quickly as possible," the spokesperson said.