Cook the pasta according to package instructions.
Drain and rinse the pasta under cold water.
In a large mixing bowl, combine the black beans, corn, bell pepper, red onion, and cilantro.
In a separate bowl, whisk together the olive oil, apple cider vinegar, chili powder, salt, and pepper.
Add the cooked pasta to the mixing bowl with the vegetable mixture.
Pour the dressing over the pasta salad and mix well.
Gently fold in the diced avocado just before serving.
Refrigerate the salad for at least 30 minutes before serving.