Germany's economy likely posted modest growth in the second quarter, according to the Bundesbank, despite pressure from the war in the Middle East. The assessment points to a better-than-feared performance during a period shaped by geopolitical uncertainty.

The central bank's view suggests parts of the economy, especially industry, remained comparatively resilient through the quarter. That would mark a sign of stability for Germany after a difficult stretch in which growth has been fragile.

The war in the Middle East has created headwinds for businesses and the broader economy, adding to uncertainty around trade, energy costs and confidence. Even so, the Bundesbank's latest signal indicates those pressures may not have been enough to push output lower in the April-to-June period.

Overall, the update paints a cautious but slightly firmer picture for the German economy in Q2. While risks tied to geopolitics remain, the Bundesbank's view suggests economic activity held up better than some had expected.