Cook the pasta according to package instructions in a large pot of salted boiling water until al dente. Reserve 1/2 cup of pasta water, then drain the pasta and set aside.
In a large skillet, heat the olive oil over medium heat. Add the minced garlic and sauté for about 1 minute until fragrant, being careful not to burn it.
Add the sliced zucchini to the skillet and cook for 3-4 minutes until slightly tender. Stir in the cherry tomatoes, oregano, red pepper flakes, salt, and pepper. Cook for another 5-7 minutes until the tomatoes are soft and juicy.
Add the cooked pasta to the skillet with the vegetables. Toss everything together, adding reserved pasta water a little at a time until the desired sauce consistency is reached.
Remove from heat and stir in the fresh basil. Serve hot, topped with grated Parmesan cheese if desired.