The supermarket chain says the 5-pound bags its All-Purpose Bleached Flour may contain the balls, which are part of equipment used to sift the flour.
The company says they're made of food-grade material that doesn't contaminate the product and are easily seen because of their bright color and size, about half the diameter of a dime.
The flour was sold between Dec. 24 and Feb. 15. Company officials didn't initially return messages Wednesday seeking information about whether the balls have caused any physical problems among consumers.
Packages may be returned to stores for full refunds.
Wegmans has 81 stores in New York, Pennsylvania, New Jersey, Virginia, Maryland and Massachusetts.