BUDAPEST, Hungary — The European Union says Hungary has failed to address its “serious concerns” about a new law on civic groups, so it is stepping up legal action against the Hungarian government.

The European Commission, the EU’s executive body, said Wednesday that it could refer the case to the European Court of Justice if Hungary fails to comply with the EU’s “reasoned opinion” within one month. The EU launched the infringement procedure against Hungary in July, saying the new law could prevent civic groups from raising funds and function properly.

Hungary says its aim is to increase transparency among non-governmental groups receiving foreign funding, while repeatedly criticizing the Hungarian Helsinki Committee and other NGOs that receive funds from the Open Society Foundations established by Hungarian-American billionaire and philanthropist George Soros.